agentleFS
joris887joris887/exosuit/.claude/skills/testing-cycle/SKILL.md

testing-cycle

Skill9 starsChanged 3 months agoMITView on GitHub

Process a single user testing feedback item — classify, fix or log, verify, and report.

The file

Show its rules and text

We split this skill into the rules it gives an agent

17 rules. About 0 are common, 16 are distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈16

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 1

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Wait for user confirmation.

    line 40
  2. Distinctive:

    Search for related files using the feedback keywords

    line 47
  3. Distinctive:

    Read the relevant source files

    line 48
  4. Distinctive:

    Check if there's an existing test covering this behavior

    line 49
  5. Distinctive:

    If a test exists but tests the wrong thing → fix the test first (it should now fail)

    line 51
  6. Distinctive:

    If no test exists → write a failing test that captures the bug

    line 52
  7. Distinctive:

    Run the test to confirm it fails

    line 53
  8. Distinctive:

    Verify tests pass: Run the project's test command (from CLAUDE.md)

    line 55
  9. Distinctive:

    Add test: only if the behavior is non-trivial or regression-prone

    line 63
  10. Distinctive:

    Add the story section (use next available story number)

    line 76
  11. Distinctive:

    Update the summary table

    line 77
  12. Very specific:

    If fixing now: implement, test, commit as feat(scope): or fix(scope):

    line 97
  13. Distinctive:

    If deferring: log to backlog and report

    line 98
  14. Distinctive:

    After any code change:

    line 102
  15. Distinctive:

    Run the project's test command (from CLAUDE.md) to verify all tests pass

    line 104
  16. Distinctive:

    If the app is running, ask the user: "Can you verify this in the running app?"

    line 105
  17. Distinctive:

    If tests fail, fix the issue before proceeding

    line 106

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

testing-cycle

Processing feedback: $ARGUMENTS

Phase 1: Classify Feedback

Analyze the feedback and assign a classification:

TypeIndicatorsEffort
Bug (Critical)Functionality broken, crash, data loss, core featureHigh
Bug (Minor)UI glitch, cosmetic, edge case, non-blockingLow
GapMissing feature, expected capability not implementedBacklog
Test CorrectionAutomated test tests wrong behavior, false positiveMedium
EnhancementUX improvement, better wording, nice-to-haveVaries

Present the classification to the user for confirmation before proceeding.

Show:

  • Feedback: (original, quoted)
  • Classification: [type]
  • Rationale: (why this classification)
  • Proposed action: (what will be done)

Wait for user confirmation. They may reclassify.

Phase 2: Act by Type

Bug (Critical)

  1. Investigate: Find relevant code, understand the root cause
    • Search for related files using the feedback keywords
    • Read the relevant source files
    • Check if there's an existing test covering this behavior
  2. Test first:
    • If a test exists but tests the wrong thing → fix the test first (it should now fail)
    • If no test exists → write a failing test that captures the bug
    • Run the test to confirm it fails
  3. Fix the code: Make the minimal change to fix the bug
  4. Verify tests pass: Run the project's test command (from CLAUDE.md)
  5. Ask user to verify: "Can you verify this fix in the running app?"
  6. Commit: fix(scope): description

Bug (Minor)

  1. Identify the issue in code
  2. Fix the code (minimal change)
  3. Add test only if the behavior is non-trivial or regression-prone
  4. Run the project's test command
  5. Commit: fix(scope): description

Gap

  1. Document the gap clearly
  2. Write a user story with:
    • Type, estimated effort
    • Description explaining what's missing and why it matters
    • INVEST-style acceptance criteria
    • Technical notes if relevant
  3. Add to the appropriate backlog file in docs/reference/backlog/:
    • Add the story section (use next available story number)
    • Update the summary table
  4. Update docs/reference/BACKLOG_INDEX.md if a new story was added
  5. Do NOT implement — this is scope control
  6. Report what was logged

Test Correction

  1. Find the problematic test
  2. Understand the correct behavior from user feedback
  3. Fix the test to match correct behavior
  4. Run the corrected test — if it now fails, also fix the code
  5. Run the project's test command
  6. Commit: test(scope): correct [description] (add fix prefix if code also changed)

Enhancement

  1. Evaluate scope:
    • Trivial (< 10 lines, obvious improvement) → ask user if should fix now
    • Larger → create backlog story (same process as Gap)
  2. Act accordingly:
    • If fixing now: implement, test, commit as feat(scope): or fix(scope):
    • If deferring: log to backlog and report

Phase 3: Verify

After any code change:

  1. Run the project's test command (from CLAUDE.md) to verify all tests pass
  2. If the app is running, ask the user: "Can you verify this in the running app?"
  3. If tests fail, fix the issue before proceeding

Phase 4: Report

Present a summary:

### Feedback Processed

**Feedback:** [original feedback]
**Classification:** [type]
**Action taken:** [what was done]
**Files modified:** [list of files]
**Tests:** [added/modified/none] — tests [pass/fail]
**Commit:** [hash and message] (or "logged to backlog as [story-ID]" for gaps)

Ready for next feedback item (`/testing-cycle <feedback>`) or finish testing.

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.