development

Development and release checks for skillsaw, a rule-based tool that checks agent instructions and related project files.

In plain words
What is it for?
Use them before pushing or opening a pull request: update from the upstream project, run tests and linting, regenerate files, test against the named repository, update documentation, and check coverage.
Why use it?
They provide a required checklist for catching failing tests, formatting problems, stale generated files, missing documentation, and compatibility issues before sharing changes.

Cursor rule for Cursor

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add rules/stbenjam/skillsaw/development
Clone the repo
git clone --depth 1 https://github.com/stbenjam/skillsaw

Made for: Cursor.

Per session 10 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 3,796 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00010 $0.03796
Opus 5 $0.00005 $0.01898
Sonnet 5 $0.00002 $0.00759
Haiku 4.5 $0.00001 $0.00380

Measured 2d ago against content hash 645853d35bb8, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

development scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.cursor/rules/development.mdc · 267 lines

How it starts

The opening of the file, as written. The whole thing — 267 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Follow these rules when developing skillsaw, a configurable, rule-based linter for agentic contextual building blocks.

Pre-push Checklist

CRITICAL: You MUST always run these steps before pushing changes.

  1. Ensure branch is up to date with UPSTREAM (stbenjam/skillsaw) — check git remotes then merge upstream's main.
  2. Run make test — run the full test suite and ensure all tests pass. Never assume a problem is pre-existing; follow the boyscout rule and fix it anyway.
  3. Run make lint — check formatting (or run make format to fix it).
  4. Run make update — regenerate all generated files (must come after version bump).
  5. Test against openshift-eng/ai-helpers: clone it, run skillsaw, and ensure exit 0.

Pre-PR Checklist

Follow these checks before opening a PR:

  • Check whether documentation is up to date for the changes on this branch.
    • Example: you add a new feature, flag, or lint type. Action: update README.md to include this.
    • Example: you encounter a problem during development you must keep for later. Action: update .apm/instructions and run make update.
  • Verify test coverage on a new feature, flag, lint type or bug fix is complete.
    • Bug fixes must include regression protection.
    • New features, linters, and rules need integration test coverage WITH fixtures (see testing rules).

Authoring Agentic Context

When you create or edit a skill, slash command, agent, hook, or instruction file in this repo, load the skillsaw-lint skill and follow it: lint the file with .venv/bin/skillsaw lint <path>, apply fixes, and re-lint until clean before you finish. We ship the linter — our own context must pass it.

Post-PR Checklist

After opening a PR, keep monitoring for feedback from CodeRabbit, Gemini, and stbenjam. You may stop monitoring 20 minutes after you push a PR. Review and handle valid feedback that comes in.

Performance

Benchmark lint speed with the harness in benchmarks/ (make benchmark, make profile, make benchmark-save / make benchmark-compare for regression checks — review DEVELOPMENT.md). When touching content rules, the lint tree, or utils.py read paths, save a baseline on main and compare on your branch.

Read the full file on GitHub · 267 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2d ago First seen · 267 lines · 10 tokens per session scan A 645853d35bb8

Subscribe to this mod's changes

development is a cursor rule published in the GitHub repository stbenjam/skillsaw (59 stars, last pushed 2d ago), licensed Apache-2.0. It adds 10 tokens to every session and 3,796 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.