AgentSkillsCN

Workflow

当用户提出“检查剧情连贯性”、“核实情节一致性”、“查找矛盾之处”、“审计我的战役”、“排查不一致之处”、“核对 NPC 引用”、“检查时间线”、“核查模块中的事实”、“进行连贯性审计”,或提到“剧情漏洞”、“情节矛盾”、“一致性问题”时,可选用此技能。它会交叉比对所有战役文档、NPC、地点与时间线,以发现矛盾之处、遗失的引用,以及命名上的不一致。

SKILL.md
--- frontmatter
description: Spec-driven development workflow for Swarm Dominion. Use when you want a structured approach to feature development with specifications, plans, and reviews.
disable-model-invocation: true

Spec-Driven Workflow

A structured workflow for feature development that separates concerns into distinct phases.

Overview

code
┌─────────────┐    ┌─────────────────┐    ┌──────────────────┐
│ write-spec  │ →  │ design-from-spec│ →  │ implement-design │
│             │    │                 │    │                  │
│ Requirements│    │ Implementation  │    │ Code + Verify    │
│ & Criteria  │    │ Plan            │    │                  │
└─────────────┘    └─────────────────┘    └──────────────────┘

When to Use This Workflow

  • Complex features with unclear requirements
  • Features that benefit from upfront design
  • Work that will be reviewed by others
  • Learning/documenting as you build

When NOT to Use

  • Simple bug fixes
  • Small, well-defined changes
  • Urgent hotfixes
  • Exploratory/prototype work

The Three Skills

1. write-spec

Input: Linear issue or user story Output: .claude/specs/[issue-id]-[name].md

Clarifies requirements, defines acceptance criteria, identifies scope.

2. design-from-spec

Input: Approved specification Output: .claude/plans/[issue-id]-[name].md

Creates step-by-step implementation plan with file changes and test plan.

3. implement-design

Input: Approved plan Output: Working code, commits, Linear updates

Executes plan systematically with verification at each step.

Supporting Agents

The workflow uses these specialized agents:

AgentUsed InPurpose
context-engineerwrite-spec, design-from-specResearch codebase
plannerdesign-from-specCreate implementation plans
reviewerimplement-designVerify implementation

Quick Start

Invoke any skill directly:

  • /write-spec - Start from requirements
  • /design-from-spec - Start from existing spec
  • /implement-design - Start from existing plan

Or use the full workflow sequentially for maximum structure.

Artifacts

code
.claude/
├── specs/           # Feature specifications
│   └── spi-1234-unit-selection.md
└── plans/           # Implementation plans
    └── spi-1234-unit-selection.md