skills/example/ex-triage/SKILL.md
Example skill — pick the next task and write next-task.json. Demonstrates task selection with AskUserQuestion and skip_when output.
npx skillsauth add ricky-yosh/agent-workflows ex-triageInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Pick the next task from tasks.json and write the decision to next-task.json.
Read .aw/test-progress/tasks.json. If it doesn't exist, create it:
[
{ "id": 1, "description": "Add a greeting function", "done": false },
{ "id": 2, "description": "Fix the return value", "done": false }
]
Find the first task where done is false. If all tasks are done, say "All tasks complete." and stop.
AskUserQuestion:
question: "Next: Task <id> — <description>. Skip tests?"
options:
- "Go (with tests)"
- "Go (skip tests)"
- "Done — stop here"
Write .aw/test-progress/next-task.json:
{
"taskId": <id>,
"description": "<description>",
"skipTests": <true if "skip tests" was selected>
}
Say: "Triage complete."
development
Write tests for a batch of tasks BEFORE implementation. Detects the project's test framework and language, then writes tests that cover happy paths, edge cases, and failure modes. All tests should fail initially since there is no implementation yet. Part of the gf (greenfield) skill family. Use when the user says /gf-write-tests or wants to write tests before implementing a feature or task batch.
testing
Generate readable testing notes after a feature is complete. Compares spec against implementation to produce a concise list of what was built, how to test it, and any scope gaps. Writes testing-notes.md to .aw/greenfield-progress/. Part of the gf (greenfield) skill family.
testing
Save current session work to .aw/greenfield-progress/progress.txt. Captures decisions (why, not just what) that git diff cannot show. Updates tasks.json to mark completed tasks. Part of the gf (greenfield) skill family.
testing
Gate the greenfield workflow on user verification after an implementation step. Reads the implementation digest, shows verification steps, and waits for the user to confirm before advancing. Part of the gf (greenfield) skill family.