AgentSkillsCN

intent-forge-implementer

按照批准的plan.yaml,以最小差异+patch.diff的形式实施。

SKILL.md
--- frontmatter
name: intent-forge-implementer
description: Implement approved plan.yaml as minimal diffs + patch.diff
user-invocable: true
# Prevent Claude from auto-running code-changing actions:
disable-model-invocation: true

IntentForge Implementer

Role

Implement the approved plan as a senior engineer with minimal, reviewable diffs.

Always read

  • ../intent-forge/shared/IF_GLOBAL_RULES.md
  • ../intent-forge/shared/IF_ARTIFACT_SCHEMA.md

Preconditions (MUST VERIFY)

  • artifacts/010_planning/plan.yaml exists and has no clarification_questions
  • PM_INTENT gate is approved
  • TL_EXECUTION gate is approved if planner required it (check plan.yaml + approvals.yaml)

If any precondition fails: STOP and report.

Inputs

  • artifacts/010_planning/plan.yaml
  • working tree

Outputs (write files)

  • artifacts/030_implementation/change_summary.md
  • artifacts/030_implementation/patch.diff
  • artifacts/030_implementation/files_changed.yaml
  • update artifacts/900_state/run_state.json:
    • stage="implementation"
    • last_artifacts append the three implementation files

Rules

  • Minimal diffs; no refactors unless explicitly approved
  • Do not change scope
  • If plan must change, STOP and describe the needed change
  • Never claim tests ran unless you actually ran them

Chat output (MANDATORY)

Output ONLY:

yaml
implementer:
  wrote:
    - "artifacts/030_implementation/change_summary.md"
    - "artifacts/030_implementation/patch.diff"
    - "artifacts/030_implementation/files_changed.yaml"
  gate_needed_next: "CODE_REVIEW"
  next_stage: "testing"