Sruja (Architecture-as-Code)
Architecture drift between documentation and code is a persistent enterprise pain point — automated AI-maintained architecture-as-code directly addresses the…
CLI-first coding agent and verification harness: it scans your repo's structure, briefs AI edits with file-scoped context, then verifies results with deterministic checks (drift, lint, verify-task, intent check) so the model that wrote the code never grades itself. Runs autonomously via 'sruja agent loop' or inside any editor (Cursor, Copilot, Claude, Windsurf) through MCP. Also maintains architecture-as-code (repo.sruja) with drift detection and Mermaid/D2 exports.
- Generate machine-readable architecture diagrams from your code
- Detect when code changes drift from documented architecture
- Export visual system diagrams for team design reviews
Architecture drift between documentation and code is a persistent enterprise pain point — automated AI-maintained architecture-as-code directly addresses the 'docs always out of date' problem.
Software architects and engineering leads on large or rapidly evolving codebases who need accurate architecture documentation alongside AI-assisted development.
https://github.com/sruja-ai/sruja
By sruja-ai
How to Get It
npx skills add https://github.com/sruja-ai/sruja --skill sruja-architect
Tip: Paste this into a Claude Code conversation. Verify command matches your Claude Code version.
After installing, paste this into Claude:
Help me generate machine-readable architecture diagrams from my code
Trust Signals Reviewed
Community Pulse Emerging
Discussed on Hacker News, Reddit
- Sruja: Architecture-as-Code for the AI Era — Hacker News · 2 pts
- 👋 Welcome to r/sruja - Introduce Yourself and Read First! — Reddit · 1 pts
- Sruja (Beta) is a developer-friendly language for defining, visualizing, and val — Reddit
3 mentions across 2 sources
Reviewer notes
Reviewed review. These are observations, not a security certification.
audit 2026-07-05 stale-eval refresh: Scored from trust signals (evidence-eval-v1): 22 GitHub stars; 4 contributors; last commit 2d ago; license Apache-2.0.
Things to check
- Accuracy depends on code structure clarity and AI detection quality—complex or non-standard architectures may require manual refinement. Requires active maintenance to stay useful as systems change.
How to evaluate tools before deploying →
Data shown here comes from public APIs and automated scanning. Reviewer notes reflect one person's experience. This is not a security certification or legal recommendation. Always evaluate tools according to your own organization's policies.
Evaluation
audit 2026-07-05 stale-eval refresh: Scored from trust signals (evidence-eval-v1): 22 GitHub stars; 4 contributors; last commit 2d ago; license Apache-2.0.