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 a5c-ai/babysitter --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.
- 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: ```json { "id": "ts-no-any", "category": "coding-standards", "description": "Avoid 'any' type; use 'unknown' and narrow", "severity": "error", "autoFixable": false, "language": "typescript" } ``` ## Rule Categories | Category | Examples | |----------|---------| | **core** | task-and-workflow, testing, verification | | **dev-practices** | development-p
- 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 a5c-ai/babysitter --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 a5c-ai/babysitter, a repository with 1,642 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.
