agentleFS
PackmindHubPackmindHub/packmind/.agents/skills/packmind-update-playbook/SKILL.md

packmind-update-playbook

Skill321 starsChanged 54 days agoApache-2.0View on GitHub

Use when updating, adding, fixing, changing, or deprecating Packmind playbook artifacts (standards, commands, skills). Triggers on explicit phrases like "update packmind standard", "add a packmind skill", "fix packmind command", "change packmind playbook", "deprecate a standard". Also triggers — even without an explicit request — whenever the conversation reveals an opportunity: a new coding convention was just agreed on, a recurring pattern emerged, a workflow changed, a rule was found outdated, or the user says things like "we always do X", "let us remember to Y", "that is the pattern we use". If there is any chance the conversation established a convention or exposed a gap, invoke this skill proactively. This skill defines a mandatory workflow: do NOT edit artifact files directly — follow all phases regardless of change size.

1 other project uses a version of this, 1 of them edited.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

9 rules. About 0 are common, 6 are distinctive, and 3 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈6

    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. Very specific:

    Run "packmind --version" to get the current cli installation.

    line 7
  2. Distinctive:

    Kind of change: create or update

    line 37
  3. Very specific:

    If the conversation contains no references to modifying Packmind artifacts and no detectable update opportunity, tell the user:

    line 52
  4. Distinctive:

    If prior conversation exists, relevant context that supports the intent (patterns observed, decisions made, problems encountered)

    line 65
  5. Distinctive:

    Launch: if the intent mentions or affects that artifact type (standard, command, or skill)

    line 96
  6. Distinctive:

    After all subagents complete, consolidate their reports.

    line 102
  7. Distinctive:

    Single change: ask "Do you accept this change?"

    line 133
  8. Distinctive:

    Multiple changes: ask "Which changes to apply?" and accept:

    line 134
  9. Very specific:

    Follow the procedure in packmind-versions/<$PACKMIND_CLI_VERSION>/apply-changes.md.

    line 141

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

Update Playbook

Run "packmind --version" to get the current cli installation.

Find the highest version at or below the cli version in this list:

  • 0.21.0
  • 0.23.0
  • 0.35.0 Remember this value as $PACKMIND_CLI_VERSION for the rest of the skill.

Evaluate the user's intent against existing Packmind artifacts (standards, commands, skills) to identify what needs creating or updating. Produce a structured change report, then apply approved changes using the playbook CLI workflow.

⚠️ MANDATORY WORKFLOW — This skill defines a strict sequence: Understanding Your Request → Summarizing Changes → Analyzing Playbook → Change Report → Applying Changes. Do NOT skip steps or edit artifact files directly. Even for a single-line change, follow every step. The workflow ensures changes are reviewed, approved, submitted, and propagated correctly.

Understanding Your Request

STOP. This phase runs FIRST, before anything else. No file reads, no CLI commands, no subagents until this gate passes.

Analyze the user's input and conversation context to determine intent:

Case A: No prior conversation / empty input

The skill was invoked standalone with no context. Ask:

"What Packmind artifact do you want to modify? For example: a standard (coding rule/convention), a command (multi-step workflow), or a skill (specialized capability). Please describe what you'd like to change."

BLOCK — do not proceed until the user responds.

Case B: Explicit intent found

The user explicitly asked to update, add, fix, or change a Packmind artifact. Extract an intent summary:

  • Target artifact(s): which standard(s), command(s), or skill(s) to modify (or "new")
  • Kind of change: create or update
  • Specifics: any details the user provided about the change

Proceed to Summarizing Changes with this validated intent.

Case C: Opportunity detected from conversation

The conversation reveals a playbook update opportunity — e.g., a convention was established, a pattern emerged, a workflow was changed, or a known artifact is now stale — but the user did not explicitly ask for a playbook update. Summarize the opportunity and ask:

"I noticed an opportunity to update the Packmind playbook: <brief description>. Would you like me to run the update workflow?"

BLOCK — do not proceed until the user confirms.

Case D: No intent and no opportunity

If the conversation contains no references to modifying Packmind artifacts and no detectable update opportunity, tell the user:

"I didn't detect any intent or opportunity to modify the Packmind playbook. What artifact would you like to update — a standard, command, or skill? Please describe the change."

BLOCK — do not proceed until the user responds.

Summarizing Changes

Only proceed after Understanding Your Request validates intent (explicit request or confirmed opportunity).

Summarize the validated intent before launching any subagents. Extract:

  • Which artifact(s) the user wants to modify and what kind of change
  • Any specifics the user provided about the desired change
  • If prior conversation exists, relevant context that supports the intent (patterns observed, decisions made, problems encountered)

This intent summary is passed as input to all subagents.

Analyzing Playbook

CLI health check: Before launching subagents, run packmind --version. If it fails, stop immediately and tell the user: "The Packmind CLI is not available or not working. Please check your installation before proceeding." Do not continue.

No subagent support? If the Task tool is unavailable, perform all three domain analyses sequentially in the current session — run each steps/analyze-*.md analysis one after another before proceeding to Change Report.

Launch all three as Task(general-purpose) subagents simultaneously — do not wait for one before starting the others. Each subagent handles its own listing, filtering, and deep analysis in one pass.

Construct each prompt as:

## Validated Intent

<the intent summary from Summarizing Changes>

## Analysis Task

<full contents of the corresponding steps/analyze-*.md file>
SubagentStep FileOutput
Standardssteps/analyze-standards.mdStandards change report
Commandssteps/analyze-commands.mdCommands change report
Skillssteps/analyze-skills.mdSkills change report

For each domain, decide whether to launch or skip based on the validated intent's target artifact type:

  • Launch if the intent mentions or affects that artifact type (standard, command, or skill)
  • Always launch skills — skill accuracy must be checked against any behavioral change
  • Limit scope to the targeted artifact type when the intent is explicit and narrow (e.g., "update standard X" → standards only, no commands or unrelated skills)

Change Report

After all subagents complete, consolidate their reports. Before numbering, deduplicate: if multiple subagents propose modifying the same artifact, merge those into one entry combining both rationales — do not list the same artifact twice. Number every change sequentially so the user can selectively approve:

## Playbook Change Report

<!-- Only include sections that have changes. Omit empty sections entirely. -->
<!-- Ordering reflects priority: skill accuracy first, then standards, then commands. -->
<!-- New commands have a high bar — see domain-commands.md for criteria. -->

### Skill Updates
1. [skill] <name>: <what changed and why>

### New Skills
2. [skill] <name>: <reason>

### Standard Updates
3. [standard] <name>: <what changed and why>

### New Standards
4. [standard] <name>: <reason>

### New Commands
5. [command] <name>: <reason>

### Command Updates
6. [command] <name>: <what changed and why>

Only include sections that have actual changes — omit empty sections entirely. Order by priority: skills first, then standards, then commands.

Present this report and ask the user for approval:

  • Single change: ask "Do you accept this change?"
  • Multiple changes: ask "Which changes to apply?" and accept:
    • All: apply every numbered change
    • Inclusion list: "1, 3, 5" or "only 2 and 6"
    • Exclusion list: "all but 4" or "everything except 2, 7"

Applying Changes

Follow the procedure in packmind-versions/<$PACKMIND_CLI_VERSION>/apply-changes.md. Pass it the list of approved changes (with their numbers and details) from the Change Report above.

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.