Trigger Keywords Index

2026-08-30 浏览 (1)

Trigger Keywords Index

Complete mapping of keywords to skills.


Error Codes → Skills

Error CodeDescriptionRoute To
E0382Use of moved valuem01-ownership
E0597Lifetime too shortm01-ownership
E0506Cannot assign to borrowedm01-ownership
E0507Cannot move out of borrowedm01-ownership
E0515Return local referencem01-ownership
E0716Temporary value droppedm01-ownership
E0106Missing lifetime specifierm01-ownership
E0596Cannot borrow as mutablem03-mutability
E0499Multiple mutable borrowsm03-mutability
E0502Borrow conflictm03-mutability
E0277Trait bound not satisfiedm04-zero-cost / m07-concurrency
E0308Type mismatchm04-zero-cost
E0599No method foundm04-zero-cost
E0038Trait not object-safem04-zero-cost
E0433Cannot find crate/modulem11-ecosystem

Keywords → Skills

Layer 1: Language Mechanics

KeywordsRoute To
ownership, borrow, lifetime, move, moved valuem01-ownership
Box, Rc, Arc, RefCell, Cell, smart pointerm02-resource
mut, mutable, interior mutabilitym03-mutability
generic, trait, inline, monomorphizationm04-zero-cost
type state, phantom, newtype, PhantomDatam05-type-driven
Result, Option, Error, panic, ?, anyhow, thiserrorm06-error-handling
Send, Sync, thread, async, await, channel, tokiom07-concurrency
unsafe, FFI, extern, raw pointer, transmuteunsafe-checker

Layer 2: Design Choices

KeywordsRoute To
domain model, DDD, business logicm09-domain
performance, optimization, benchmark, profilingm10-performance
crate, dependency, interop, ecosystemm11-ecosystem
RAII, Drop, resource lifecyclem12-lifecycle
domain error, retry, circuit breaker, recoverym13-domain-error
mental model, how to think, learning Rustm14-mental-model
anti-pattern, common mistake, pitfall, code smellm15-anti-pattern

Layer 3: Domain Constraints

KeywordsRoute To
fintech, trading, decimal, currency, paymentdomain-fintech
web, HTTP, REST, axum, actix, handlerdomain-web
CLI, command line, clap, terminaldomain-cli
kubernetes, docker, grpc, microservicedomain-cloud-native
embedded, no_std, microcontroller, firmwaredomain-embedded
ML, tensor, model, inference, ndarraydomain-ml
IoT, sensor, mqtt, edgedomain-iot

Chinese Keywords → Skills

中文关键词Route To
所有权, 借用, 生命周期m01-ownership
智能指针m02-resource
可变性, 内部可变性m03-mutability
泛型, 特征, 零成本抽象m04-zero-cost
类型状态, 新类型m05-type-driven
错误处理, 结果类型m06-error-handling
并发, 异步, 线程安全m07-concurrency
不安全, FFIunsafe-checker
领域模型m09-domain
性能优化, 基准测试m10-performance
生态系统, 依赖m11-ecosystem
资源生命周期, RAIIm12-lifecycle
领域错误m13-domain-error
心智模型, 如何思考m14-mental-model
反模式, 常见错误m15-anti-pattern

Query Patterns → Actions

PatternAction
"比较 X 和 Y" / "compare" / "vs"Enable Negotiation Protocol
"最佳实践" / "best practice"Enable Negotiation Protocol
Domain + Error (e.g., "交易系统 E0382")Enable Negotiation Protocol
Single error code (e.g., "E0382")Direct lookup, no negotiation
Single version query (e.g., "tokio 版本")Direct lookup, no negotiation

Priority Rules

When multiple skills match, use this priority:

  1. Error codes take highest priority (direct mapping)
  2. Domain keywords + error → load BOTH domain skill and error skill
  3. Comparison queries → enable negotiation, load multiple skills
  4. General keywords → route to most specific skill

Conflict Resolution

ConflictResolution
unsafe in m11 vs unsafe-checkerunsafe-checker (more specific)
error in m06 vs m13m06 for general, m13 for domain-specific
RAII in m01 vs m12m12 for design, m01 for implementation

Related Documents

DocumentPurpose
skills-index.mdComplete skill catalog with descriptions
meta-questions.mdMeta-question category definitions
domain-extensions.mdDomain-specific code ranges

Framework

FilePurpose
../_meta/reasoning-framework.mdHow to trace through cognitive layers
../_meta/negotiation-protocol.mdWhen negotiation triggers

Router

FilePurpose
../skills/rust-router/SKILL.mdImplements these routing rules

你可能感兴趣的文章

Agents Index

Domain Extension Index

Meta-Question Categories Index

Commands Index

Technical Subcategory Index (YYY)

Skills Index

Rust Compiler Error Code Index

  • 所属分类: AI
  • 本文标签: rust
  • 版权声明: 本文链接 https://seaxiang.com/blog/LB5DwrMv