Agent skill
core-dynamic-skills
Stars
163
Forks
31
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/development/core-dynamic-skills-majiayu000-claude-skill-regist
SKILL.md
Dynamic Skills Manager
Orchestrates on-demand generation of crate-specific skills based on project dependencies.
Concept
Dynamic skills are:
- Generated locally at
~/.claude/skills/ - Based on Cargo.toml dependencies
- Created using llms.txt from docs.rs
- Versioned and updatable
- Not committed to the rust-skills repository
Trigger Scenarios
Prompt-on-Open
When entering a directory with Cargo.toml:
- Detect Cargo.toml (single or workspace)
- Parse dependencies list
- Check which crates are missing skills
- If missing: "Found X dependencies without skills. Sync now?"
- If confirmed: run
/sync-crate-skills
Manual Commands
/sync-crate-skills- Sync all dependencies/clean-crate-skills [crate]- Remove skills/update-crate-skill <crate>- Update specific skill
Architecture
Cargo.toml
↓
Parse dependencies
↓
For each crate:
├─ Check ~/.claude/skills/{crate}/
├─ If missing: Check actionbook for llms.txt
│ ├─ Found: /create-skills-via-llms
│ └─ Not found: /create-llms-for-skills first
└─ Load skill
Local Skills Directory
~/.claude/skills/
├── tokio/
│ ├── SKILL.md
│ └── references/
├── serde/
│ ├── SKILL.md
│ └── references/
└── axum/
├── SKILL.md
└── references/
Workflow Priority
- actionbook MCP - Check for pre-generated llms.txt
- /create-llms-for-skills - Generate llms.txt from docs.rs
- /create-skills-via-llms - Create skills from llms.txt
Workspace Support
For Cargo workspace projects:
- Parse root Cargo.toml for
[workspace] members - Collect all member Cargo.toml paths
- Aggregate all dependencies
- Deduplicate before skill generation
Related Commands
/sync-crate-skills- Main sync command/clean-crate-skills- Cleanup command/update-crate-skill- Update command/create-llms-for-skills- Generate llms.txt/create-skills-via-llms- Create skills from llms.txt
Didn't find tool you were looking for?