一键导入
nazgul-context
Collect targeted codebase context for a specific objective type. Use before planning to deeply understand the code that will be affected.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Collect targeted codebase context for a specific objective type. Use before planning to deeply understand the code that will be affected.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Connect Nazgul task tracking to an external project board (GitHub Projects, Azure DevOps, etc). Use when user says "connect to github projects", "set up board", "track on github", or "nazgul board".
Start or resume a Nazgul autonomous development loop. Use when user says "start nazgul", "run nazgul", "begin development", "resume the loop", or passes an objective for new work. Auto-detects project state — no arguments needed.
Check the current state of a Nazgul autonomous loop. Use when asked about loop progress, task status, iteration count, review board status, or how the Nazgul loop is going.
Run one Nazgul automation-heartbeat tick — triages the work inbox and auto-starts the next objective if idle. Opt-in and default-off; fired by an optional Claude Code native scheduled agent (routine) or run by hand. Use when asked to "run a heartbeat tick", "check the inbox", or to test/debug the heartbeat.
View Nazgul run history — iteration timeline, task completions, review verdicts, git commits. Use after an overnight run to see what happened.
Brainstorm a new idea/objective into a Nazgul spec and tasks, then optionally run it. Interactive design front-end — produces a per-idea spec and a ready-to-execute task plan.
| name | nazgul:context |
| description | Collect targeted codebase context for a specific objective type. Use before planning to deeply understand the code that will be affected. |
| context | fork |
| allowed-tools | Read, Write, Bash, Glob, Grep, LS |
| metadata | {"author":"Jose Mejia","version":"2.7.1"} |
/nazgul:context — Collect context based on the current objective type/nazgul:context refactor — Collect context specifically for a refactor scopehead -20 nazgul/context/project-profile.md 2>/dev/null || echo "No profile — run /nazgul:init first"head -20 nazgul/context/architecture-map.md 2>/dev/null || echo "No architecture map"$ARGUMENTS
Format all output per references/ui-brand.md — use stage banners, status symbols, and display patterns defined there.
Collect targeted context based on the objective type. Write results to nazgul/context/.
Parse $ARGUMENTS (the ## Arguments block above) for an objective type — one of: refactor, bugfix, feature, greenfield, migration. If absent, derive it from nazgul/config.json classification (jq -r '.project.classification // empty' nazgul/config.json). Then collect the context section(s) matching that type, using the mapping below:
refactor → For Refactorsbugfix → For Bug Fixesfeature → For New Featuresgreenfield → For Greenfieldmigration → treat as a refactor-style scope (For Refactors), focused on the data/system being migratednazgul/context/refactor-scope.mdnazgul/context/bugfix-scope.mdnazgul/context/feature-scope.mdnazgul/context/greenfield-scope.md