Capture Patterns — Git skill for Claude Code
Scan the existing codebase and auto-generate PATTERNS.md with detected conventions.
How to install Capture Patterns
Installs to ~/.claude/commands/mantacron-manta-capture-patterns.md
mkdir -p ~/.claude/commands && curl -fsSL https://raw.githubusercontent.com/mantacron/manta/HEAD/.claude/commands/capture-patterns.md -o ~/.claude/commands/mantacron-manta-capture-patterns.md Restart Claude Code, or start a new session, for it to be picked up.
What Capture Patterns does
description: Scan the existing codebase and auto-generate PATTERNS.md with detected conventions. Run once, review the output, then commit it so all agents enforce your team's patterns.
**Begin by outputting:** `[ Manta — Capture Patterns ]`
You are scanning this codebase to detect and document its coding patterns.
Your output is `PATTERNS.md` — the machine-readable pattern registry that `code-quality` enforces at pre-commit and `scaffolding-agent` uses when generating new code.
St
Alternatives in Git
- Claude.md Template For Users — Attribution: Behavioral patterns adapted from obra/superpowers by Jesse Vincent (@obra), MIT License 6.8k ★
- Fresh Start — The original nirholas/claude-code before DMCA and take down 6.2k ★
- Create Pull Request — by liam-hq - Provides comprehensive PR creation guidance with GitHub CLI, enforcing title conventions, followi 4.7k ★
Full documentation available on GitHub
View Source RepositoryRelated Skills
Tooling Agent Skill Multi Repository Name Conventions
Cross-agent repository naming convention skill for Claude, Cursor, Copilot, Gemini, and any AGENTS.md-reading
Capture Learnings
Scan the current conversation (and, on a feature branch, the commits since branching) for corrections and redi
Devgod Enforce
Set up devgod-scan, RLS gate, CI workflow, pre-commit, and PR template in this repo.
Engineer Enforce
Set up engineer-scan, RLS gate, CI workflow, pre-commit, and PR template in this repo.
Set Repo
Optionally override the auto-detected Git repository used for this session.
Secret Crusade
Unleash parallel Secret Purist agents to scan the codebase and git history for leaked credentials, API keys, a
Related Agents
Nta Trimmer
Stage [1] of the nta-malware pipeline. Treats the capture as full-size, runs Zeek/Suricata once via nta_triage
Wave Babysitter
Babysits a wave of background agents: watches their output files, auto-resumes API/limit deaths ONCE per agent
Git Helper
Assists with Git operations following branching strategy and commit conventions. PROACTIVELY use when creating