Agent Skills
› tzachbon/smart-ralph
› ralph-specum-index
ralph-specum-index
GitHub用于为现有代码库生成可搜索的索引规范。解析用户指定的范围,扫描控制器、服务等结构,并在specs/.index/目录下生成或更新索引文件,支持干跑模式并输出确定性结果。
Trigger Scenarios
用户明确要求使用 $ralph-specum-index
用户要求 Ralph Specum in Codex 生成或刷新索引制品
Install
npx skills add tzachbon/smart-ralph --skill ralph-specum-index -g -y
SKILL.md
Frontmatter
{
"name": "ralph-specum-index",
"metadata": {
"action": "index",
"surface": "helper"
},
"description": "This skill should be used only when the user explicitly asks to use `$ralph-specum-index`, or explicitly asks Ralph Specum in Codex to generate or refresh index artifacts."
}
Ralph Specum Index
Use this to generate searchable index specs for an existing codebase.
Contract
- Index output lives under
specs/.index/ - Use stable Ralph templates for
index.md, component specs, and external specs - Keep component and external entries deterministic and easy to diff
Action
- Parse the user scope such as path, types, excludes, quick mode, dry run, or force.
- Scan the requested code areas for controllers, services, models, helpers, migrations, or comparable project structures.
- Generate or update:
specs/.index/index.mdspecs/.index/components/*.mdspecs/.index/external/*.md
- Keep outputs deterministic so start, research, and triage can reuse them.
- Include external URLs, MCP endpoints, or installed skills only when the user asked for them or they are clearly relevant.
- In dry run mode, report what would be created without writing files.
Response Handoff
- After updating the index, name the files that changed and summarize the index scope briefly.
- End with exactly one explicit choice prompt:
approve current artifactrequest changescontinue to research
- Treat
continue to researchas approval of the updated index artifacts.
Version History
- 1b33202 Current 2026-07-05 09:17


