code-workflows
Router for rare code workflows: delete-stack, stackify-branch, stacker-agent, parity-review, gh-ci-debug.
- License 许可
- MIT
- 所属仓库
- nseng-ai/ns
- 最近更新
- 2026-10-02
- Stars
- ★ 2
- Forks
- 0
01 前言 Front Matter
- name
- code-workflows
- metadata
- { "internal": true }
- description
- Router for rare code workflows: delete-stack, stackify-branch, stacker-agent, parity-review, gh-ci-debug.
- allowed-tools
- [ "Bash(gt *)", "Bash(git *)", "Bash(gh *)", "Bash(slot *)", "Bash(uv run *)", "Bash(just *)", "Bash(make *)", "Read", "Edit", "Write", "Grep", "Glob" ]
- disable-model-invocation
- true
02 资源文件 12
- 参考文档agents/openai.yaml43 B
- 参考文档references/delete-stack.md4.9 KB
- 参考文档references/gh-ci-debug.md7.9 KB
- 参考文档references/gt-stackify-branch.md4.9 KB
- 参考文档references/parity-review.md7.5 KB
- 参考文档references/stacker-agent.md9.7 KB
- 参考文档references/stacker-agent/brief-template.md2.7 KB
- 参考文档references/stacker-agent/examples.md3.6 KB
- 参考文档references/stacker-agent/harnesses/claude.md4.1 KB
- 参考文档references/stacker-agent/harnesses/codex.md1.0 KB
- 参考文档references/stacker-agent/harnesses/generic.md1.9 KB
- 参考文档references/stacker-agent/runtime-contract.md4.3 KB
03 SKILL.md 正文
code-workflows
Lazy-loading router for rare code workflows. This skill keeps the installed surface small; the full playbooks live in references/ and are loaded only after a route is selected.
Routing
- If the user gives a route or alias, read the mapped reference and follow it as the active playbook.
- If no route is supplied, show the menu below and ask which workflow to load. Do not include explicit-only routes such as
gh-ci-debugin the menu; those remain callable by name and may have dedicated Pi commands. - Treat old standalone skill names as aliases when the user mentions them explicitly; those workflows are no longer installed as separate skills.
- Resolve relative paths in loaded references from this router skill directory.
Routes
| Route | Aliases | Reference |
|---|---|---|
delete-stack |
gt-delete-stack |
references/delete-stack.md |
stackify-branch |
gt-stackify-branch |
references/gt-stackify-branch.md |
stacker-agent |
stacker |
references/stacker-agent.md |
parity-review |
cross-harness-parity |
references/parity-review.md |
gh-ci-debug |
ci-debug |
references/gh-ci-debug.md |
Menu prompt
When no route is specified, ask:
Which code workflow should I load?
1. delete-stack — delete a Graphite subtree with slot/PR/remote cleanup
2. stackify-branch — split one branch into a clean Graphite stack
3. stacker-agent — serial multi-slice implementation coordinator
4. parity-review — review Pi command/tool changes for cross-harness parity
04 同仓库更多 Skills
pr-make-accountable
Interview a PR author to establish shared understanding of intent and design decisions, then co-author the What / Why / Changes PR body with opt-in Requested reviewer focus.
typescript-style
Opinionated style guide for strict, portable TypeScript. Use when writing, designing, or reviewing TypeScript: type design, boundary validation, error handling, module architecture, and review discipline.
typescript-fake-driven-testing
TypeScript fake-driven testing architecture. Use when writing or reviewing TS code with external dependencies, gateway interfaces, real adapters, in-memory fakes, or CLI scenario tests.
ns-typescript
TypeScript overlay for ns-style projects. Use when editing or reviewing TS in this repo: tsconfig baseline, pnpm/Vitest/oxlint/oxfmt/native tsc commands, relative .ts imports, workspace subpath exports, and the exactOptionalPropertyTypes spread idiom. Repo-specific enforcement (test lanes, time seams, style guard) lives in the host repo's AGENTS.md.
ns-typescript-style-tripwire
Invoke the ns TypeScript style Tripwire against a supplied diff or current branch.
skill-management
Manage skills with `npx skills`: add, edit, remove, rename, update, or list skills (local or GitHub), and the nested `skills/<disposition>/.../<name>/` / flat `.agents/skills/` layout conventions.