agentleFS
withpiperwithpiper/pipekit/skills/pipekit-help/SKILL.md

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.

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
  1. Distinctive:

    When you already know what to do.

    line 19
  2. Very specific:

    Read each of these without writing.

    line 23
  3. Distinctive:

    Read state signals in the order above.

    line 37
  4. Very specific:

    Look up the matching rule in state-rules.md.

    line 38
  5. Distinctive:

    If no rule matches, print:

    line 51
  6. Very specific:

    Honest about uncertainty: If two rules could match, pick the earliest (higher-priority) and mention the alternative in --explain.

    line 59

≈ “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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

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.

SourcePurpose
git rev-parse --abbrev-ref HEADCurrent branch / worktree
git log -5 --onelineRecent 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.mdProject context for messages
Linear issue status (only if a single issue is clearly in scope)Pipeline position

Algorithm

  1. Read state signals in the order above. Stop on first decisive match.
  2. Look up the matching rule in state-rules.md. Each rule has: matcher → recommendation → why.
  3. Print exactly one recommendation in this format:
    ➜ Next: {skill or action}
      Why: {one-line reason tied to the matched signal}
  4. With --explain, follow that with:
    Signals read:
      - {signal 1}: {observed value}
      - {signal 2}: {observed value}
    Matched rule: {rule name}
  5. 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 PR

Customization

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.

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.