agentleFS
skullninjaskullninja/coco-workflow/skills/hotfix/SKILL.md

hotfix

Skill7 starsChanged 2 months agoMITView on GitHub

Single-issue workflow for quick fixes and small changes that don't need full epic tracking. Creates a branch, implements the fix, commits with issue tracking, and closes.

  • Commits and pushes

29 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use playtest-report, soak-test and 10 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • CoralGameSkill

    playtest-report

    Generates a structured playtest report template or analyzes existing playtest notes into a structured format. Use this to standardize playtest feedback collection and analysis.

    Also in 12 projects that use this

  • lilangMaxSkill

    soak-test

    Generate a soak test protocol for extended play sessions. Defines what to observe, measure, and log during long play sessions to surface slow leaks, fatigue effects, and edge cases that only appear after sustained play. Primarily used in Polish and Release phases.

    Also in 9 projects that use this

  • lilangMaxSkill

    team-live-ops

    Orchestrate the live-ops team for post-launch content planning: coordinates live-ops-designer, economy-designer, analytics-engineer, community-manager, writer, and narrative-director to design and plan a season, event, or live content update.

    Also in 9 projects that use this

  • CoralGameSkill

    team-polish

    Orchestrate the polish team: coordinates performance-analyst, technical-artist, sound-designer, and qa-tester to optimize, polish, and harden a feature or area for release quality.

    Also in 14 projects that use this

  • +5 more from lilangMax
  • +3 more from CoralGame

The file

Show its rules and text

We split this skill into the rules it gives an agent

14 rules. 0 are common, 5 are distinctive, and 9 are very specific to this project.

  • 0

    Common

    Most of the 27 edited versions we read keep these.

  • 5

    Distinctive

    This author's own choices. Worth a look.

  • 9

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Read .coco/config.yaml for issue tracker configuration.

    line 23
  2. Very specific:

    If $ARGUMENTS contains an issue key/ID, load it.

    line 25
  3. Very specific:

    If github.use_projects is true: check .coco/state/gh-projects.json for an active feature project.

    line 42
  4. Distinctive:

    Run test suite to verify no regressions

    line 65
  5. Very specific:

    Check pre_commit.ui_patterns from config against staged files.

    line 73
  6. Very specific:

    Read pr config from .coco/config.yaml.

    line 94
  7. Very specific:

    If github.use_projects is true and the issue was added to a project, add the PR to the project board:

    line 130
  8. Distinctive:

    Use the URL from the output:

    line 136
  9. Very specific:

    If CHANGES REQUESTED: fix critical findings, push, re-review (same loop as /coco:execute)

    line 144
  10. Distinctive:

    After approval: merge PR

    line 145
  11. Very specific:

    Update state to status_map.completed (default: "Done")

    line 159
  12. Distinctive:

    Add implementation summary to issue description

    line 160
  13. Distinctive:

    Add comment with fix details

    line 164
  14. Very specific:

    If github.use_projects is true and the issue was added to a project: set status to "Done":

    line 166

“Common” is measured: kept by at least 6 in 10 of the 27 edited versions of this file we could read. “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

Coco Hotfix Skill

Lightweight workflow for single-issue fixes and small changes that don't warrant full epic tracking.

When to Use

  • Bug fixes that affect a single area
  • Small enhancements (< 1 day of work)
  • Quick changes where dependency tracking isn't needed
  • Any work that maps to a single issue tracker entry

For multi-session features with dependencies, use the execute skill instead.

Workflow

1. Setup

Read .coco/config.yaml for issue tracker configuration.

If $ARGUMENTS contains an issue key/ID, load it. Otherwise, create a new issue:

If "linear":

Use: mcp__plugin_linear_linear__create_issue
Parameters:
  title: "{fix description}"
  team: {from config issue_tracker.linear.team}
  labels: {from config issue_tracker.linear.labels}
  state: "In Progress"

If "github":

gh issue create --title "{fix description}" --label "{comma-separated labels from issue_tracker.github.labels in config}"

If github.use_projects is true: check .coco/state/gh-projects.json for an active feature project. If one exists, add the issue to it and set status to "In Progress":

gh project item-add {project_number} --owner {github.owner} --url {issue_url}
gh project item-edit --project-id {project_id} --id {item_id} --field-id {status_field_id} --single-select-option-id {status_options["In Progress"]}

If "none": Skip issue creation.

2. Create Branch

git checkout -b fix/{short-name}

3. Implement Fix

  • Understand the issue (read related code, reproduce if bug)
  • For a bug: reproduce it in a failing test first. A bug that shipped once is proof the failure mode is real and undefended -- that is the highest-value test there is, and it is the one case where a test is always worth writing
  • For a non-bug change (config, docs, a small refactor), write a test only if it defends a failure mode nothing else covers. Do not add a test purely to accompany the diff
  • Implement the fix
  • Run test suite to verify no regressions

Hotfixes have no design.md and therefore no test budget. Every test here is technically "unplanned" -- that is expected and is not a finding. Report the Test Value table with FR: n/a.

If this hotfix acts on /coco:test-audit findings (the user asked to "fix TA-3", or similar), cite every finding ID it resolves in the PR body under a ## Resolves Audit Findings heading, one line per ID with the file and what changed. Code review reads those IDs and will not re-flag the removed coverage -- without them, a test-deletion PR is reviewed as if the coverage were dropped for no reason.

4. Pre-Commit Validation

Check pre_commit.ui_patterns from config against staged files. If matches found and pre-commit-tester agent is configured, invoke it.

5. Commit

git add {specific-files}
git commit -m "$(cat <<'EOF'
{fix description}. Completes {issue_key}

{What was wrong and how it was fixed}

Co-Authored-By: Claude <noreply@anthropic.com>
EOF
)"

6. Create PR and Review

Read pr config from .coco/config.yaml.

If pr.enabled:

git push -u origin fix/{short-name}
gh pr create --base main --head fix/{short-name} --title "{issue_key}: {fix description}" --body-file - <<'EOF'
## Fix Summary

{What was wrong and how it was fixed}

Resolves {issue_key}

## Test Results

{test output summary}

## Test Value

| Test | Defends | FR | Planned? |
|------|---------|----|----------|
| {test name} | {concrete failure mode it catches} | n/a | n/a (hotfix) |

## Resolves Audit Findings

- {TA-N}: {file} -- {what changed and why the finding applies}
EOF

Include the Test Value table only if the hotfix adds or changes tests. FR and Planned? are always n/a for hotfixes -- there is no design to plan against.

Include ## Resolves Audit Findings only when acting on /coco:test-audit findings. Omit the whole section otherwise.

If github.use_projects is true and the issue was added to a project, add the PR to the project board:

gh pr view --json url -q .url

Use the URL from the output:

gh project item-add {project_number} --owner {github.owner} --url "{PR_URL}"

If pr.review.enabled:

  • Invoke code-reviewer agent on the PR
  • If CHANGES REQUESTED: fix critical findings, push, re-review (same loop as /coco:execute)
  • After approval: merge PR
gh pr merge {pr-number} --{pr.issue_merge_strategy} --delete-branch

If pr.enabled is false:

  • Push branch and suggest creating a PR manually

7. Update Issue Tracker

Triggered by PR merge (or by commit if PRs disabled). This is when the issue resolves.

If "linear":

  • Update state to status_map.completed (default: "Done")
  • Add implementation summary to issue description
  • Post comment with details

If "github":

  • Add comment with fix details
  • Closes #N in PR body auto-closes the issue (if using PRs)
  • If github.use_projects is true and the issue was added to a project: set status to "Done":
    gh project item-edit --project-id {project_id} --id {item_id} --field-id {status_field_id} --single-select-option-id {status_options["Done"]}

If "none": Skip

8. Report

Output:

  • Branch name
  • Issue key (if created)
  • PR number (if created)
  • Commit hash
  • Files changed

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.

Reviews can't be read right now.

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.