Install
$ agentstack add skill-mec07-claude-skills-reposkills ✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.
Security review
✓ PassedNo issues found. Passed automated security review. · v0.1.0 How review works →
- ✓ Prompt-injection patterns
- ✓ Secret / credential exfiltration
- ✓ Dangerous shell & filesystem operations
- ✓ Untrusted network calls
- ✓ Known-malicious package signatures
What it can access
- ✓ Network access No
- ✓ Filesystem access No
- ✓ Shell / process execution No
- ✓ Environment & secrets No
- ✓ Dynamic code execution No
From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.
Verified badge
Passed review? Show it. Paste this badge into your README, it links to the public security report.
Reliability & compatibility
Declared compatibility
Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.
We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.
How agent discovery & health will work →About
RepoSkills
Generate a complete set of agent-native skills for any codebase. Skills are concise, routing-oriented knowledge files that tell an LLM agent WHY things exist, HOW they connect, WHAT breaks if you change them, and WHERE to start. The output enables Claude Code, Copilot, Cursor, Windsurf, Codex, JetBrains AI, Amazon Q, and other LLM agents to navigate, understand, and modify the codebase effectively.
Skills are NOT documentation. Documentation explains things to humans. Skills route agents to the right context at the right time with the minimum token cost.
Invocation
Full pipeline (default): > Generate skills for this repo > Run RepoSkills
Single phase: > Run RepoSkills phase: discover > Run RepoSkills phase: domain > Run RepoSkills phase: generate > Run RepoSkills phase: refine > Run RepoSkills phase: validate > Run RepoSkills phase: simulate > Run RepoSkills phase: resolve > Run RepoSkills phase: checkpoint
Resume from last checkpoint: > Resume RepoSkills
Resume from a specific phase: > Run RepoSkills from phase: simulate
Fresh run (ignore existing skills, regenerate everything): > Run RepoSkills --fresh
Targeted update (regenerate a single module or task skill): > Run RepoSkills --update billing > Run RepoSkills --update running-tests
Drift resolution (repair skills flagged by drift detection): > Run RepoSkills --drift > Run RepoSkills --resolve-drift
Drift check only (report, no resolution): > Run RepoSkills --drift-check
Diff-based re-run (default for repos with existing skills): > Run RepoSkills (Automatically detects existing skills, computes git diff against stored commit hash, updates only changed modules.)
Pipeline Overview
The full pipeline has 10 phases (0-9). Each phase runs in its own context window. State passes between phases exclusively via files on disk.
Phase 0: Discover & Triage → classify repo, detect platforms, find module boundaries
Phase 1: Domain Interview → capture business context from human (skippable on re-runs)
Phase 2: Map & Generate → confirm boundaries, generate all skills + platform glue
Phase 3: Refine → structural assessment, coverage gaps, module boundary review
Phase 4: Validate → adversarial fact-checking against source code
Phase 5: Clarity Review → simulate agent tasks using only the skills
Phase 6: Self-Resolve → fix gaps found by validation and simulation
Phase 7: Validate Pass 2 → re-verify after Phase 5-6 changes
Phase 8: Clarity Review 2 → re-simulate with different scenarios
Phase 9: Human Checkpoint → Reverse Glossary + unresolvable questions
Output
Skills (.ai/skills/)
| File | Purpose | |------|---------| | orientation.md | System understanding — repo shape, tech stack, boundary map (NO routing — routing lives in root files) | | domain-context.md | Business domain, terminology, regulatory, architecture rationale | | modules/.md | One per module — purpose, relationships, change impact, seams, gotchas, testing | | tasks/.md | One per detected capability — how to do X in this specific repo | | Tools/skill-drift.sh | Drift detection — compares skill freshness against code changes, usable as CI check or git hook | | Tools/skill-drift-hook.sh | Hook manager — install/uninstall drift check as local git hook |
Platform glue (repo root)
| File | Platform | |------|----------| | AGENTS.md | Codex, Zed, JetBrains AI, generic agents | | CLAUDE.md | Claude Code | | .github/copilot-instructions.md | GitHub Copilot | | .cursorrules | Cursor |
Each root file is self-sufficient — it contains all 12 required sections (routing, rules, commands, etc.) and does not redirect to other root files. Any single file must be enough for an agent to navigate the codebase after context compaction.
Conditional per-module routing files (e.g., .cursor/rules/.mdc, .claude/rules/.md) are generated when those platforms are detected.
Phase Instruction Files
Each phase reads its instructions from a dedicated file in this skill directory:
| Phase | File | |-------|------| | 0 | phase-0-discover.md | | 1 | phase-1-domain-interview.md | | 2 | phase-2-map-generate.md | | 3 | phase-3-refine.md | | 4 | phase-4-validate.md | | 5 | phase-5-clarity-review.md | | 6 | phase-6-self-resolve.md | | 7 | phase-7-validate-2.md | | 8 | phase-8-clarity-review-2.md | | 9 | phase-9-human-checkpoint.md | | DR | phase-drift-resolve.md |
Templates
| File | Purpose | |------|---------| | templates/skill-drift.sh | Template for the drift detection script — customised per-repo during Phase 2 | | templates/skill-drift-hook.sh | Template for the hook management script | | templates/skill-drift-ci.yml | Template for GitHub Actions CI workflow — adapted for other CI platforms during generation |
Orchestration
For pipeline execution protocol, state management, global rules, and subagent dispatch, see [orchestration.md](orchestration.md).
Source & license
This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.
- Author: mec07
- Source: mec07/claude_skills
- License: MIT
Install and usage instructions live in the source repository linked above.
Reviews
No reviews yet, be the first.
Write a review
Versions
- v0.1.0 Imported from the upstream source.