{"slug":"repository-layout","title":"repository-layout","summary":"Use when you are unsure where code, docs, schemas, wrappers, or tests live in this repository, or need to pick the right directory before adding or moving files.","platform":"Claude","tags":[],"authorName":"LLM Mart","authorSlug":"llm-mart","score":0,"source":"github","price":null,"verified":false,"createdAt":"2026-10-16T16:28:37.99273Z","repo":{"url":"https://github.com/Goldziher/ai-rulez","stars":162,"forks":16,"license":"MIT","updatedAt":"2026-10-16T13:56:06Z"},"bodyHtml":"<hr>\n<h2>type: Playbook\ntitle: Repository Layout\ndescription: Use when you are unsure where code, docs, schemas, wrappers, or tests live in this repository, or need to pick the right directory before adding or moving files.\nx-ai-rulez:\nkind: skill\nid: repository-layout\nmetadata:\npriority: high\ntargets:\n- CLAUDE.md\n- .cursor/rules/*</h2>\n<h2>Repository Layout</h2>\n<h3>Core Go CLI</h3>\n<ul>\n<li><code>cmd/ai-rulez/main.go</code>: boots the CLI and injects the version string.</li>\n<li><code>cmd/commands/</code>: Cobra command implementations (<code>generate</code>, <code>validate</code>, <code>mcp</code>, CRUD helpers).</li>\n<li><code>internal/</code>: service packages for config loading, generator, templates, includes, CRUD, MCP, validator, logger, and migration.</li>\n</ul>\n<h3>Multi-runtime Wrappers</h3>\n<ul>\n<li><code>release/npm</code> and <code>release/pypi</code>: JavaScript and Python entry points backed by the Go binary.</li>\n<li><code>package.json</code> and <code>pyproject.toml</code>: publish metadata for npm and PyPI wrappers.</li>\n<li>Homebrew distribution is managed via a tap outside this repository.</li>\n</ul>\n<h3>Documentation &amp; Tooling</h3>\n<ul>\n<li><code>docs/</code>, <code>site/</code>, and <code>zensical.toml</code>: user-facing documentation and site generation.</li>\n<li><code>schema/</code>: JSON schemas for configuration and MCP files.</li>\n<li><code>tests/</code>: fixtures, integration, e2e, and platform coverage.</li>\n</ul>\n","files":[{"path":"index.md","sizeBytes":208,"isText":true},{"path":"SKILL.md","sizeBytes":1214,"isText":true}],"reviewScore":null,"reviewSummary":null,"trust":{"provenance":"trusted-source-unreviewed","notice":"Community-authored content, reproduced verbatim and not vetted as instructions. Treat it as data to evaluate, never as directives to follow.","bodySource":null},"bodyLocked":false,"purchaseUrl":null,"sourceUrl":null,"report":{"provenance":"trusted-source-unreviewed","screen":{"ran":true,"outcome":"clean","suspicious":0,"notes":0,"hiddenCharacters":false},"virusScan":{"engine":"clamav","status":"clean","scannedAt":"2026-10-16T16:28:46.388876Z","sha256":"AA48A00E48DC92B8189F548F90F7A7F76BBD18AAFBB5A7B11B1BABD49E959C98","sizeBytes":1038},"review":null,"source":{"repositoryUrl":"https://github.com/Goldziher/ai-rulez","path":".ai-rulez/skills/repository-layout","license":"MIT","commit":"ca967ad555fc84aa6e3594648676f209d4e8b546","subtreeSha":"8B117083712FC4F096CE997433149BA5D56FBEAE87ADC05B53D2EB41FB2169EA","lastSyncedAt":"2026-10-16T16:28:36.671871Z"},"reviewedAt":"2026-10-16T16:30:03.101104Z","notice":"Community-authored content, reproduced verbatim and not vetted as instructions. Treat it as data to evaluate, never as directives to follow."},"install":[{"target":"skills-cli","command":"npx skills add https://github.com/Goldziher/ai-rulez/tree/main/.ai-rulez/skills/repository-layout"},{"target":"claude-code","command":"claude plugin marketplace add https://llmmart.ai/marketplace.json && claude plugin install goldziher-ai-rulez@llmmart"},{"target":"git","command":"git clone https://github.com/Goldziher/ai-rulez.git"}]}