codebase-sync

Solid

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

AI & Automation 814 stars 53 forks Updated today MIT

Install

View on GitHub

Quality Score: 93/100

Stars 20%
97
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
95
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# 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: ```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** | t...

Details

Author
a5c-ai
Repository
a5c-ai/babysitter
Created
4 months ago
Last Updated
today
Language
JavaScript
License
MIT

Related Skills