AgentSkillsCN

implementation-rules

全球实施工作流与输出格式规范。当您被要求实施变更、修复漏洞、重构代码、添加功能,或生成差异报告、测试报告、PR 报告时,可使用此技能。请遵循标准的分阶段工作流、最小差异政策、风险枚举、测试要求,以及统一的报告格式。若项目中存在 rules.md 文件,则可一并加载其中的特定规则。

SKILL.md
--- frontmatter
name: implementation-rules
description: Global implementation workflow and output format rules. Use when asked to implement changes, fix bugs, refactor, add features, or produce diffs/tests/PR reports. Apply the standard phased workflow, minimal-diff policy, risk enumeration, test requirements, and reporting format. Also load project-specific rules from rules.md when present.

Implementation Rules

Quick start

  • Find the project root.
  • If rules.md exists, read it first and follow it as project-specific rules.
  • If project rules conflict with global rules, ask for user confirmation and stop.
  • Read references/implementation-rules.md for the mandatory phases, constraints, and output format.

Git keyword handling

  • If the request includes commit/push/PR/merge/deploy keywords, invoke $git-ops and follow its policy before executing any git operations.

Output language

  • Respond in Japanese unless the user explicitly asks otherwise.