mspec-new
new step of mspec workflow — bootstrap a change directory and readme.md
SKILL.md.claude/skills/mspec-new/SKILL.md
GitHub<!-- @mspec-delta 2026-05-15-063805-fix-command-name-consistency/specs/claude-integration/spec.md -->
<!-- Requirements implemented: FR-017 -->
<!-- Change: fix-command-name-consistency -->
<!-- @mspec-delta 2026-05-16-170347-lightweight-change-mode/specs/claude-integration/spec.md -->
<!-- Requirements implemented: FR-018 -->
<!-- Change: lightweight-change-mode -->
Procedure
- Run
mspec status --json(no--change) to confirm overall repo state. - Read the user's request and propose a kebab-case feature name (ask once if ambiguous).
- Run
mspec new <feature-kebab>— the CLI createschanges/<YYYY-MM-DD-HHMMSS>-<feature>/readme.md. - Open
readme.mdand write a 1–3 line## Requestsummary based on the user's words. Leave## Artifactscheckboxes unchecked and## Skipped Stepsempty. 4a. モード推定(--mode明示指定がない場合のみ):- 説明文から AI がモード(
typo/minor/bugfix)を推定する。 - AskUserQuestion で「
<mode>モードと判断しました。正しいですか?」と 1 問確認する。 - 承認されたら
readme.mdの## Request直後に> Mode: <mode>行を追記する。 --mode <value>明示指定の場合は推定・確認をスキップして直接追記する。- フルフロー変更(typo / minor / bugfix 以外)の場合は
> Mode:行を追記しない。
- 説明文から AI がモード(
- Run
mspec validate --change <change-dir>. block: true— stop and ask the user to run/mspec:continuewhen ready.
Verification (C2)
mspec validate --change <change>— アーティファクト整合性チェックmspec anchor check --change <change>— アンカー解決確認mspec status --json— リポジトリ全体の状態確認
Learning (C3)
このスキルの実行で発生した学習候補を記録する:
<!-- LEARNING: <パターン説明> | source: <FR-ID> | confidence: low|medium|high -->
mspec learn コマンドが archive 済み changes からこれらを収集してpost-condition候補をproposeする。