本文へ移動
cccskills
無料GitHub で公開

fp-plan

Phase 2 of the feature-pipeline suite. Use this after /fp-explore has filed issues and printed the M1 stop hook — when you need to turn a set of filed GitHub issues into an approved implementation plan and a draft PR. Triggers on: "plan the fix", "create the branch and PR", "draft the implementation plan", "ready to plan", "fp-plan", "next step after explore", "convert issues to a plan", "plan phase". Reads issueNumbers from state, writes a Problem Statement, opens a feature branch + draft PR, spawns a HEAVIER sub-agent for the numbered plan, and blocks on explicit user approval before writing plan to state. Does NOT write any code — that is /fp-implement.

インストール方法を見る

含まれるファイル(1)

  • SKILL.md4.7 KB

SKILL.md(原文)

インストールする前に、エージェントに与えられる指示の中身を確認できます。

fp-plan (Phase 2 — Plan & Draft PR)

Read issues, create branch + draft PR, get a HEAVIER plan, block until approval. One bounded turn. Code is written by /fp-implement after this skill ends.


Setup

STATE=".agents/skills/feature-pipeline/scripts/state.sh"
feature=$($STATE get feature)
issues=$($STATE get issueNumbers)   # JSON array e.g. [12,13,14]
phase=$($STATE get phase)

If phase != 2 or issueNumbers is empty, print a clear explanation and end the turn — running out of order produces bad state that's hard to recover from.


Step 1 — Problem Statement

Read each issue body:

gh issue view <N> --json title,body

Write a single paragraph Problem Statement: what is broken, why it matters, and what a correct fix should achieve. This is the anchor for the plan — HEAVIER will produce better output when it has a crisp statement of intent.


Step 2 — Create branch and draft PR

Slugify the feature name, create the branch, and push it before opening the PR (GitHub requires the branch to exist first):

slug=$(echo "$feature" | tr '[:upper:]' '[:lower:]' | sed 's/[^a-z0-9]/-/g' | sed 's/--*/-/g' | cut -c1-40)
branch="fix/${slug}-findings"

git checkout -b "$branch"
git push -u origin "$branch"

$STATE set branch "$branch"

Open a draft PR via GitHub MCP (mcp__github__create_pull_request):

  • title: fix({{feature}}): address exploration findings
  • labels: draft, needs-plan
  • draft: true
  • body:
## Problem Statement
<from Step 1>

## Related issues
- Closes #N
- Closes #M

## Plan
_To be filled after approval._

Persist PR info to state so downstream skills can find it without user input:

$STATE set prNumber <N>
$STATE set prUrl    "<url>"

Step 3 — HEAVIER plan

Spawn HEAVIER — a heavier reasoning pass gets more nuanced, file-aware plans than the current context can produce inline. Provide:

  • The issue titles and bodies
  • The PR URL
  • Excerpts from source files relevant to {{feature}}

HEAVIER brief:

Produce a numbered implementation plan for the issues listed. Format each step as: N. <file/area> — <change> — <rationale> [⚠ breaking | ⚠ test-only | ⚠ schema] Keep the plan to 3–8 steps. Be specific about file paths and function names.

Present the plan to the user verbatim and wait. Do not proceed until the user explicitly types "approve", "continue", or provides edits — the whole point of this phase is human sign-off before any code is written.

Accept inline corrections. After the user approves:

  1. Update the PR body ## Plan section with the final text.
  2. Write approval to state:
    $STATE set planApproved true
    $STATE set phase 3
    
    Phase 3 signals "plan approved, ready for implement" — /fp-implement reads both planApproved == true and phase == 3.

Print the M2-plan stop hook and end the turn:

╔══ STOP HOOK M2-plan ═════════════════════════════════════════════════════════╗
║  Plan approved — branch: <branch>  PR: #<N>                                 ║
║  Run /fp-implement to commit the plan.                                       ║
╚══════════════════════════════════════════════════════════════════════════════╝

Constraints

  • No code changes here — /fp-implement owns that. Writing code before a plan is approved makes it impossible for the user to redirect without a messy rollback.
  • Do not advance state past phase 3 without explicit user approval.
  • If HEAVIER spawning fails: write a handover to .fp-handover.md with the issue bodies and source excerpts, end the turn. Do not plan inline — the whole point of HEAVIER is a richer reasoning pass.

レビュー

まだレビューはありません。使ってみた感想をお寄せください。

同じリポジトリのスキル

概要と使いどころ

ci-churn

無料

Measure CI churn cost for a pull request: how many commits and how many CI-compute seconds were burned on avoidable "fix the CI" push rounds. Use when you want to understand the efficiency cost of a PR's iteration cycle, get actionable pre-push check suggestions, or include a churn summary in a pipeline report. Triggers: "ci churn", "how much CI did we burn", "avoidable commits", "ci efficiency", "wasted CI time", "churn report", "/ci-churn". Called automatically by /fp-drift at pipeline close.

日本語の概要は準備中です。原文の説明を表示しています。

gaia-research/gaia-skill-tree232026年10月13日 更新

Produce the rendered evidence a human-gated frontend PR owes its reviewer: capture each changed surface (plus the before state for anything modified, plus mobile width), then generate one self-contained local HTML page the founder can open and review without checking anything out. Use when a PR is gated by the "Frontend changes are HUMAN-GATED" section of CLAUDE.md, or when the user says "/design-gate", "screenshot evidence for this PR", "prep this for founder review", "build the design evidence page", "what does this look like before and after". The page comes from a template script, not hand-written markup. Output is session-local and never committed. Do NOT use for non-gated changes: typo/grammar/factual fixes in an unchanged block, dead link targets, alt/ARIA fixes with no visual change, cache-bust bumps, or refactors with no rendered diff.

日本語の概要は準備中です。原文の説明を表示しています。

gaia-research/gaia-skill-tree232026年10月13日 更新

One-fix-at-a-time, approval-gated design fix recovery. Given a checklist of fixes (handover doc, CHECKLIST.md, or inline list), applies each individually, presents a diff, and waits for an explicit APPROVE / REJECT / NO CHANGES decision before committing. Trigger phrases: /design-iteration, "go through the checklist one by one", "fix these one at a time", "bucket recovery", "design fix pass".

日本語の概要は準備中です。原文の説明を表示しています。

gaia-research/gaia-skill-tree232026年10月13日 更新

Playbook for correcting a named skill's star level to match its computed Trust Magnitude grade, with an independent post-calibration verification pass and a CLI-logged timeline event (never hand-written). Use when: recalibrating a skill's level, fixing a stale or drifted star rating, running a batch of `gaia dev calibrate` corrections, or confirming a past calibration actually landed. Triggers: "calibrate <skill>", "recalibrate the trust magnitude backlog", "promote/demote <skill> to N stars", "why is <skill> still N stars", "verify a calibration actually landed", "Hall of Heroes ranking is wrong".

日本語の概要は準備中です。原文の説明を表示しています。

gaia-research/gaia-skill-tree232026年10月13日 更新

Close out a completed EPIC / sprint end-to-end: author a fact-verified meta-post announcing what shipped, archive the EPIC's handovers, snapshot orchestrator memory, gate the integration→main merge on CI-green + explicit human go, drive the version bump (merge-commit conventions that auto-sync classifies), and verify the release reached the registry/PyPI. Use when the user says "close out EPIC <n>", "wrap up the sprint", "ship the meta shift", "/epic-close", or asks to finalize an integration branch that is ready to merge to main. Generalizes the EPIC 1002 (Yggdrasil II) close-out. This skill orchestrates — it authors founder docs directly (superadmin) and delegates code/regen to workers; it NEVER merges to main without the human gate.

日本語の概要は準備中です。原文の説明を表示しています。

gaia-research/gaia-skill-tree232026年10月13日 更新

Run this skill for Phase 3 of the evidence verification pipeline — the adversarial audit step. Use when you need to check the evidence data lake for bad data before ingestion: dead links, wrong URL formats (tree/ vs blob/), subjective wording ("elite", "high-quality"), stale migration notes, benchmark catalog misuse/vendor-claim leakage, or skills whose star evidence conflicts with classified evidence level. Triggers on phrases like: "audit the data lake", "adversarial check", "ev-adversarial-audit", "check for noise in evidence", "flag bad evidence", "run the audit phase", "quality check the by-type files", or any reference to Phase 3 of the pipeline.

日本語の概要は準備中です。原文の説明を表示しています。

gaia-research/gaia-skill-tree232026年10月13日 更新

gaia-research のスキルをすべて見る

このスキルの問題を報告する