Skip to content

実装: body-authoring.md の Required Skills セクションにパス記述禁止ルールと C7 fail パターンを明記する #218

Open

Description

@squne121

Machine-Readable Contract

contract_schema_version: v1
issue_kind: implementation
parent_issue: "none"
goal_ref: "review-issue C7 check との整合性向上 — Required Skills にパスが含まれると C7 fail になることを body-authoring.md で明示する"
change_kind: docs

Parent Issue

none

Parent Goal Ref

  • Goal: N/A(単独改善)
  • Desired Destination: N/A

Current Validated Scope

  • .claude/skills/create-issue/references/body-authoring.md の ## Required Skills / Rules Authoring Guidance セクションを更新する

Remaining Parent Gaps

なし

Summary

review-issue の C7 チェックは ## Required Skills 配下に implement-issue / pr-review-judge / ssot-discovery 等のワークフロー skill、または docs/ / .md / / を含む path reference が含まれていると fail する。

Issue #147 の refinement loop 中に、.claude/skills/<name>/SKILL.md という記述を Required Skills に含めたことで C7 が fail した。body-authoring.md に「spec / doc / path reference は skill ではない」という prose はあるが、.claude/skills/... 形式のパスや .md を含む記述も同様に C7 fail になることが明示されていない。

Goal

body-authoring.md の Required Skills Authoring Guidance に、C7 fail を引き起こす具体的なアンチパターン(ファイルパス記述)を明示することで、Issue 作成者が C7 fail を事前に回避できる。

Outcome

.claude/skills/create-issue/references/body-authoring.md の ## Required Skills / Rules Authoring Guidance セクションに、.md / / を含むパス記述が C7 fail になる旨と、代替記述例が追記されている。

In Scope

  • .claude/skills/create-issue/references/body-authoring.md への追記のみ

Out of Scope

  • review-issue C7 チェックの変更
  • implementation.yml テンプレートの変更

Depends On

なし

Acceptance Criteria

  • AC1: body-authoring.md の ## Required Skills / Rules Authoring Guidance セクションに、ファイルパス(.md / .claude/skills/... / docs/... 等)を含む記述が C7 fail を引き起こす旨が明示されている
  • AC2: AC1 の追記に、具体的なアンチパターン例(NG 例: .claude/skills/<name>/SKILL.md)と代替記述例(OK 例: Claude Code project skill 構造(disable-model-invocation frontmatter))が含まれている

Verification Commands

  • grep -q "C7\|\.md.*fail\|パス.*禁止\|path.*C7" .claude/skills/create-issue/references/body-authoring.md && echo "PASS: AC1" || echo "FAIL: AC1" # AC1
  • grep -qE "NG|アンチパターン|SKILL\.md.*禁止|代替" .claude/skills/create-issue/references/body-authoring.md && echo "PASS: AC2" || echo "FAIL: AC2" # AC2

Allowed Paths

  • .claude/skills/create-issue/references/body-authoring.md

Stop Conditions

  • Allowed Paths 外の変更が必要と判明した場合
  • In Scope の固定契約(キー集合・スキーマ・型定義)の変更が必要になった場合
  • 新規 Issue の起票が必要と判断した場合(スコープ分割が発生する場合)
  • 後続 Phase / 別スコープへの波及が判明した場合
  • nested SubAgent delegation が必要になった場合
  • 外部サービス利用・権限昇格・既存テスト大規模改変が必要になった場合

Required Skills

  • Markdown 技術文書執筆

Scope Delta

N/A

Implementation Notes

body-authoring.md の既存 Required Skills Authoring Guidance セクション(line 31〜38 周辺)に追記する。既存の prose は維持し、C7 fail パターンの具体例を追加する。

Parent

none

Runtime Verification Applicability

decision: immediate
status: pending
rationale: |
  docs 変更のみ。AC1/AC2 は grep で即時検証可能。
skip_reasons: []

Source

dedupe_key: "required-skills-path-guard-body-authoring"
source_issue: 147
source_comment: "https://github.com/squne121/loop-protocol/issues/147#issuecomment-4515800850"
origin: "issue-refinement-loop follow-up"

Activity

  1. added
    enhancement
    phase/implementation
    state/queued
    on May 22, 2026
  2. squne121 commented on May 22, 2026

    @squne121
    OwnerAuthor

    関連事例: #148 refinement loop (2026-05-22)

    Issue #148 の refinement loop で C7 fail を踏んだ。

    具体的なパターン:

    • Required Skills に「docs SSOT 設計(requirements.md / game-overview.md / milestone-ops.md の正本境界)」と記述した
    • C7 チェックが .md パス参照を検出して FAIL

    修正後:

    • 「docs SSOT 設計(playable roadmap 設計と milestone 命名規則の理解)」に変更

    推奨:

    • body-authoring.md に「Required Skills にはドメイン知識のみ記述し、.md / docs/ パス参照を含まない」を明記

    Source: issue-refinement-loop iteration on #148

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementphase/implementationstate/queued

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions