architecture
Monorepo package boundaries, layering rules, and extension patterns.
Skill by Mihir-Rabari
Chalk Labs
Need help deploying architecture?
Chalk Labs sets up agents like this inside real teams: connected to your tools, tested on your data, with a human in the loop where it matters.
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/mihir-rabari-architecture-f8455d
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md and code. Checked Nov 2, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/architecture
What's inside
- Skill name
architecture- Description
- Monorepo package boundaries, layering rules, and extension patterns.
- License
- MIT
- Instructions
- 31 lines in SKILL.md · view on GitHub
Files (1)
- SKILL.md
SKILL.md (first lines)
# Architecture Skill ## 1. When to Use Use this skill when modifying monorepo structure, adding workspace packages, configuring inter-package dependencies, or reviewing dependency boundaries. ## 2. Package Boundaries & Layering - **`apps/web` (Next.js)**: Frontend UI only. Must NEVER import `@packages/db` or connect directly to PostgreSQL/Redis/MinIO. Interacts with backend via `@/lib/api-client`. - **`apps/api` (Fastify)**: HTTP gateway, routing, Zod input validation, error formatting, authorization route guards. - **`packages/auth`**: Password hashing (`scrypt`), session lifecycle, HTTP-only cookie configuration. - **`packages/iam`**: Permission catalog, policy evaluation engine, declarative route guards (`requirePermission`). - **`packages/config`**: Environment parsing (`getEnv()`), application and feature settings (`AppConfig`, `IamConfig`, `AuthConfig`, `FeatureConfig`). - **`packages/validation`**: Reusable Zod schemas and standard HTTP error response structures. - **`packages/shared`**: Redis (`ioredis`), S3/MinIO client abstractions, and universal structured logger. - **`packages/db`**: PostgreSQL connection pooling, Drizzle ORM schemas, migrations, seeds. ## 3. Inviolable Rules 1. Never bypass package boundaries: Packages under `packages/*` must never import from `apps/*`. 2. No circular dependencies between workspace packages. 3. Centralize environment variable access: Always use `getEnv()` from `@packages/config`. 4. Decouple storage: Use `StorageService` rather than raw MinIO endpoints. 5. All external data entering via API must be runtime-validated with Zod before database persistence. ## 4. Verification Checklist - Run `pnpm typecheck` to verify workspace boundary isolation across all packages. - Run `pnpm build` to ensure all packages compile cleanly. ## Multi-tenancy A tenant is a workspace: its own users, roles, groups and policies. `packages/db` owns the schema, `packages/iam` enforces the boundary (every `IamService` method takes `tenantId`), `apps/api` derives it from the session (`tenantIdOf`), and `apps/web` only displays it. The frontend never sends a tenant id; the API never trusts one from the client.
From Mihir-Rabari/create-odoo-app, MIT.
More from Mihir-Rabari/create-odoo-app
- 0.561score
design
Mihir-Rabari
Visual design law for the generated app — screen structure, colour tokens, typography, icons, spacing, and the states every screen owes the user.
SkillAFreshness: AClaude Code +9 - 0.558score
api
Mihir-Rabari
Fastify route development, Zod type providers, OpenAPI documentation, structured logging, and error responses.
SkillAFreshness: AClaude Code +9 - 0.558score
authentication
Mihir-Rabari
Password hashing (scrypt), server-side session tokens, HTTP-only cookies, and auth events.
SkillAFreshness: AClaude Code +9 - 0.558score
authorization
Mihir-Rabari
Identity and Access Management, policy evaluation engine, declarative route guards, and permissions.
SkillAFreshness: AClaude Code +9 - 0.558score
database
Mihir-Rabari
PostgreSQL schema conventions, Drizzle ORM, migrations, deterministic seeding, and database integrity.
SkillAFreshness: AClaude Code +9 - 0.558score
frontend
Mihir-Rabari
Next.js App Router, shadcn/ui components, Tailwind CSS, TanStack Query, AuthContext, and permission-aware UI.
SkillAFreshness: AClaude Code +9 - 0.554score
email
Mihir-Rabari
Transactional email provider integration, templates, and delivery rules.
SkillAFreshness: AClaude Code +9 - 0.528score
testing
Mihir-Rabari
Testing doctrine, pyramid (unit, integration, API, security, smoke), AAA pattern, and coverage enforcement.
SkillAFreshness: AClaude Code +9 - 0.518score
observability
Mihir-Rabari
Structured logging, request correlation, Prometheus metrics, health probes, and sensitive data redaction.
SkillBFreshness: BClaude Code +9 - 0.518score
security
Mihir-Rabari
Zero-trust input rules, server-side authorization, credential protection, and adversarial security testing.
SkillBFreshness: BClaude Code +9 - 0.518score
storage
Mihir-Rabari
S3/MinIO StorageService abstraction, bucket management, and object storage conventions.
SkillBFreshness: BClaude Code +9 - 0.518score
validation
Mihir-Rabari
Runtime Zod validation schemas, business bounds, date ordering, and pagination limits.
SkillBFreshness: BClaude Code +9
Signals
- Stars
- 0
- Forks
- 1
- Open issues
- 3
- Last commit (this folder)
- Oct 2, 2026 (1 month ago)
- Last release
- Sep 4, 2026 (2 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/Mihir-Rabari/create-odoo-app
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
Same skill elsewhere
Copies of this SKILL.md published by others; search shows only one of them.
More from Mihir-Rabari
- 0.561score
design
Mihir-Rabari
Visual design law for the generated app — screen structure, colour tokens, typography, icons, spacing, and the states every screen owes the user.
SkillAFreshness: AClaude Code +9 - 0.561score
agent
Mihir-Rabari
AI chat agent that acts as the signed-in user, tool registry, staged write actions with confirmation, permission-filtered tools, and prompt-injection rules.
SkillAFreshness: AClaude Code +9 - 0.558score
api
Mihir-Rabari
Fastify route development, Zod type providers, OpenAPI documentation, structured logging, and error responses.
SkillAFreshness: AClaude Code +9 - 0.558score
authentication
Mihir-Rabari
Password hashing (scrypt), server-side session tokens, HTTP-only cookies, and auth events.
SkillAFreshness: AClaude Code +9 - 0.558score
database
Mihir-Rabari
PostgreSQL schema conventions, Drizzle ORM, migrations, deterministic seeding, and database integrity.
SkillAFreshness: AClaude Code +9 - 0.558score
frontend
Mihir-Rabari
Next.js App Router, shadcn/ui components, Tailwind CSS, TanStack Query, AuthContext, and permission-aware UI.
SkillAFreshness: AClaude Code +9
Done for you
Rather not set it up yourself?
Chalk Labs scopes, builds and runs agents for your team: the task audit, the eval harness, the integrations and the weekly ops report. Fixed scope, priced before we start.
See how we build AI agents →Read the case studies
Chalk Labs is a two-founder AI and growth studio. We build AI agents, CRMs and MVPs for Web3 and AI companies, and have shipped 50+ product and token launches.
- launches shipped
- 50+
- launches shipped
- media placements
- 500+
- media placements
- founders on every account
- 2
- founders on every account
Press we've placed: Forbes · CoinDesk · Decrypt · Cointelegraph · The Block
Rahil Jain, Co-founder, Chalk Labs. Ex-Goldman Sachs engineer. You talk to the person who builds it.
Get architecture running in your business
Tell us what you want to automate. A founder replies within one working day with a plan, not a pitch deck.
Cite this page
architecture skill. Agent Mart. https://agentmart.dev/skills/mihir-rabari-architecture-f8455d (last updated 2026-10-24)