precommit SKILL.md skillA
precommit from mycelium-io/mycelium is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add mycelium-io/mycelium/precommit@git:20261006.e95c919Pins git:20261006.e95c919 in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 17 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- mycelium-io/mycelium
- Path
.claude/skills/precommit/SKILL.md- Versions recorded
- 5
- Latest version
- git:20261006.e95c919, committed Oct 6, 2026
- First version recorded
- Aug 21, 2026
- Size
- 6,121 bytes
- Repository stars
- 121
- License
- a license file GitHub does not identify
Run precommit checks (lint, format, tests) on the mycelium codebase. Use when the user says /precommit or wants to check code quality before committing.
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
# Precommit Checks Run all quality checks on the mycelium codebase. Auto-fix issues where possible. ## Steps 1. **Lint + format** — Fix lint and format issues automatically: ```bash cd fastapi-backend && uv run ruff check --fix . && uv run ruff format . cd mycelium-cli && uv run ruff check --fix . && uv run ruff format . ``` 2. **Type check (ty)** — Both backend and CLI must come back clean. CI gates on this: ```bash cd fastapi-backend && uv run ty check . cd mycelium-cli && uv run ty check . ``` Generated client (`mycelium-cli/src/mycelium_backend_client/`) is excluded via `[tool.ty.src]` since openapi-python-client templates produce diagnostics we can't fix without forking the generator. New diagnostics outside that path must be resolved before commit — don't paper over with `# ty: ignore` unless the underlying issue is a typeshed/library bug (CORSMiddleware add_middleware is the canonical example). **Stale client signal:** if ty reports `unknown-argument` or `unresolved-attribute` on a type imported from `mycelium_backend_client`, the generated client is out of date — skip to step 6 and regenerate before re-running ty. …
Read the whole file at its exact version.
How to install
mdr add mycelium-io/mycelium/precommit@sha256:b1828dd7f2660fd8The line at the top of this page pins the label git:20261006.e95c919, 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_fxkqiqt6mikrq2yp)
4 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 5 versions of this file, between Aug 21, 2026 and Oct 6, 2026, about one every 12 days.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20261006.e95c919 latest | 2026-10-06 | e95c919 | 6,121 B | A | view · diff |
| git:20261003.2182c0d | 2026-10-03 | 2182c0d | 6,114 B | A | view · diff |
| git:20261002.0c038b9 | 2026-10-02 | 0c038b9 | 6,244 B | A | view · diff |
| git:20260826.21b3d54 | 2026-08-26 | 21b3d54 | 6,129 B | A | view · diff |
| git:20260821.bb54343 | 2026-08-21 | bb54343 | 5,674 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 (6121 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
mycelium-io/mycelium · 121 stars · license a license file GitHub does not identify · pushed 2026-10-21 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_fxkqiqt6mikrq2yp GET https://markdownregistry.com/api/v1/resolve?ref=mycelium-io/mycelium/precommit GET https://markdownregistry.com/api/v1/blob/b1828dd7f2660fd8c6d59293b75c653eef0b0996da254292ccc737a109525b2c
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.
More from mycelium-io/mycelium
Every file in mycelium-io/mycelium