WoJiSama/skill-based-architecture
A meta-skill that produces skills. Point it at any codebase and it distills the project's rules, workflows, and hard-won lessons into a dedicated skills/<name>/ directory — a project skill that becomes the single source of truth every AI agent (Cursor, Claude Code, Codex, Windsurf, Gemini) consults before every task.
What it solves
Coding agents often struggle with fragmented project rules, duplicated instructions across multiple files (like CLAUDE.md or .cursorrules), and a lack of clear "definition of done." Skill-Based Architecture (SBA) centralizes these scattered instructions into a single, routable, and verifiable project "Skill," ensuring agents follow the project's actual business logic and architectural rules without guessing implementation scope.
How it works
SBA provides a project-level operating contract that the agent uses to navigate the repository. Instead of loading one massive instruction file, the agent:
- Inventories the repository to identify existing rules.
- Selects a specific workflow based on the user request.
- Loads only the evidence and knowledge required for the current decision.
- Binds business meaning to the current code owner.
- Verifies the result against a requested terminal state rather than just treating a command or commit as "done."
- Records reusable learning from failures to prevent them from recurring.
Who it’s for
Developers and teams managing repositories where project instructions have become too large to navigate, are contradictory across different agent entry files, or where recurring tasks require strict procedures and reliable completion checks.
Highlights
- Centralized Knowledge: Eliminates duplication across
AGENTS.md,CLAUDE.md, and Cursor rules. - Harness Agnostic: Compatible with Claude Code, Cursor, Windsurf, Gemini CLI, and other file-aware agents.
- Evidence-Based Execution: Uses a result-oriented lifecycle that returns to localization or decomposition if evidence invalidates the current premise.
- Automated Migration: Includes a scaffold tool that previews and applies the migration of existing rules into the SBA structure.
- Strict Completion Discipline: Defines "done" based on bound deliverables and terminal states rather than simple activity (e.g., a push or a commit).
Related
- Project
- Project
- Project
- Project
- Project