aiops-implement
Skill4 starsChanged 3 months agoApache-2.0View on GitHub
Delivery overlay — orchestrates lean ladder, tdd, prune, review with sub-phase gates; commits only on user approval.
In this repository26 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- .github/copilot-instructions.mdCopilot instructions
- .cursor/rules/lean.mdcCursor rule
- aiops-setupSkill
- aiopsSkill
- architect-designSkill
- code-graphSkill
- diagnosing-bugsSkill
- domain-modelingSkill
- exploreSkill
- file-refactorSkill
- gitopsSkill
- grillingSkill
- grill-with-docsSkill
- handoffSkill
- improve-codebase-architectureSkill
- leanSkill
- prototypeSkill
- pruneSkill
- reviewSkill
- tddSkill
- to-issuesSkill
- to-prdSkill
- triageSkill
- ui-mockupSkill
The file
We split this skill into the rules it gives an agent
9 rules. About 0 are common, 2 are distinctive, and 7 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈2
Distinctive · estimate
This author's own choices. Worth a look.
7
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 17
If /prototype ran: VERDICT.md before absorbing prototype learnings
- Very specific: line 21
If graphify-out/graph.json exists, tell the user "查询代码图谱评估修改影响面" then query /code-graph query impact <target-file> before writing code to …
- Distinctive: line 25
Run sub-phases in order. Do not skip unless user explicitly exempts a step (e.g.
- Very specific: line 39
If any file you touch approaches 500 lines, invoke /file-refactor before advancing to prune — split per that skill (types → utils → hooks → …
- Very specific: line 43
When .scratch/<slug>/tasks.md contains YAML frontmatter with waves:, execute tasks wave by wave:
- Very specific: line 45
Read the waves list from frontmatter.
- Distinctive: line 47
After completing a wave, verify tests pass before starting the next.
- Very specific: line 50
If no tasks.md frontmatter exists, implement tasks sequentially in document order.
- Very specific: line 54
Run typechecking and targeted tests during implement.
≈ “Common” is an estimate: at least 1 in 5 of the 213,895 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
aiops-implement
Implement from PRD, issue brief, or tech-spec. Not for grill/alignment — lean active only while writing code.
Invoked by Flow Conductor delivery phase (builder agent). Update flow.state.yaml → delivery_sub_phase as you progress.
Preconditions
- Issue brief or
issues/<current>AC, ortech-spec.md+NOTES.md DESIGN_REVIEW.mdAPPROVE when design review ran in this flow- If
/prototyperan:VERDICT.mdbefore absorbing prototype learnings
Impact analysis (before implement)
If graphify-out/graph.json exists, tell the user "查询代码图谱评估修改影响面" then query /code-graph query impact <target-file> before writing code to understand the blast radius. Log affected modules in the journey context so the builder knows what might break.
Orchestration (hard gates — fixed order)
Run sub-phases in order. Do not skip unless user explicitly exempts a step (e.g. mechanical fix → skip new tests).
| Sub-phase | delivery_sub_phase | Who | Skill / action | Gate to advance |
| 1 | implement | builder | lean ladder + write code | Tests for changed behaviour pass |
| 2 | implement | builder | /tdd at public interfaces | Red-green on agreed surface |
| 3 | prune | quality-auditor | /prune on diff | Findings listed or "Lean already" |
| 4 | review | code-reviewer | /review vs NOTES/tech-spec/issue | REVIEW.md APPROVE |
| 5 | ready_for_commit | — | Set journey gate ready_for_commit | User may ask gitops to ship |
Record in journey gates_satisfied: prune_done, review_approve, ready_for_commit.
File size
If any file you touch approaches 500 lines, invoke /file-refactor before advancing to prune — split per that skill (types → utils → hooks → sub-components). Skip only when the user exempts or the file is intentionally monolithic.
Wave-based execution (when tasks.md has frontmatter)
When .scratch/<slug>/tasks.md contains YAML frontmatter with waves:, execute tasks wave by wave:
- Read the
waveslist from frontmatter. - For each wave, implement all tasks in the wave (they are independent).
- After completing a wave, verify tests pass before starting the next.
- Within a wave, prefer the order listed in the frontmatter.
If no tasks.md frontmatter exists, implement tasks sequentially in document order.
Commit — only when user explicitly asks. Never commit autonomously. Shipping is /gitops in conductor ship phase.
Run typechecking and targeted tests during implement; full suite once before review.
Narration (when conductor shows novice text)
Sub-phase 1–2: 「写代码 + 测试」→ sub-phase 3: 「精简 diff」→ sub-phase 4: 「对照设计评审」→ sub-phase 5: 「等你确认再提交」.
Lean off during grill
Alignment uses /grill-with-docs without lean. Switch to lean when sub-phase implement starts.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

