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.

Install it, pinned
mdr add mycelium-io/mycelium/precommit@git:20261006.e95c919

Pins 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

The exact contents, by fingerprint
mdr add mycelium-io/mycelium/precommit@sha256:b1828dd7f2660fd8

The 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.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_fxkqiqt6mikrq2yp.svg)](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.

versioncommittedcommitsizeaudit
git:20261006.e95c919 latest2026-10-06 e95c919 6,121 BA view · diff
git:20261003.2182c0d2026-10-03 2182c0d 6,114 BA view · diff
git:20261002.0c038b92026-10-02 0c038b9 6,244 BA view · diff
git:20260826.21b3d542026-08-26 21b3d54 6,129 BA view · diff
git:20260821.bb543432026-08-21 bb54343 5,674 BA view

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • 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

GitHub

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

generate-cli-docs SKILL.md skill
mycelium-io/mycelium · .claude/skills/generate-cli-docs/SKILL.md · Regenerate the HTML docs site (CLI Reference, Configuration, content sections) from decorators, the pydantic config…
git:20261003.2182c0d · audit A · 121 stars
modern-python SKILL.md skill
mycelium-io/mycelium · .claude/skills/modern-python/SKILL.md · Modern Python tooling practices for the mycelium project. Use when installing dependencies, running tools, managing…
git:20260317.1be8d35 · audit A · 121 stars
mycelium-remote-agent SKILL.md skill
mycelium-io/mycelium · .claude/skills/mycelium-remote-agent/SKILL.md · Bootstrap yourself as an ephemeral Mycelium agent when your environment is wired to a hub. Claims a distinct…
git:20260826.77dd54e · audit B · 121 stars
prose-edit SKILL.md skill
mycelium-io/mycelium · .claude/skills/prose-edit/SKILL.md · How to write and edit prose in this repo, and what to look for when reviewing it. Covers code comments and docstrings…
git:20261014.e789df0 · audit A · 121 stars
release SKILL.md skill
mycelium-io/mycelium · .claude/skills/release/SKILL.md · Cut a release — commit any staged changes, tag, create GitHub release, and optionally notify Webex. Use when the user…
git:20261006.26156b5 · audit B · 121 stars
screenshot SKILL.md skill
mycelium-io/mycelium · .claude/skills/screenshot/SKILL.md · Take a screenshot of the running Mycelium app, or of CLI output rendered as a terminal card, or record a short video of…
git:20261008.601e67c · audit A · 121 stars
troubleshooting SKILL.md skill
mycelium-io/mycelium · .claude/skills/troubleshooting/SKILL.md · Diagnose and fix common Mycelium installation and runtime issues. Use when encountering errors with mycelium commands…
git:20261010.bb48287 · audit C · 121 stars
CLAUDE.md CLAUDE.md file
mycelium-io/mycelium · CLAUDE.md
git:20261020.0d23d18 · audit C · 121 stars
llms-full.txt@docs llms.txt file
mycelium-io/mycelium · docs/llms-full.txt
git:20261021.aee04dc · audit F · 121 stars
AGENTS.md@mycelium-cli/src/mycelium/integrations/agents/cursor/assets AGENTS.md file
mycelium-io/mycelium · mycelium-cli/src/mycelium/integrations/agents/cursor/assets/AGENTS.md
git:20261006.e95c919 · audit A · 121 stars
mycelium SKILL.md skill
mycelium-io/mycelium · mycelium-cli/src/mycelium/skills/mycelium/SKILL.md · Multi-agent coordination layer with persistent memory. Use when coordinating with other agents, picking up or creating…
git:20261018.818c173 · audit F · 121 stars
AGENTS.md@mycelium-frontend AGENTS.md file
mycelium-io/mycelium · mycelium-frontend/AGENTS.md
git:20260902.bab1985 · audit A · 121 stars

Every file in mycelium-io/mycelium

Other files named precommit

precommit SKILL.md skill
sd0xdev/sd0x-harness · skills/precommit/SKILL.md · Pre-commit checks — lint:fix -> build -> test
git:20260813.fead97d · audit A · 194 stars

Browse by kind, by grade A, or by owner.