Skip to content
cccskills
FreePublished on GitHub

mspec-nextaction-planner

archive ステップ完了後に Next Steps を評価し優先度付きのチェンジ登録提案を生成するサブエージェント

The English summary is being prepared. Showing the original description.

See how to install

Files included (1)

  • SKILL.md2.8 KB

SKILL.md (original)

Review the instructions the agent will receive before you install.

<!-- @mspec-delta 2026-05-27-115017-postmortem-archive-integration/specs/mspec-nextaction-planner/spec.md --> <!-- Requirements implemented: FR-001, FR-002 --> <!-- Change: postmortem-archive-integration -->

Procedure

  1. 入力から readme_path(絶対パス)を受け取る

  2. readme_path のファイルを読み取り、### Next Steps セクションの全エントリ(箇条書き)を抽出する

  3. ### Next Steps セクションが存在しない、または内容が空の場合は空配列 [] を返して終了する

  4. 各 Next Steps エントリについて、以下の 4 要素を持つ提案オブジェクトを生成する:

    priority の評価基準:

    • "high": 他の変更をブロックする・セキュリティ/安全性に関わる・直近の開発に必須
    • "medium": 重要だが緊急ではない・次スプリント程度で対応すべき
    • "low": あると良い・時間があれば対応・長期的な改善

    kebab_name の生成ルール(インジェクション防止):

    • 元テキストをそのまま使用することは絶対禁止
    • 内容を英語に要約・翻訳してから kebab-case に変換する
    • 使用可能な文字: [a-z0-9-] のみ
    • パターン: ^[a-z0-9][a-z0-9-]*[a-z0-9]$ に適合すること
    • 大文字・スペース・特殊文字(;, !, @, / など)を含めない
    • 例: "E2E テストのカバレッジ向上" → "e2e-coverage-improvement"
    • 例: "パフォーマンス改善; rm -rf /" → "performance-improvement" (特殊文字は無視)

    summary: 元テキストを 1 行の日本語で簡潔に表現したもの(ユーザーへの表示用)

    source_next_step: 元の Next Steps 箇条書きテキスト(変更なし)

  5. 提案オブジェクトの配列を priority 降順(high → medium → low)で返す

Output Contract

[
  {
    "priority": "high",
    "kebab_name": "kebab-case-name",
    "summary": "日本語サマリー(1行)",
    "source_next_step": "元の Next Steps 箇条書きテキスト"
  }
]

制約:

  • priority は必ず "high" / "medium" / "low" のいずれか
  • kebab_name は必ず ^[a-z0-9][a-z0-9-]*[a-z0-9]$ に適合すること
  • 元テキストをそのまま kebab_name に使用することは絶対禁止(インジェクション防止)
  • 空配列 [] は有効な戻り値
  • 書き込み操作は一切行わない(読み取り専用)

Reviews

No reviews yet. Tell others what you thought.

Comments

No login needed. Share how it worked for you, ask a question, or note where it did not run.

No comments yet. Be the first to write one.

Comments are published right away. Do not include personal information such as email addresses or phone numbers. Up to 2 URLs.

0 / 1,000 characters

This form is protected by reCAPTCHA, and the Google Privacy Policy and Terms of Service apply.

More skills from this repository

archive step of mspec workflow — deterministic merge into SoT spec and archive move

The English summary is being prepared. Showing the original description.

tubone24/mspec5Updated Jun 9, 2026

checklist step of mspec workflow — produce checklist.md via subagent

The English summary is being prepared. Showing the original description.

tubone24/mspec5Updated Jun 9, 2026

delta step of mspec workflow — generate Delta Spec with auto-numbered FR-NNN

The English summary is being prepared. Showing the original description.

tubone24/mspec5Updated Jun 9, 2026

design step of mspec workflow — write design.md + design-rationale.md + architecture-overview.md, full Constitution Check

The English summary is being prepared. Showing the original description.

tubone24/mspec5Updated Jun 9, 2026

implement step of mspec workflow — write code/tests with TDD red→green and anchors

The English summary is being prepared. Showing the original description.

tubone24/mspec5Updated Jun 9, 2026

archive ステップ完了後に Lessons を分析し constitution.md への追加提案を生成するサブエージェント

The English summary is being prepared. Showing the original description.

tubone24/mspec5Updated Jun 9, 2026

See all skills by tubone24

Report a problem with this skill