repository-layout · git:20261007.a046904 · 2026-10-07 · sha256 22a0e42c74de8f7d
repository-layout git:20261007.a046904B
Immutable. This exact content never changes and is served at /api/v1/blob/22a0e42c74de8f7d.
--- description: "Repository Layout" priority: high targets: - CLAUDE.md - .cursor/rules/* --- # Repository Layout ## Core Go CLI - `cmd/ai-rulez/main.go`: boots the CLI and injects the version string. - `cmd/commands/`: Cobra command implementations (`generate`, `validate`, `mcp`, CRUD helpers). - `internal/`: service packages for config loading, generator, templates, includes, CRUD, MCP, validator, logger, and migration. ## Multi-runtime Wrappers - `release/npm` and `release/pypi`: JavaScript and Python entry points backed by the Go binary. - `package.json` and `pyproject.toml`: publish metadata for npm and PyPI wrappers. - Homebrew distribution is managed via a tap outside this repository. ## Documentation & Tooling - `docs/`, `site/`, and `zensical.toml`: user-facing documentation and site generation. - `schema/`: JSON schemas for configuration and MCP files. - `tests/`: fixtures, integration, e2e, and platform coverage.