pipekit-help
Skill6 starsChanged 2 months agoMITView on GitHub
Recommend the next pipeline step based on current project state. Use when unsure which Pipekit skill to run next. Use after finishing a step and wanting a deterministic "what now?" answer. Reads filesystem + Linear, not memory.
In this repository32 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- brainstorm-reviewSkill
- brainstormSkill
- conceptSkill
- defineSkill
- financial-reviewSkill
- light-spec-reviseSkill
- light-specSkill
- linear-hygieneSkill
- linearSkill
- phase-planSkill
- pipekit-updateSkill
- pk-bugSkill
- pk-exitSkill
- pk-expressSkill
- pr-fixSkill
- prod-readySkill
- pr-security-reviewSkill
- release-changelogSkill
- repo-security-reviewSkill
- review-planSkill
- roadmap-createSkill
- roadmap-reviewSkill
- security-gateSkill
- spec-preflightSkill
- startupSkill
- strategy-createSkill
- strategy-syncSkill
- sync-linearSkill
- tpmSkill
- verifySkill
- workSkill
The file
We split this skill into the rules it gives an agent
6 rules. About 0 are common, 3 are distinctive, and 3 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈3
Distinctive · estimate
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 19
When you already know what to do.
- Very specific: line 23
Read each of these without writing.
- Distinctive: line 37
Read state signals in the order above.
- Very specific: line 38
Look up the matching rule in state-rules.md.
- Distinctive: line 51
If no rule matches, print:
- Very specific: line 59
Honest about uncertainty: If two rules could match, pick the earliest (higher-priority) and mention the alternative in --explain.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Pipekit Help Skill
You read the project's current state, match it against the rules in skills/pipekit-help/state-rules.md, and produce a single-line recommendation with a one-line "why." This skill replaces the friction of "I just finished X — what comes next?" with a deterministic answer keyed off the file system + Linear, not memory.
Triggers
/pipekit-help— read state, recommend next step/pipekit-help --explain— same recommendation but with the full reasoning chain- "what's next?" / "where am I in the pipeline?"
When NOT to use
- Inside a long-running stage (e.g., mid-execution). The recommendation will be stale by the time you read it.
- When you already know what to do. This is a tiebreaker for ambiguous state, not a babysitter.
Inputs (read-only)
Read each of these without writing. Stop reading as soon as a rule in state-rules.md matches — don't waste tool calls on later signals you don't need.
| Source | Purpose |
git rev-parse --abbrev-ref HEAD | Current branch / worktree |
git log -5 --oneline | Recent commits (look for Linear prefixes like PROJ-XXX) |
$STATE_DIR/pending-strategy-sync (presence; STATE_DIR=$(bash scripts/pipekit-state-dir.sh)) | Post-archive hook marker — strategy sync owed |
Linear i{N}./I{N}.P{N}. initiative hierarchy (via pk next / pk status) | Foundation complete? Current initiative position |
.pk-work/<ID>-PLAN.md (presence) | Native-backend task DAG materialized for the in-flight issue? |
method.config.md | Project context for messages |
| Linear issue status (only if a single issue is clearly in scope) | Pipeline position |
Algorithm
- Read state signals in the order above. Stop on first decisive match.
- Look up the matching rule in
state-rules.md. Each rule has: matcher → recommendation → why. - Print exactly one recommendation in this format:
➜ Next: {skill or action} Why: {one-line reason tied to the matched signal} - With
--explain, follow that with:Signals read: - {signal 1}: {observed value} - {signal 2}: {observed value} Matched rule: {rule name} - If no rule matches, print:
➜ Next: pk status Why: state didn't match any known rule — start from the full board view
Rules of engagement
- Honest about uncertainty. If two rules could match, pick the earliest (higher-priority) and mention the alternative in
--explain. - No state-mutating actions. This skill never writes, transitions, or commits. It reads and recommends.
- No Linear-side queries unless one issue is obviously in scope. Inferring "which issue" from branch names is brittle. If the branch doesn't start with the project's issue prefix, skip Linear and recommend based on file-system signals only.
- Don't recurse into the recommended skill. Print the recommendation and stop. The user invokes the next skill themselves (fresh-chat discipline; see
method.md§ Fresh-Chat Discipline).
Output examples
➜ Next: /work PROJ-247
Why: branch matches PROJ-247 but no plan has executed yet — /work plans + executes on the native backend➜ Next: /strategy-sync
Why: pending-strategy-sync marker present (last archive triggered it)➜ Next: pk ship
Why: /verify passed and current branch matches PROJ-247 — ready to push + open PRCustomization
state-rules.md is the rule table. To add a project-specific rule (e.g., a custom initiative marker), override the file via .claude/overrides/skills/pipekit-help/state-rules.md — see method.md § Sync-Safe Overrides.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

