AI-powered code review for GitHub PRs using Claude, delivered via the Constellos cloud.
This repo (constellos/github-agents) provides:
- Default agent prompts for reviews (can be overridden per-repo)
- Agent configuration to enable/disable specific reviewers
- CI pipeline templates for common deployment targets
Reviews are handled automatically by the Constellos cloud — no GitHub Actions workflow or secrets are required.
PR Opened → GitHub Webhook (github.constellos.ai) → Cloud Reviewer (mcp.constellos.ai) → PR Comment
- A PR is opened or updated, triggering the GitHub webhook
- The cloud reviewer fetches the PR diff and reads
.constellos/config.jsonfor enabled agents - For each enabled agent, it loads the prompt from
.constellos/agents/{agent}.md(repo-level override or default) - Review results are posted back to the PR as comments
Install the Constellos app on your repository. Reviews start automatically on new PRs — no workflow files or secrets needed.
Create .constellos/config.json to enable/disable specific agents:
{
"agents": {
"requirements": { "enabled": true },
"code-quality": { "enabled": true },
"context": { "enabled": false }
}
}If no config file exists, requirements and code-quality agents run by default.
| Agent | Purpose |
|---|---|
requirements |
Verifies PR implements linked issue requirements |
code-quality |
Checks DRY, YAGNI, modularity, maintainability |
context |
Reviews PR title, description, and change grouping |
Override default prompts by creating .constellos/agents/{agent}.md in your repo:
# Requirements Review
You are reviewing PR changes against issue requirements.
## Checks to Perform
1. Completeness - all acceptance criteria addressed
2. Scope - changes within issue scope
3. Traceability - changes map to requirementsThe requirements reviewer links PRs to issues using these methods (in priority order):
-
Branch name - Use format
{issue-number}-{description}- Example:
123-add-login-feature→ links to issue #123
- Example:
-
PR body keywords - Include closing keywords in your PR description
Closes #123Fixes #123Resolves #123
If no issue is linked, the requirements review is skipped (other agents still run).
.constellos/
├── config.json # Agent configuration
└── agents/
├── requirements.md # Requirements reviewer prompt
└── code-quality.md # Code quality reviewer prompt
.github/
├── workflows/
│ └── ci-pipeline.yml # CI pipeline for this repo
├── ci-config.yml # CI configuration
└── templates/
├── README.md # Documents CI config templates
├── template-vercel.yml # Vercel deployment CI template
├── template-cloudflare.yml # Cloudflare deployment CI template
├── template-supabase-vercel.yml
└── template-non-deployable.yml