Agent skill

codebase-sync

Convention discovery and rule generation from codebase analysis. Scans project structure, builds search indexes, identifies patterns, and generates enforceable rules.

majiayu000github.com/majiayu000GitHub ↗
claude-codecan modify filesMIT
Install
npx skills add majiayu000/claude-skill-registry --skill codebase-sync --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 2
SKILL.md size: 2 KB
Bundled scripts: none
Version: 1.0.0
Declared author: babysitter-sdk
Allowed tools: Bash(*)ReadWriteEditGlobGrep
Path: skills/analysis/codebase-sync/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 534
Language: HTML

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# 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

What's inside
Steps it walks through
  1. Overview
  2. Capabilities
  3. 1. Project Exploration
  4. 2. Semantic Index Building
  5. 3. Convention Discovery
  6. 4. Rule Generation
  7. Rule Categories
  8. Output Artifacts
Ships with 1 file
  • metadata.json
More from claude-skill-registry
All skills →
About this skill
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.

Keep going