/forge:writing-specsfrom Forge
Use when creating or changing a durable Canonical Spec, proposing a Spec Delta, clarifying a proposed contract, or reconciling code with approved project authority. Triggers: "정본 스펙", "스펙 변경안", "영구 요구사항", "정책 변경", "설계 결정", "spec delta", "canonical spec", durable contract change.
Ships in Forge. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
Preserve approved project intent and make durable changes explicit. Respond and write prose in the user's language; preserve schema values, paths, exact statement headings, and code identifiers.
Only approved or implemented Canonical Spec Bundles are project SOT. A draft, Spec Delta, work brief, or execution plan cannot silently replace them. Local implementation details fully explained by code and tests need no new Canonical Spec.
Read the affected contract and relevant consumers. From the project root, inspect a bundle through bash <writing-specs-skill>/scripts/spec-docs.sh --repo-root . inspect --spec <bundle-directory> --format json, resolving <writing-specs-skill> to the installed skill directory. Require forge/spec@3, the appropriate lifecycle, and empty diagnostics. Reuse inspected context while relevant bytes remain unchanged.
Identify the exact before/after meaning and effects. A concrete user instruction or approval covering the target, meaning, and effects is authorization; do not ask for the same decision again. Ask only about unresolved contract conflicts, added scope, or effects outside that authorization. A vague outcome request does not authorize every possible policy interpretation.
Keep the Spec Delta in the conversation or .forge/work/<work-id>/spec-delta.md, with baseline path and hash and affected member/statement links. It can record an already authorized change as well as a pending proposal. Use references/spec-delta-template.md when the change needs a standalone review document; no extra form is required for a clear instruction.
When new meaning needs a decision, present the concrete proposal without replacing the current approved source. Group independent clarification questions when useful. Mechanical corrections within authorized meaning can proceed directly.
Write the explanation before fitting its serialization. Establish purpose, behavior, boundaries, conditions, exceptions, rationale and observable outcomes where they matter. An API may need request/error examples; a policy may need a rule and exception table; a stateful feature may need transitions. These are questions to resolve, not mandatory section names or a quota of diagrams. A reader should understand the feature without reconstructing it from isolated requirement headings.
When defining or changing a public error contract, apply the error-handling reference owned by the forge using-forge skill. Inspect affected consumers and retain code meanings, trigger conditions, caller retry or recovery behavior, and disclosure boundaries in the owning source. Treat additions, removals and meaning changes as contract changes; do not silently recode failures during an implementation repair.
Use the forge using-forge skill's terminology guidance when defining shared concepts or changing names, and the forge writing-tone skill for the explanation. Keep durable definitions in their owning approved source; link existing definitions rather than creating a second glossary. Make proposed meaning distinguishable from established meaning and explain necessary code-identifier mappings.
Reuse existing preferred names for the same concepts across related Specs. Check that names express the actual responsibility, scope and state. Resolve ambiguous definitions in their owning source within authorization so dependent plans can retain the same meaning and terminology.
For structured authoring, use references/bundle-authoring.md for content boundaries and references/spec-template.md for serialization rules and examples. Use the current Spec validator to check source integrity and approval state. An authorized redesign updates the source contract, implementation and affected references together; an unused format or consumer need not be retained merely for compatibility. Preserve valid links and unaffected meaning. Parser success checks structure and references; review missing behavior and contradictory meaning separately.
Before applying a Delta, confirm the baseline is still current. Rebase on changed bytes and ask again only if the resulting meaning or effects exceed the authorization. Apply only approved meaning, set lifecycle to approved, update the current decision, and validate. Retain the applied Delta until its scope and evidence are recorded.
A new proposal can be validated in an isolated temporary repository while awaiting a decision. Do not require a separate candidate repository merely to repeat approval for a clear, already authorized local change. Validation must pass before implementation relies on the new source.
For drift, repair implementation to the approved contract unless the user has authorized changing that contract. If intent remains unclear, describe the conflict and ask; do not rewrite source to match an accidental implementation.
For replacement or consolidation of bundle paths, read references/bundle-transitions.md. Its isolated worktree, exact baseline, atomic transition, and user-work preservation requirements remain necessary for that fragile operation; ordinary edits do not use that subflow.
Every approved Canonical Spec body, metadata, member layout, or lifecycle change uses this sequence from the repository root:
bash <writing-specs-skill>/scripts/spec-docs.sh --repo-root . validate --root docs/specs --baseline-ref HEAD
Any nonzero result blocks implementation handoff and completion claims. The transaction validates Markdown only and creates no HTML. scripts/validate.sh repeats repository validation; it never repairs sources or creates Visual Docs.
Markdown is the default review path. A Spec Delta does not authorize HTML generation. For a requested visualization of Forge sources, use the forge visual-docs skill to preserve meaning and choose an appropriate format. Explanations may stay in the conversation or use freely authored visuals. The active request includes proportional verification and necessary corrections.
Source changes, approval, lifecycle status, complexity, Mermaid, tables, or an existing visual document are not generation requests. Read-only inspection may establish relevant staleness; do not generate or update the view without a request. If not inspected, describe staleness as possible rather than confirmed.
Use an appropriate plan when coordination or recovery needs it. Otherwise execute the authorized change directly. The forge verifying-work skill owns evidence-based implementation status; partial work retains its actual lifecycle state.
assets/mermaid-validator-THIRD-PARTY.txt (opens in a new tab)assets/mermaid.sha256 (opens in a new tab)references/bundle-authoring.md (opens in a new tab)references/bundle-transitions.md (opens in a new tab)references/spec-delta-template.md (opens in a new tab)references/spec-template.md (opens in a new tab)scripts/boolbase.LICENSE (opens in a new tab)scripts/build-mermaid-validator.sh (opens in a new tab)scripts/mermaid_validate.mjs (opens in a new tab)scripts/package-lock.json (opens in a new tab)scripts/package.json (opens in a new tab)scripts/spec-docs.sh (opens in a new tab)scripts/spec_docs.py (opens in a new tab)scripts/spec_model.py (opens in a new tab)scripts/spec_transitions.py (opens in a new tab)scripts/spec_validate.py (opens in a new tab)tests/browser/package-lock.json (opens in a new tab)tests/browser/package.json (opens in a new tab)tests/fixtures/spec-bundle-repository/valid-multi-bundle/docs/specs/README.md (opens in a new tab)tests/fixtures/spec-bundle-repository/valid-multi-bundle/docs/specs/review-lifecycle/review-lifecycle-contract.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub hope1026/aiagent-plugins --plugin forge12 skills in this plugin
/creating-agent-extensionsUse when creating or updating a skill, MCP definition, or combined agent extension that must work from one canonical source across Codex, Claude Code, and Antigravity. Triggers: "에이전트 확장 생성", "공통 스킬", "여러 에이전트", "MCP 만들기", "cross-agent skill", "portable MCP"./executing-plansUse when executing or resuming an existing plan whose dependencies, coordination, or recovery state need attention. Triggers: "계획 실행", "구현 진행", "다음 태스크", "중단 작업 재개", execute the plan./marketing-toneUse when writing or revising marketing, product, landing page, launch, campaign, social, sales, or positioning copy that should sound confident, factual, and trustworthy. Triggers: "마케팅", "랜딩페이지", "제품 소개", "카피", "캠페인", "SNS", "출시", "프로모션", marketing copy, product copy, launch copy.Other plugins' skills for the same job