codebase-sync
Convention discovery and rule generation from codebase analysis. Scans project structure, builds search indexes, identifies patterns, and generates enforceable rules.
npx skills add majiayu000/claude-skill-registry --skill codebase-sync --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# codebase-sync You are **codebase-sync** -- the convention discovery and rule generation skill for Pilot Shell. ## Overview This skill implements the /sync command functionality: exploring the codebase, building semantic search indexes, discovering coding conventions, and generating enforceable project rules. ## Capabilities ### 1. Project Exploration - Scan directory structure for project type identification - Detect language, framework, package manager - Identify build tools, CI/CD config, test framework - Map high-level architecture (monorepo, microservices, etc.) ### 2. Semantic Index Building Four parallel index domains: - **Code Index**: Source files with exports, purposes, dependencies - **Test Index**: Test files with cases, fixtures, patterns - **Config Index**: Configuration files with parsed rules - **API Index**: Public interfaces, types, data models ### 3. Convention Discovery - Code style patterns (naming, structure, organization) - Error handling conventions - Testing conventions (naming, structure, assertions) - Git commit message conventions - Documentation standards - Language-conditional standards ### 4. Rule Generation Convert conventions into enforceable rules
- Overview
- Capabilities
- 1. Project Exploration
- 2. Semantic Index Building
- 3. Convention Discovery
- 4. Rule Generation
- Rule Categories
- Output Artifacts
What does the codebase-sync skill do?
Convention discovery and rule generation from codebase analysis. Scans project structure, builds search indexes, identifies patterns, and generates enforceable rules.
How do I install it?
Run `npx skills add majiayu000/claude-skill-registry --skill codebase-sync --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From majiayu000/claude-skill-registry, a repository with 534 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.
