agentleFS
knowttlknowttl/bstack/skills/bstack-mode/SKILL.md

bstack-mode

Skill0 starsChanged 5 days agoMITView on GitHub

Route a plain request to the right bstack skill and apply bstack's shared engineering principles without loading every skill. Use when the user says "use bstack-mode", "which bstack skill fits this", "harden this repo with bstack", wants one consistent bstack entry point, or asks for bstack principles to guide debugging, refactoring or retry behaviour.

The file

We split this skill into the rules it gives an agent

7 rules. About 0 are common, 4 are distinctive, and 3 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈4

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 3

    Very specific

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

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

    Start bstack-mode when the user invokes /bstack-mode, $bstack-mode or /skill:bstack-mode, asks for one entry point into bstack, or asks for …

    line 8
  2. Distinctive:

    Enforce the constraint ladder: Stop at the highest level that works: Architecture -> Types -> Lint / static / model check -> Automated test …

    line 17
  3. Distinctive:

    Prove checks before trusting them: Every new lint, boundary, comment or formal check must fail on a real past mistake (or seeded violation …

    line 18
  4. Distinctive:

    When no standalone skill matches, such as for a direct bug fix, refactor or retry improvement, select the applicable principles below and …

    line 48
  5. Distinctive:

    Read the relevant principle before acting when its trigger fires.

    line 53
  6. Very specific:

    When the request asks for repo setup or a repo-wide audit, run /repo-audit next to get a cited, ordered checklist, or ask the user which …

    line 72
  7. Very specific:

    After the calling agent finishes a principle-guided change via the fallback above, suggest /verification to prove it.

    line 73

≈ “Common” is an estimate: at least 1 in 5 of the 408,460 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

Scope

Start bstack-mode when the user invokes /bstack-mode, $bstack-mode or /skill:bstack-mode, asks for one entry point into bstack, or asks for its principles to guide debugging, refactoring or retry behaviour. This skill is a thin, stateless router over bstack's skills and selects principles for specific engineering decisions. It holds no execution playbooks, edits no files and opens no pull requests.

Non-negotiables

Apply these rules whenever routing or running bstack work:

  1. Audit before editing. Restate the goal, inspect the repo read-only and cite every factual claim to path:line checked against current bytes.
  2. Enforce the constraint ladder. Stop at the highest level that works: Architecture -> Types -> Lint / static / model check -> Automated test -> Agent instructions / docs -> Human review.
  3. Prove checks before trusting them. Every new lint, boundary, comment or formal check must fail on a real past mistake (or seeded violation when no past bug exists) with a clear fix diagnostic, then pass on clean code.
  4. Verify real behaviour. Drive the real product end to end, test against real local databases instead of mocking persistence, and preserve all security, authorization and compliance tests.
  5. Match ceremony to stakes. Preview exact diffs and get owner approval before writing high-stakes or shared-config files; use the lighter path for tiny, reversible edits.
  6. Derive the design from observable contracts. Reconstruct the problem from what callers can observe and derive the smallest structure that satisfies those contracts. Treat the current or proposed implementation as a hypothesis that evidence can disprove. Simplify the design when the cost of verification rises out of proportion to the risk.

Route to the right skill

Pick the single skill (or at most two in sequence) that matches the request, then hand off to it by name:

User intentSkill
First look at a repo, "what should I set up next?", lock-down scorecard/repo-audit
Define purpose, users, non-goals or stress-test an idea/vision
Define domain terms or fix inconsistent naming/glossary
Design or audit module boundaries, dependencies or ADRs/architecture
Scaffold a brand-new empty project from an approved vision/foundation
Create or maintain a real-product verification kit, audit tests or add comment/slop checks/verification (create or maintain)
Turn a repeated mistake from commits, PRs or transcripts into a proven check/verification correct
Prove a high-stakes concurrency, retry, lock or state-machine property/formal-verification
Register docs, check drift or sweep the whole repo/maintenance (create or sweep)
Create, slim down or audit AGENTS.md / CLAUDE.md pointers/agents-md
Create or audit README.md/readme
Tune .no-mistakes.yaml review noise, fix rounds or ignore patterns/no-mistakes-tuning
Break an approved design into small, verifiable PR units/plan
Compare 2-3 throwaway design approaches with real measurements/prototype
Find and rank measured bottlenecks and research ways to improve them/optimize-audit
Iteratively improve a frozen metric and review the resulting patch/hill-climb
Explain how code works, why it exists, or both/how, /why, /teach
Catch up from past Claude Code or Codex transcripts/recall

When no standalone skill matches, such as for a direct bug fix, refactor or retry improvement, select the applicable principles below and end routing here. Return control to the calling agent to do the requested work under the six non-negotiables and the selected principles (do not start /repo-audit unless the request asks for a repo-wide audit).

Load when

Read the relevant principle before acting when its trigger fires. Name the principle only when it changed a decision.

WhenOpen
Two fixes based on one assumption fail the same checkreferences/principles/attack-the-premise.md
Debugging a reported or reproduced failure, or about to add a guard, retry or fallbackreferences/principles/fix-root-causes.md
Choosing a measure or relying on a measured differencereferences/principles/explain-the-number.md
Removing dead weight before adding, or deciding whether to add a layerreferences/principles/laziness-and-subtraction.md
Replacing an internal API whose callers can migrate togetherreferences/principles/migrate-callers-then-delete-legacy-apis.md
Authoring an approved private multi-phase migration or rewrite planreferences/principles/outcome-oriented-execution.md
Manual work or evidence collection is hard to repeat or reviewreferences/principles/build-the-lever.md
A state-changing operation may retry or resume after interruptionreferences/principles/make-operations-idempotent.md
Concurrent actors might write the same targetreferences/principles/separate-before-serializing-shared-state.md
Parsing external data, designing domain types or encoding state transitionsreferences/principles/boundary-and-type-discipline.md
Choosing product scope, interface behaviour or public API ergonomicsreferences/principles/experience-first.md

Next step

When the request asks for repo setup or a repo-wide audit, run /repo-audit next to get a cited, ordered checklist, or ask the user which single skill from the table to run. After the calling agent finishes a principle-guided change via the fallback above, suggest /verification to prove it.

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.