plugin/plangate/skills/context-packager/SKILL.md
タスク委譲前に Allowed Context を構造化して出力する。対象ファイル・仕様・既存テスト・変更制約・実行コマンド・禁止スコープを整理し、サブエージェントに渡す文脈を最小化する。
npx skillsauth add s977043/plangate context-packagerInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
タスクを AI エージェントに委譲する前に、必要最小限の文脈(Allowed Context)を構造化して出力するスキル。 「コンテキスト汚染」(不要な文脈が意思決定を歪める)を防ぐ。
サブエージェントが受け取る情報を最小化することで、以下を防ぐ。
| 要素 | 内容 | 情報源 |
|------|------|--------|
| 対象ファイル(Target Files) | 変更・参照が許可されるファイルパス一覧 | plan.md の Files/Components to Touch |
| 仕様(Spec) | 受入基準・設計書・API 仕様の要点 | pbi-input.md / design.md |
| 既存テスト(Existing Tests) | 関連するテストケース・test-cases.md の参照 | test-cases.md |
| 変更制約(Constraints) | 変更してはいけないこと、後方互換性要件 | plan.md の Constraints / Non-goals |
| 実行コマンド(Commands) | ビルド・テスト・lint コマンド | plan.md の Testing Strategy |
| 禁止スコープ(Out of Scope) | このタスクで触れてはいけない領域 | pbi-input.md の Out of scope |
pbi-input.md の受入基準・スコープ定義を読むplan.md の Work Breakdown・変更ファイル一覧・制約を読むtest-cases.md から関連テストケースを抽出する## Allowed Context
### Target Files
- {ファイルパス}: {変更目的}
### Spec
{受入基準・要点(箇条書き)}
### Existing Tests
- {テストファイルパス}: {テスト内容の要約}
### Constraints
- {制約 1}
- {制約 2}
### Commands
- build: {コマンド}
- test: {コマンド}
- lint: {コマンド}
### Out of Scope
- {禁止スコープ 1}
- {禁止スコープ 2}
docs/working/TASK-XXXX/pbi-input.md(仕様・受入基準)docs/working/TASK-XXXX/plan.md(変更ファイル一覧・制約)docs/working/TASK-XXXX/test-cases.md(テストケース)subagent-dispatch(Allowed Context を使ってエージェントに分配)plugin/plangate/rules/subagent-roles.md(ロール別の受け取り方を定義)tools
PlanGate の TASK-XXXX 作業コンテキストを Progressive Disclosure で読込・更新する。Use when: セッション再開時、フェーズ遷移時、status.md/current-state.md/handoff.md を更新したい時。
development
Evaluate and improve an existing Codex skill using explicit success criteria and small controlled changes. Use when the user asks to optimize a skill, reduce over-triggering or under-triggering, improve reliability, tighten instructions, or add evals for a skill. Also trigger on "スキルを改善して", "スキルを最適化して", "スキルの品質を確認して".
development
Create an operating policy and roadmap for a live portfolio of Codex skills. Use when the user asks to organize, govern, audit, measure, retire, or scale skills already used by a team or repository. Also trigger on "スキルの運用計画", "スキルポートフォリオ", "スキルロードマップ", "スキルを整理して".
development
Design a new Codex skill from a concrete use case and produce a repo-ready skill package. Use when the user asks to create a new skill, define a skill's responsibility, draft SKILL.md, choose frontmatter, design supporting files, or prepare eval criteria for a new skill. Also trigger on "スキルを作りたい", "スキルを作って", "スキルを追加して", "新しいスキル", "SKILL.md生成".