Skip to content

Commit bbff424

Browse files
authored
Session work\n\nAuto-commit at session end to preserve work in progress.\n\nSession-ID: edcba495-f682-49c5-8a5d-006e00ec240e\nSession-Timestamp: 2026-01-23T01:59:19.436Z\nBranch: 49-fix/can-u-please-tell-me-what-context-files-\n\n🤖 Generated with [Claude Code](https://claude.com/claude-code)\n\nCo-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com> (#51)
1 parent eedd2d7 commit bbff424

1 file changed

Lines changed: 9 additions & 43 deletions

File tree

CLAUDE.md

Lines changed: 9 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -91,49 +91,15 @@ src/index.ts # TypeScript source
9191

9292
## Setup Guide
9393

94-
### 1. Add Workflow to Your Repo
95-
96-
Copy `.github/templates/constellos-review.yml` to your repo's `.github/workflows/` directory:
97-
98-
```yaml
99-
name: Constellos Review
100-
on:
101-
pull_request:
102-
types: [opened, synchronize, reopened]
103-
104-
jobs:
105-
config:
106-
runs-on: ubuntu-latest
107-
outputs:
108-
agents: ${{ steps.read.outputs.agents }}
109-
steps:
110-
- uses: actions/checkout@v4
111-
- id: read
112-
run: |
113-
if [ -f ".constellos/config.json" ]; then
114-
AGENTS=$(jq -c '[.agents | to_entries[] | select(.value.enabled) | .key]' .constellos/config.json)
115-
else
116-
AGENTS='["requirements","code-quality"]'
117-
fi
118-
echo "agents=$AGENTS" >> $GITHUB_OUTPUT
119-
120-
review:
121-
needs: config
122-
runs-on: ubuntu-latest
123-
strategy:
124-
matrix:
125-
agent: ${{ fromJson(needs.config.outputs.agents) }}
126-
steps:
127-
- uses: actions/checkout@v4
128-
- uses: constellos/constellos-actions@main
129-
with:
130-
review_type: ${{ matrix.agent }}
131-
claude_code_oauth_token: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }}
132-
pr_number: ${{ github.event.number }}
133-
branch: ${{ github.head_ref }}
134-
```
94+
### Automatic Setup (Recommended)
95+
96+
When you install the Constellos GitHub App on your repo, it automatically:
97+
1. Creates the workflow file (`.github/workflows/constellos.yml`)
98+
2. Starts reviewing PRs after CI passes
99+
100+
Just install the app and add `CLAUDE_CODE_OAUTH_TOKEN` to your repo secrets.
135101

136-
### 2. Configure Agents (Optional)
102+
### Configure Agents (Optional)
137103

138104
Create `.constellos/config.json` to enable/disable agents:
139105

@@ -154,7 +120,7 @@ Create `.constellos/config.json` to enable/disable agents:
154120

155121
If no config file exists, both `requirements` and `code-quality` agents are enabled by default.
156122

157-
### 3. Issue Linking Conventions
123+
### Issue Linking Conventions
158124

159125
The requirements reviewer links PRs to issues using these methods (in priority order):
160126

0 commit comments

Comments
 (0)