agentleFS
stbenjamstbenjam/skillsaw/.claude/skills/skillsaw-release-ready/SKILL.md

skillsaw-release-ready

Skill68 starsChanged 4 months agoApache-2.0View on GitHub

Audit skillsaw for release readiness — test new rules against real repositories, audit core architectural dimensions, independently verify proposed fixes, and ship improvements in clean, focused batches. Use before cutting a release.

The file

We split this skill into the rules it gives an agent

11 rules. About 0 are common, 5 are distinctive, and 6 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈5

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 6

    Very specific

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

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

    Ensure skillsaw is rock-solid before every release.

    line 17
  2. Distinctive:

    Is it helpful and high-signal?: Ensure rules provide clear value without unnecessary noise.

    line 23
  3. Very specific:

    Use ~/tmp/skillsaw-audit/ for working files (corpus/, reports/, briefs/, work/<agent>/).

    line 40
  4. Very specific:

    Use skillsaw lint <path> --no-custom-rules --rule <id> to test specific rules directly.

    line 43
  5. Distinctive:

    Tier 2 / Tier 3: Follow-up fixes and future improvements.

    line 55
  6. Distinctive:

    Run a dedicated reviewer subagent to double-check the checklist:

    line 61
  7. Distinctive:

    Verify that proposed fixes don't introduce unintended false negatives.

    line 63
  8. Very specific:

    Run make test, make lint, and make update (commit any generated changes).

    line 69
  9. Very specific:

    When the batch touches a content rule, the lint tree, or utils.py read paths, save a benchmark on main with make benchmark-save and run …

    line 70
  10. Very specific:

    Run a smoke test on openshift-eng/ai-helpers.

    line 71
  11. Distinctive:

    Before creating the release tag, verify that release notes clearly highlight all user-visible changes (such as new rules, updated severity …

    line 77

≈ “Common” is an estimate: at least 1 in 5 of the 213,897 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
<!-- Source paths below are repo-root-relative references, not links navigable from this skill's directory. --><!-- skillsaw-disable content-unlinked-internal-reference -->

skillsaw Release Ready

Ensure skillsaw is rock-solid before every release. This skill orchestrates parallel subagent reviews to test newly added rules against real-world repositories, audits key codebase dimensions, and ships vetted improvements in clean batches of up to 10 commits per PR.

Reviewers evaluate every finding using three core questions:

  1. Does it affect common usage? Prioritize findings that developers will frequently encounter on real projects.
  2. Is it accurate? Guard against false positives on files that upstream tools accept.
  3. Is it helpful and high-signal? Ensure rules provide clear value without unnecessary noise.

Step 1: Establish scope

Identify what has changed since the last release tag:

git fetch --tags
git diff --name-status v<last>..HEAD -- src/skillsaw/rules/builtin/ | grep -E '^[AM]'
git log --merges --format=%s v<last>..HEAD
gh pr view <n> --json title,body   # review previous release-readiness PRs

List new rule IDs, modified rules, and fixes that have already landed so reviewers can focus on unresolved areas.

Step 2: Set up the audit workspace

  • Use ~/tmp/skillsaw-audit/ for working files (corpus/, reports/, briefs/, work/<agent>/).
  • Shallow-clone a representative corpus of real repositories into corpus/ (see corpus).
  • Install the previous release in ~/tmp/skillsaw-audit/venv-<last>/ to run comparative checks without touching the main development .venv.
  • Use skillsaw lint <path> --no-custom-rules --rule <id> to test specific rules directly. Pass --no-custom-rules on every corpus scan: a cloned repository's .skillsaw.yaml can name Python files under custom-rules, and the linter would run them.

Step 3: Launch reviewers and auditors

Launch reviewer subagents for new rules and dimension auditors in parallel. Each agent reviews shared guidelines in briefs, writes its findings to reports/<name>.md, and returns a concise verdict with top-priority findings.

Whenever possible, agents should check behavior against official schemas, CLIs, or validators rather than relying solely on documentation.

Step 4: Consolidate findings into CHECKLIST.md

Synthesize all reports into CHECKLIST.md:

  • Tier 1: Up to 10 top-priority fixes for the first PR (ordered by real-world impact and fix simplicity).
  • Tier 2 / Tier 3: Follow-up fixes and future improvements.
  • Rule summary table: Clear status for each reviewed rule.
  • Include file paths and line numbers for all reported issues.

Step 5: Independent verification & review

Run a dedicated reviewer subagent to double-check the checklist:

  • Reproduce Tier 1 issues on sample repositories or fixtures.
  • Verify that proposed fixes don't introduce unintended false negatives.
  • Refine priorities and confirm the final list of up to 10 fixes for the initial PR (see critic).

Step 6: Ship in batches

Bring main up to date with upstream first (git remote -v names stbenjam/skillsaw; fetch it and merge its main), then branch from it and implement each fix in its own clear, well-tested commit:

  1. Run make test, make lint, and make update (commit any generated changes).
  2. When the batch touches a content rule, the lint tree, or utils.py read paths, save a benchmark on main with make benchmark-save and run make benchmark-compare on the branch; violation counts cannot show a runtime regression.
  3. Run a smoke test on openshift-eng/ai-helpers.
  4. Compare before-and-after violation counts on sample corpus repositories.
  5. Open the PR with clear evidence for each fix, and follow standard post-PR checks.

Step 7: Final release notes check

Before creating the release tag, verify that release notes clearly highlight all user-visible changes (such as new rules, updated severity defaults, or CLI improvements).

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.