/ 目录 / 演练场 / rootnode-skills
● 社区 drayline ⚡ 即开即用

rootnode-skills

作者 drayline · drayline/rootnode-skills

19 skills for diagnosing, building, and optimizing Claude Projects — prompt compilation, anti-pattern detection, context budget analysis.

drayline/rootnode-skills is a suite for engineering quality Claude Projects. Build skills (prompt-compilation, skill-builder), Diagnose skills (project-audit, global-audit, anti-pattern-detection, prompt-validation), Optimize skills (behavioral-tuning, memory-optimization, context-budget), plus 4 block libraries (identity, reasoning, output formats) and 5 domain packs (strategy, SWE, content, research, agents).

为什么要用

核心特性

实时演示

实际使用效果

rootnode-skill.replay ▶ 就绪
0/0

安装

作者仓库 · Claude Skills 官方文档

使用场景

实战用法: rootnode-skills

Diagnose why a Claude Project stopped following instructions

👤 Claude.ai power users whose Project drifted ⏱ ~45 min intermediate

何时使用: Your Project worked, you added stuff, now it ignores key rules.

步骤
  1. Run the project audit
    Use rootnode-project-audit on my Project system prompt + instructions.✓ 已复制
    → Six-dimension scorecard with specific failures called out
  2. Check for anti-patterns
    Now rootnode-anti-pattern-detection — which of the 7 patterns do I have?✓ 已复制
    → Named patterns (e.g. 'conflicting directives', 'buried critical instruction')
  3. Rebalance memory
    Apply rootnode-memory-optimization — where should each rule actually live?✓ 已复制
    → Recommendation on what belongs in system prompt vs project docs vs user memory

结果: A diagnosed Project with a concrete fix list.

注意事项
  • Audit report is long; you only fix the easy ones — Start with anti-patterns flagged — those block the rest

Compile a new Claude Project system prompt from scratch

👤 Anyone building a Claude Project for the first time ⏱ ~60 min intermediate

何时使用: You have goals, constraints, and examples — but not yet a prompt.

步骤
  1. Run prompt-compilation
    rootnode-prompt-compilation — here's my intent, constraints, and 3 examples. Parse / Select / Construct / Validate.✓ 已复制
    → Structured system prompt following the four stages
  2. Validate
    Now rootnode-prompt-validation — score it across the six dimensions.✓ 已复制
    → Scorecard with specific weaknesses
  3. Apply behavioral tuning
    rootnode-behavioral-tuning — which of my instructions will Claude drift from?✓ 已复制
    → Countermeasures inserted at the right places

结果: A well-engineered Project prompt on day one.

组合

与其他 MCP 搭配,撬动十倍杠杆

rootnode-skill + skillcheck-free-skill

Audit your Project prompt, then validate any skills it references against spec

Run rootnode-project-audit, then SkillCheck on each referenced SKILL.md.✓ 已复制
rootnode-skill + planning-with-files

Audit produces a long fix list — track progress on it across sessions

Use planning-with-files to track the rootnode audit fix list across this week.✓ 已复制

工具

此 MCP 暴露的能力

工具输入参数何时调用成本
rootnode-prompt-compilation intent + constraints + examples Starting a new Project or major rewrite 0
rootnode-project-audit existing Project prompt Project behavior degraded 0
rootnode-anti-pattern-detection prompt/instructions When Claude ignores rules 0
rootnode-memory-optimization all prompt + project files Information is in the wrong place 0
rootnode-context-budget project files list Hitting context limits 0
rootnode-behavioral-tuning instructions You need reliable adherence 0

成本与限制

运行它的成本

API 配额
None
每次调用 Token 数
Audits read whole prompts — can be large
费用
Free — skills are local files
提示
Run audit once per major revision, not per-message.

安全

权限、密钥、影响范围

凭据存储: No credentials — pure prompts
数据出站: None

故障排查

常见错误与修复

Wrong trigger keywords — wrong sub-skill activates

Sub-skill names are specific ('project-audit' vs 'global-audit' vs 'full-stack-audit'); use the right one.

替代方案

rootnode-skills 对比其他方案

替代方案何时用它替代权衡
skills-skill-8 (huangwb8)You want skill-authoring tooling rather than Project-level engineeringDifferent layer — skill vs Project
Raw prompt iterationSmall Projects that don't need formal engineeringLower overhead, higher drift risk

更多

资源

📖 阅读 GitHub 上的官方 README

🐙 查看未解决的 issue

🔍 浏览全部 400+ MCP 服务器和 Skills