# Sruja architecture guidance for AI

Use Sruja in your AI code editor so the assistant generates valid Sruja DSL and applies architectural patterns (C4-style components, relationships, monolith vs microservices, event-driven, etc.).

Editor integration is **drift + MCP first**, skill second: `sruja start`, `sruja drift -r . --structural-only --advisory`, `sruja focus`, `sruja verify-task`, `sruja sync`. Optional: `sruja mcp` (profile `coding`, 15 tools). Use the skill to promote scan evidence to `repo.sruja` when you need reviewed CI intent.

## Install as a skill (one command)

**Cursor, Codex, or any editor using [skills.sh](https://skills.sh):**

```bash
npx skills add https://github.com/sruja-ai/sruja --skill sruja-harness
npx skills add https://github.com/sruja-ai/sruja --skill sruja-architecture
```

After install, run `sruja verify-task` before done; use the architecture skill when promoting evidence to `repo.sruja`.

## Other editors

- **Cursor (project rules only)** – Copy [.cursorrules](.cursorrules) into your project root for DSL syntax and basic patterns.
- **GitHub Copilot** – Copy [.copilot-instructions.md](.copilot-instructions.md) into your project root.
- **Full install guide** – [skills/README.md](skills/README.md) – by-editor steps and recommended prompts.

**Compatibility alias:** Older prompts may still refer to `sruja-architecture-agent`, but new installs should use `sruja-architecture`.

## After install

- Run **`sruja lint`** on any `.sruja` file after the AI edits it.
- **Docs:** [skills/README.md](skills/README.md) · **Skill catalog:** [skills/README.md](skills/README.md)
