Synaptic SkillsSynapticSkills
MarketplaceSkill GraphCriar SkillMCP ServerPlataformaEnterprise
v0.1.0-beta
Voltar ao Marketplace
DevelopmentMédio

Zero-Cost Abstraction

poractionbook·actionbook· v1.0.0 · atualizado em 2026-04-11
82
Score

CRITICAL: Use for generics, traits, and zero-cost abstraction. Triggers on errors related to trait bounds, `impl`, `dyn`, `where` clauses, monomorphization, static dispatch, dynamic dispatch, and `impl Trait`. Useful for debugging issues with generic code and trait implementations.

rustgenericstraitszero-cost-abstractionstatic-dispatchdynamic-dispatch
Linguagens
Rust
0Stars
0Forks
0Usos
Fork

Documento do Skill

SKILL.mdm04-zero-cost/workflow
1
Identify Abstraction Need: — Determine if abstraction is needed (same behavior, different types; different behavior, same type; or no abstraction).
2
Type Visibility: — Determine when the type is known (compile time or runtime).
3
Prioritize Trade-offs: — Decide on the priority between performance, compile time, and flexibility.
4
Choose Abstraction: — Select generics (static dispatch), trait objects (dynamic dispatch), or enums.
5
Implement: — Apply the chosen abstraction in the code.
6
Test and Profile: — Verify correctness and measure performance impact.
7
Refactor: — Adjust the abstraction based on testing and profiling results.

Telemetria de Agentes

Execuções
0
total
Taxa de Sucesso
0%
últimos 30d
Latência Média
0.0s
p50
Alucinação
0.0%
detecção
Tokens Entrada
0
avg 0/exec
Tokens Saída
0
avg 0/exec

Uso por Plataforma

Skills Relacionados

Compõe comPerformance Optimization
70%
Hebbian Synapse
Composite0.700
w = 0.3·α + 0.5·β + 0.2·γ
83
Compõe comConcurrency
70%
Hebbian Synapse
Composite0.700
w = 0.3·α + 0.5·β + 0.2·γ
83
Compõe com ←Type-Driven Design
70%
Hebbian Synapse
Composite0.700
w = 0.3·α + 0.5·β + 0.2·γ
83
Similar aKnitwork Processing
60%
Hebbian Synapse
Composite0.600
w = 0.3·α + 0.5·β + 0.2·γ
78
Similar aPocketBase Best Practices
60%
Hebbian Synapse
Composite0.600
w = 0.3·α + 0.5·β + 0.2·γ
80

Árvore do Skill

Zero-Cost Abstraction
m04-zero-cost
Fases Cognitivas6
1.SENSE
2.CONTEXTUALIZE
3.HYPOTHESIZE
4.RECOMMEND
5.ACT
6.REFLECT
Triggers7
understand generics in rustexplain trait objectswhen to use impl traitresolve E0277 error in rustoptimize rust code with zero-cost abstractionschoose between generics and trait objectsdeal with trait bound not satisfied error

Avaliar este Skill

Score Breakdown

⭐Avaliação Humana0%
🤖Sucesso de Agentes0%
🕐Atualidade100%
🔗Saúde de Dependências100%
🕸️Centralidade no Grafo0%
🛡️Segurança50%
CompositeScore = α·Humano + β·Agente + γ·Recência + δ·Deps + ε·Centralidade + ζ·Segurança

Instalação

$ synaptic mcp download m04-zero-cost
$ synaptic skills detail m04-zero-cost
$ synaptic skills live m04-zero-cost

Links

GitHub Repository