speq-code-guardrails SKILL.md skillA
speq-code-guardrails from marconae/speq-skill is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add marconae/speq-skill/speq-code-guardrails@git:20261011.5b73638Pins git:20261011.5b73638 in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 17 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- marconae/speq-skill
- Path
.claude/skills/speq-code-guardrails/SKILL.md- Versions recorded
- 8
- Latest version
- git:20261011.5b73638, committed Oct 11, 2026
- First version recorded
- Jul 20, 2026
- Size
- 5,353 bytes
- Repository stars
- 55
- License
- MIT
TDD cycle and code quality guardrails — failing-test-first, evidence, dependency, error-handling, and test-quality rules. Used by speq implementer and reviewer agents during a speq implement run. Not for general coding.
Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.
What the file says
# Code Guardrails TDD workflow and quality guardrails. Draws on established practice, including work by R. Martin, K. Beck, B. Meyer, and Toyota's Five Whys. ## Golden Rule **No production code without a failing test first.** Before changing existing code that has no test, add one that captures its current behavior first. ## Evidence Rule **No claim without evidence.** Run command, show output, then claim. ## Dependency Rule **No new dependency without confirming the standard library or an already-installed dependency cannot do it first.** ## TDD Cycle (London School) ``` RED → Write failing test, run it, show failure GREEN → Minimal code to pass, run test, show pass REFACTOR → Clean up, run test + lint, show output ``` Run ONLY the test you created/changed, not the full suite. ## Tests - Arrange, act, assert. One concept per test. - The test name states the condition and the expected behavior. - Independent and repeatable: no shared mutable state, no real clock, network, filesystem, or unseeded randomness. - Cover every branch and every edge case: empty, single, maximum, off-by-one, transition, and each way the operation can fail. …
Read the whole file at its exact version.
How to install
mdr add marconae/speq-skill/speq-code-guardrails@sha256:0fc90c3e97f572acThe line at the top of this page pins the label git:20261011.5b73638, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.
[](https://markdownregistry.com/a/art_je7kc3skw5cx4zgu)
4 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 8 versions of this file, between Jul 20, 2026 and Oct 11, 2026, about one every 12 days.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20261011.5b73638 latest | 2026-10-11 | 5b73638 | 5,353 B | A | view · diff |
| git:20261003.8799978 | 2026-10-03 | 8799978 | 5,373 B | A | view · diff |
| git:20260925.9f0d8cf | 2026-09-25 | 9f0d8cf | 5,300 B | A | view · diff |
| git:20260825.418db64 | 2026-08-25 | 418db64 | 5,180 B | A | view · diff |
| git:20260825.d3fff94 | 2026-08-25 | d3fff94 | 5,220 B | A | view · diff |
| git:20260728.e50330f | 2026-07-28 | e50330f | 5,237 B | A | view · diff |
| git:20260726.540fbff | 2026-07-26 | 540fbff | 5,115 B | A | view · diff |
| git:20260720.15e76d6 | 2026-07-20 | 15e76d6 | 2,404 B | A | view |
Audit of the latest version
- pass: Frontmatter block present
- pass: Frontmatter declares a name
- pass: Frontmatter declares a description
- pass: Size between 200 bytes and 200 KB (5353 bytes)
- pass: No zero-width or bidi control characters
- pass: No instruction hidden inside an HTML comment
- pass: No link to an exfiltration or paste host
- pass: No credential-shaped string
- pass: No instruction to send local credentials anywhere
- pass: No text hidden with inline styles
- pass: No prompt-injection phrasing
- pass: No curl or wget piped into a shell
- pass: No recursive delete of root, home or parent
- pass: No instruction to read or print local credentials
- pass: No base64 blob over 200 characters
- pass: No link to a raw IP address
- pass: No script tag
Source
marconae/speq-skill · 55 stars · license MIT · pushed 2026-10-17 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_je7kc3skw5cx4zgu GET https://markdownregistry.com/api/v1/resolve?ref=marconae/speq-skill/speq-code-guardrails GET https://markdownregistry.com/api/v1/blob/0fc90c3e97f572accf7a8b31a8747c706b8a3c25497a4d6df2f3e8357481fede
Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.
Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.