Aos ci
AI-native software engineering operating system for modern application architecture, scaffolding, and AI-assisted development.
npx -y skills add riz007/architect-os --skill aos-ciAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 1 stars1 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
What its author says it does
Copied from the file, not written here
Sets up the ArchitectOS automated PR review engine — a GitHub Action that calls Claude to review every PR against ArchitectOS standards and posts FAIL/WARN findings as a PR comment. Use when user asks to set up automated code review, CI integration, or says "add ArchitectOS to my CI pipeline".
SKILL.md
4.0 KB, as published. Nobody here has run it
/aos-ci
Set up automated PR review powered by Claude in your GitHub repository.
What it does
Every time a PR is opened or updated:
- The GitHub Action runs
tools/cli/pr-review.js - It diffs the changed source files against the base branch
- Claude reviews the diff against ArchitectOS standards
- The result is posted as a PR comment with
[FAIL]/[WARN]findings - The check fails if there are any
[FAIL]findings, blocking the merge
Setup
Step 1 — Add the workflow file
Copy .github/workflows/aos-pr-review.yml from this repo to your project's .github/workflows/ directory.
Or run: /aos-ci setup and the skill will create it for you.
Step 2 — Add the review script
Copy tools/cli/pr-review.js and tools/cli/package.json to your project.
your-project/
├── .github/
│ └── workflows/
│ └── aos-pr-review.yml ← add this
└── tools/
└── cli/
├── pr-review.js ← add this
└── package.json ← add this
Step 3 — Add your own API key secret (bring-your-own-key)
The review is opt-in and bring-your-own-key. The workflow reads ANTHROPIC_API_KEY
from your repository's secrets and bills your Anthropic account — it never uses the
ArchitectOS maintainer's key. If no key is set, the workflow detects this, skips every
step, and passes green — so forks and clones never fail CI or incur cost they didn't opt
into.
To enable it, in your GitHub repository: Settings → Secrets and variables → Actions → New repository secret
Name: ANTHROPIC_API_KEY
Value: sk-ant-...
Get your key at console.anthropic.com. It's pay-as-you-go and separate from any Claude subscription.
Step 4 — Push and open a PR
The action runs automatically. Check the Actions tab to see it run, and the PR comments for the review output.
What gets reviewed
| Category | Checks |
|---|---|
| Architecture | Business logic in services, thin controllers, DTOs, feature structure |
| Type safety | No any, typed parameters, no unsafe type assertions |
| Security | Parameterised queries, input validation, auth guards, no hardcoded secrets, IDOR prevention |
| Testing | New tests for new behaviour, meaningful test names, correct mocking |
| Performance | No N+1 patterns, pagination on collections |
| Code quality | DRY, single responsibility, no dead code, no debug statements |
Review output example
## ArchitectOS Review
### [FAIL] Security — missing auth guard on PATCH /users/:id
**File:** `src/users/users.controller.ts:42`
**Issue:** Any authenticated user can update any user's profile — IDOR vulnerability.
**Fix:**
@Patch(':id')
@UseGuards(JwtAuthGuard)
async update(@Param('id') id: string, @Request() req, @Body() dto: UpdateUserDto) {
if (id !== req.user.id) throw new ForbiddenException()
return this.users.update(id, dto)
}
### [WARN] Testing — no test for the duplicate email case
**File:** `src/users/user.service.ts:67`
**Issue:** New branch that throws ConflictError has no test coverage.
**Fix:** Add: it('should throw ConflictError when email is already registered')
---
**Summary:** 1 failure · 1 warning · REQUEST CHANGES
Disabling the review
To skip the review on a specific PR, add this to the PR description:
<!-- aos-skip-review -->
To disable the action entirely, delete or comment out .github/workflows/aos-pr-review.yml.
Cost
Each PR review uses approximately 3 000–8 000 input tokens and 500–1 500 output tokens with Claude Sonnet. At current pricing this is < $0.05 per review.
Full reference
See REFERENCE.md for setup examples, customisation, and troubleshooting.