VAASTU

Install an Architecture Skill for AI Coding Agents

Install Vaastu for Codex, Claude Code, Cursor, or another Markdown-reading coding agent. Load the AI skill and request an architecture review or scoped change.

Understand what the skill adds

Vaastu is an open-source architecture decision framework distributed as Markdown instructions and supporting resources. It helps an AI coding agent reason about ownership, dependencies, trust boundaries, state, persistence, and verification. It does not replace your application framework or install a backend runtime.

Use it with an agent that can read project files, such as Codex, Claude Code, or Cursor. The CLI can install skills for supported agents; automatic discovery varies by agent and configuration. When native skill discovery is unavailable, give the agent SKILL.md and the relevant references directly.

Install from the project you want to work on

Open a terminal in your project's root and run one of the commands below. Select the agent and installation options when prompted. Check the Skills CLI's current runtime requirements if installation fails; this is separate from the runtime required by your own project.

A project-local installation scopes the skill to that project. In a standard Codex project installation, the entry point is .agents/skills/vaastu/SKILL.md. For other agents or installation options, use the location reported by the installer rather than assuming every agent has the same directory.

Install Vaastu · npm
npx skills add KOUSHIKG04/scalable-architecture-skill --skill vaastu

Check the installed instructions before using them

Confirm that the reported SKILL.md exists and that its linked resources are available. Ask the agent to read the entry point and only the supporting guides relevant to the task. Installing the skill does not prove that the agent loaded it automatically.

Keep project requirements and local repository instructions available alongside the skill. The skill should adapt to established conventions rather than generating a fixed monorepo, database, or service hierarchy. Review local skill edits before updating an installation.

Use a short request for a focused task

For a small change, name the user outcome, constraints, and acceptance criteria. The following request is a reusable starting point; replace the bracketed details before running it. It authorizes the stated implementation without turning a focused task into a full-system redesign.

Read the installed Vaastu SKILL.md and inspect this repository.

Implement [specific user outcome] using the existing stack and conventions.
Preserve [routes, contracts, data, permissions, and behavior that must remain].
Acceptance criteria: [observable behavior and relevant failure cases].

State a brief plan, make the scoped change, and run appropriate checks.
Report what passed, what failed, and what was not exercised.

Choose a proposal when architecture needs review

For a substantial new system or boundary change, provide requirements and ask for an architecture proposal first. The proposal should explain the responsibility of each application, feature, package, or service, plus critical request/data flows and verification.

If you want implementation too, say so explicitly and define its scope. Prove one complete workflow before expanding. A frontend-only app, backend-only service, and full-stack application can all use the same decision process without adopting each other's unnecessary layers.

Judge the result by behavior and evidence

Check that the agent preserved existing behavior and justified new structure with real requirements. Run the project's relevant type, lint, build, behavior, contract, and dependency checks. Browser, device, database, and hosted behavior need their own evidence where applicable.

A useful architecture skill supports decisions; installation counts, tidy folders, and passing import checks do not establish production correctness. Keep missing integrations and unexecuted acceptance cases visible in the handoff.

References