TogetherOS PR Formatter & Validator
This skill handles all PR creation, formatting, validation, and pre-push checks for TogetherOS.
What This Skill Does
- Auto-selects Cooperation Path category from module
- Generates 3-5 relevant keywords
- Formats PR body with exact structure for automation
- Validates PR is merge-ready before suggesting merge
- Runs pre-push validation checks
- Addresses Codex/Copilot comments until all checks green
The 8 Cooperation Paths
Every PR must be tagged with ONE of these paths:
- Collaborative Education — Learning, co-teaching, peer mentorship, skill documentation
- Social Economy — Cooperatives, timebanking, mutual aid, repair/reuse networks
- Common Wellbeing — Health, nutrition, mental health, community clinics, care networks
- Cooperative Technology — Open-source software, privacy tools, federated services, human-centered AI
- Collective Governance — Direct legislation, deliberation, empathic moderation, consensus tools
- Community Connection — Local hubs, events, volunteer matching, skill exchanges
- Collaborative Media & Culture — Storytelling, documentaries, cultural restoration, commons media
- Common Planet — Regeneration, local agriculture, circular materials, climate resilience
Module → Path Mapping
Use this mapping to auto-select the appropriate Cooperation Path:
- bridge → Cooperative Technology
- governance → Collective Governance
- social-economy, timebank, support-points → Social Economy
- moderation, discourse → Collective Governance
- community, events, volunteer → Community Connection
- education, learning, mentorship → Collaborative Education
- health, wellness, care → Common Wellbeing
- media, culture, storytelling → Collaborative Media & Culture
- environment, sustainability, agriculture → Common Planet
- infrastructure, monorepo, ci-cd, api → Cooperative Technology (default for tech work)
Workflow Steps
1. Pre-Push Validation (REQUIRED)
Before creating ANY PR, run these checks:
# 1. Update target branch
git fetch origin yolo
# 2. Check if feature branch is up-to-date
git merge-base --is-ancestor origin/yolo HEAD
# If fails, need to rebase/merge
# 3. Merge/rebase onto latest target
git merge origin/yolo
# OR: git rebase origin/yolo
# 4. Verify no merge conflicts
git status | grep -q "Unmerged paths" && echo "CONFLICTS FOUND - FIX FIRST"
# 5. Verify TypeScript compiles
cd apps/web && npx tsc --noEmit
# 6. Run tests (when available)
npm run test 2>/dev/null || echo "No tests configured yet"
# 7. Verify CI would pass
# Check lint, build, etc. locally before pushing
Pre-Push Checklist:
- ✅ Feature branch is up-to-date with target branch
- ✅ No merge conflicts exist
- ✅ TypeScript compiles without errors
- ✅ Tests pass (when tests exist)
- ✅ CI would pass (run checks locally)
Only After All Checks Pass:
git push origin feature-branch
gh pr create --base yolo --head feature-branch
2. Generate Keywords
Generate 3-5 keywords by combining:
- Module name (always include)
- Technical components: API, UI, database, routing, auth, etc.
- Action type: scaffold, integration, refactor, feature, bugfix
- Domain concepts: From the 8 Paths and their subcategories (see docs/cooperation-paths.md)
Example for bridge module:
bridge, ai-assistant, streaming, citations, knowledge-base
Example for governance module:
governance, proposals, voting, consensus, deliberation
Example for social-economy module:
social-economy, timebanking, mutual-aid, cooperatives, transactions
3. Format PR Body
Create PR with this EXACT format:
Category: [Selected Cooperation Path Name]
Keywords: [keyword1, keyword2, keyword3, ...]
## Summary
[What changed and why]
## Files Changed
[List with brief description]
## Progress
progress:{module}=+X
[Proof lines if validation run]
CRITICAL FORMAT RULES:
- First line MUST be
Category: (plain text, no bold, no markdown)
- Second line MUST be
Keywords: (plain text, no bold, no markdown)
- Then blank line, then markdown sections
- Progress marker in body for auto-update on merge
- Always include verification: "Verified: All changes tested during implementation, build passes"
4. Create PR with gh CLI
gh pr create --base yolo --head feature-branch --title "[Title]" --body "[Formatted body]"
Note: If gh CLI is not authenticated, output the PR creation URL and the formatted PR body for manual creation.
5. Post-Push CI Verification (IMPORTANT)
After pushing, monitor for AI reviewer comments:
Note: Lint and smoke tests are disabled on yolo branch - don't expect those checks.
Active checks on yolo:
- GitHub Copilot code review comments
- Codex AI review comments
- Build verification
- Other automated reviewers
Process:
After PR created, wait ~60 seconds for AI reviewers to analyze (Codex + Copilot)
Check for inline code comments (use multiple API endpoints):
# CRITICAL: Check Codex inline review comments (try multiple endpoints)
# Endpoint 1: Pull request comments
gh api repos/coopeverything/TogetherOS/pulls/<PR#>/comments \
--jq '.[] | select(.user.login == "chatgpt-codex-connector") | {file: .path, line: .line, body: .body}'
# Endpoint 2: Pull request reviews
gh api repos/coopeverything/TogetherOS/pulls/<PR#>/reviews \
--jq '.[] | select(.user.login == "chatgpt-codex-connector")'
# Endpoint 3: Issue comments (general PR comments)
gh api repos/coopeverything/TogetherOS/issues/<PR#>/comments \
--jq '.[] | select(.user.login == "chatgpt-codex-connector")'
# Check Copilot inline comments (all endpoints)
gh api repos/coopeverything/TogetherOS/pulls/<PR#>/comments \
--jq '.[] | select(.user.login | contains("copilot")) | {file: .path, line: .line, body: .body}'
gh api repos/coopeverything/TogetherOS/pulls/<PR#>/reviews \
--jq '.[] | select(.user.login | contains("copilot"))'
MANDATORY: Always verify on web UI (not just when API returns empty):
gh pr view <PR#> --web
Verification checklist:
CRITICAL: GitHub API sometimes returns empty results even when comments exist. Web UI inspection is REQUIRED for every PR, not optional.
Categorize feedback by priority:
- P1 (Critical): MUST fix - security, build artifacts, breaking changes
- P2 (Important): SHOULD fix - code quality, performance, best practices
- P3 (Nice-to-have): CAN defer - style, minor suggestions
Fix all P1 issues before proceeding:
- Read the issue carefully
- Fix the code
- Commit:
git commit -m "fix: address Codex P1 - [description]"
- Push to update PR
- Wait for re-review
Check for Copilot sub-PRs:
gh pr list --author "app/copilot-swe-agent" --search "sub-pr-<PR#>"
Repeat until all AI reviewers satisfied and checks green
Commands:
# Check inline comments (preferred method)
gh api repos/coopeverything/TogetherOS/pulls/<PR#>/comments \
--jq '.[] | select(.user.login == "chatgpt-codex-connector" or (.user.login | contains("copilot")))'
# View PR on web if API queries fail
gh pr view <PR#> --web
# Check general PR comments
gh pr view <PR#> --comments
# Check CI status
gh pr checks <PR#>
# View specific check logs
gh run view <run-id> --log-failed
# After fixing issues
git add . && git commit -m "fix: address Codex P1 - [specific issue]"
git push
6. PR Verification (Before Suggesting Merge)
Always run this checklist before saying "ready to merge":
# 1. Check mergeable status
gh pr view <PR#> --json mergeable,baseRefName
# 2. Verify base is yolo (not main!)
# baseRefName should be "yolo"
# 3. Review CI checks
gh pr checks <PR#>
# 4. Check for unresolved comments
gh pr view <PR#> --comments
# 5. Fix conflicts if needed
git fetch origin yolo && git merge origin/yolo
# 6. Fix CI failures if needed
gh run view <run-id> --log-failed
Never Say "Ready to Merge" Until:
- ✅ Mergeable status = MERGEABLE
- ✅ All CI checks passing (green)
- ✅ All Copilot/Codex comments addressed
- ✅ No unresolved review comments
- ✅ All commits quality-checked
See: docs/dev/pr-checklist.md
Core Conventions
- Base Branch:
yolo ⚠️ NEVER USE main AS BASE - ALWAYS USE yolo
- PR Target: ALL PRs go to
yolo, NEVER to main
- Branch Pattern:
feature/{module}-{slice}
- CI on yolo: Lint/smoke disabled, Copilot/Codex enabled
Example Usage
Example 1: Format PR for Bridge Module
Use Skill: pr-formatter
Context: Completed bridge streaming UI on branch feature/bridge-streaming
Module: bridge
Slice: streaming
Changes: Added streaming UI components, API handlers, and tests
Expected Output:
Category: Cooperative Technology
Keywords: bridge, ai-assistant, streaming, ui-components, real-time
## Summary
Implemented streaming UI for the Bridge AI assistant module, enabling real-time
response rendering with proper citation display.
## Files Changed
- packages/ui/src/components/bridge/StreamingChat.tsx - New streaming chat component
- apps/web/app/api/bridge/stream/route.ts - Streaming API endpoint
- packages/ui/src/components/bridge/CitationDisplay.tsx - Citation rendering
## Progress
progress:bridge=+15
Verified: All changes tested during implementation, build passes
Example 2: Validate PR Before Merge
Use Skill: pr-formatter
Context: PR #42 created, need to check if it's ready to merge
Action: Run full PR verification checklist
Expected Actions:
- Run
gh pr view 42 --json mergeable,baseRefName
- Run
gh pr checks 42
- Check for Copilot/Codex comments:
gh pr view 42 --comments
- Verify all checks passing and comments resolved
- Report: "PR #42 is ready to merge" or "PR #42 has issues: [list]"
Example 3: Address AI Reviewer Feedback
Use Skill: pr-formatter
Context: PR #42 has Copilot comments about potential issues
Action: Review and address all feedback
Expected Actions:
- Read all Copilot/Codex comments
- For each valid concern: Fix code, commit, push
- For false positives: Add reply explaining context
- Wait for checks to re-run
- Verify all green before reporting ready
Integration with Other Skills
With yolo1:
- yolo1 calls pr-formatter to format PR body before creation
- Uses auto-selected category and keywords
- Includes progress marker from status-tracker
- Monitors CI and addresses feedback
With status-tracker:
- Includes progress marker in formatted PR body
- Ensures correct syntax for automation trigger
Standalone:
- Format PR manually: "format PR for bridge module"
- Validate existing PR: "check if PR #42 is ready"
- Pre-push check: "validate before pushing"
- Address feedback: "fix Copilot comments on PR #42"
Keyword Generation Details
Technical Component Keywords
- API:
api, endpoint, route, handler, rest, graphql
- UI:
ui, component, interface, design-system, styling
- Database:
database, schema, migration, postgres, prisma
- Auth:
authentication, authorization, jwt, session, permissions
- Testing:
tests, e2e, unit-tests, integration-tests
- DevOps:
ci-cd, deployment, docker, github-actions
Action Type Keywords
- scaffold: Initial setup, boilerplate, structure
- integration: Connecting systems, third-party services
- refactor: Code cleanup, optimization, restructuring
- feature: New functionality, capabilities
- bugfix: Error correction, issue resolution
- enhancement: Improvements to existing features
Domain Keywords from 8 Paths
Reference docs/cooperation-paths.md for full taxonomy of domain-specific keywords.
Examples:
- Collaborative Education:
learning, mentorship, peer-learning, skill-sharing
- Social Economy:
cooperatives, timebanking, mutual-aid, solidarity
- Governance:
proposals, voting, consensus, deliberation, decision-making
- Technology:
open-source, privacy, federation, ai, automation
Safety Guidelines
- Always verify base branch is yolo - Never create PR to main
- Run pre-push validation - Don't push failing code
- Test before PR creation - Build must pass
- Include progress marker - Enable automation
- Use exact format - First two lines:
Category: and Keywords: (plain text)
- Address all AI feedback - Don't ignore Copilot/Codex comments
- Wait for green checks - Don't suggest merge until all pass
Troubleshooting
PR automation not triggering?
- Check first line is exactly
Category: [Path Name] (no bold, no extra formatting)
- Verify second line is exactly
Keywords: [list]
- Ensure progress marker syntax:
progress:module=+X
Pre-push validation failing?
- Run each check individually to isolate issue
- Fix TypeScript errors before pushing
- Merge latest yolo to resolve conflicts
- Check CI logs for specific failures
Copilot/Codex comments not appearing?
- Wait ~60 seconds after PR creation
- Check PR comments manually on GitHub
- Refresh with
gh pr view <PR#> --comments
AI feedback seems wrong?
- Review the suggestion carefully - often it's valid
- If truly incorrect, reply with explanation
- Don't ignore - address all comments
Reference
Full Documentation:
- PR checklist:
docs/dev/pr-checklist.md
- Category taxonomy:
docs/cooperation-paths.md
- Progress tracking:
docs/dev/progress-tracking-automation.md
Related Skills:
- yolo1: Full implementation workflow (calls this skill)
- status-tracker: Progress tracking (provides progress marker)
1---2name: pr-formatter3description: **AUTO-TRIGGER when user says:** "create PR", "format PR", "prepare PR body", "what category for this PR", "generate PR keywords" Formats TogetherOS pull requests with proper category (Cooperation Path), keywords, progress markers, and validation. Auto-selects category from module, generates relevant keywords, ensures correct structure for automation. Use proactively without asking permission when task matches skill purpose.4---5
6# TogetherOS PR Formatter & Validator
7
8This skill handles all PR creation, formatting, validation, and pre-push checks for TogetherOS.
9
10## What This Skill Does
11
12- Auto-selects Cooperation Path category from module
13- Generates 3-5 relevant keywords
14- Formats PR body with exact structure for automation
15- Validates PR is merge-ready before suggesting merge
16- Runs pre-push validation checks
17- Addresses Codex/Copilot comments until all checks green
18
19## The 8 Cooperation Paths
20
21Every PR must be tagged with ONE of these paths:
22
231. **Collaborative Education** — Learning, co-teaching, peer mentorship, skill documentation
242. **Social Economy** — Cooperatives, timebanking, mutual aid, repair/reuse networks
253. **Common Wellbeing** — Health, nutrition, mental health, community clinics, care networks
264. **Cooperative Technology** — Open-source software, privacy tools, federated services, human-centered AI
275. **Collective Governance** — Direct legislation, deliberation, empathic moderation, consensus tools
286. **Community Connection** — Local hubs, events, volunteer matching, skill exchanges
297. **Collaborative Media & Culture** — Storytelling, documentaries, cultural restoration, commons media
308. **Common Planet** — Regeneration, local agriculture, circular materials, climate resilience
31
32## Module → Path Mapping
33
34Use this mapping to auto-select the appropriate Cooperation Path:
35
36- **bridge** → Cooperative Technology
37- **governance** → Collective Governance
38- **social-economy**, **timebank**, **support-points** → Social Economy
39- **moderation**, **discourse** → Collective Governance
40- **community**, **events**, **volunteer** → Community Connection
41- **education**, **learning**, **mentorship** → Collaborative Education
42- **health**, **wellness**, **care** → Common Wellbeing
43- **media**, **culture**, **storytelling** → Collaborative Media & Culture
44- **environment**, **sustainability**, **agriculture** → Common Planet
45- **infrastructure**, **monorepo**, **ci-cd**, **api** → Cooperative Technology (default for tech work)
46
47## Workflow Steps
48
49### 1. Pre-Push Validation (REQUIRED)
50
51**Before creating ANY PR, run these checks:**
52
53```bash
54# 1. Update target branch
55git fetch origin yolo
56
57# 2. Check if feature branch is up-to-date
58git merge-base --is-ancestor origin/yolo HEAD
59# If fails, need to rebase/merge
60
61# 3. Merge/rebase onto latest target
62git merge origin/yolo
63# OR: git rebase origin/yolo
64
65# 4. Verify no merge conflicts
66git status | grep -q "Unmerged paths" && echo "CONFLICTS FOUND - FIX FIRST"
67
68# 5. Verify TypeScript compiles
69cd apps/web && npx tsc --noEmit
70
71# 6. Run tests (when available)
72npm run test 2>/dev/null || echo "No tests configured yet"
73
74# 7. Verify CI would pass
75# Check lint, build, etc. locally before pushing
76```
77
78**Pre-Push Checklist:**
79- ✅ Feature branch is up-to-date with target branch
80- ✅ No merge conflicts exist
81- ✅ TypeScript compiles without errors
82- ✅ Tests pass (when tests exist)
83- ✅ CI would pass (run checks locally)
84
85**Only After All Checks Pass:**
86```bash
87git push origin feature-branch
88gh pr create --base yolo --head feature-branch
89```
90
91### 2. Generate Keywords
92
93Generate 3-5 keywords by combining:
94
951. **Module name** (always include)
962. **Technical components**: API, UI, database, routing, auth, etc.
973. **Action type**: scaffold, integration, refactor, feature, bugfix
984. **Domain concepts**: From the 8 Paths and their subcategories (see docs/cooperation-paths.md)
99
100**Example for bridge module:**
101- `bridge`, `ai-assistant`, `streaming`, `citations`, `knowledge-base`
102
103**Example for governance module:**
104- `governance`, `proposals`, `voting`, `consensus`, `deliberation`
105
106**Example for social-economy module:**
107- `social-economy`, `timebanking`, `mutual-aid`, `cooperatives`, `transactions`
108
109### 3. Format PR Body
110
111Create PR with this EXACT format:
112
113```markdown
114Category: [Selected Cooperation Path Name]
115Keywords: [keyword1, keyword2, keyword3, ...]
116
117## Summary
118[What changed and why]
119
120## Files Changed
121[List with brief description]
122
123## Progress
124progress:{module}=+X
125
126[Proof lines if validation run]
127```
128
129**CRITICAL FORMAT RULES:**
130- First line MUST be `Category:` (plain text, no bold, no markdown)
131- Second line MUST be `Keywords:` (plain text, no bold, no markdown)
132- Then blank line, then markdown sections
133- Progress marker in body for auto-update on merge
134- Always include verification: "Verified: All changes tested during implementation, build passes"
135
136### 4. Create PR with gh CLI
137
138```bash
139gh pr create --base yolo --head feature-branch --title "[Title]" --body "[Formatted body]"
140```
141
142**Note:** If `gh` CLI is not authenticated, output the PR creation URL and the formatted PR body for manual creation.
143
144### 5. Post-Push CI Verification (IMPORTANT)
145
146**After pushing, monitor for AI reviewer comments:**
147
148**Note:** Lint and smoke tests are **disabled on yolo branch** - don't expect those checks.
149
150**Active checks on yolo:**
151- GitHub Copilot code review comments
152- Codex AI review comments
153- Build verification
154- Other automated reviewers
155
156**Process:**
1571. After PR created, wait ~60 seconds for AI reviewers to analyze (Codex + Copilot)
1582. **Check for inline code comments** (use multiple API endpoints):
159 ```bash
160 # CRITICAL: Check Codex inline review comments (try multiple endpoints)
161
162 # Endpoint 1: Pull request comments
163 gh api repos/coopeverything/TogetherOS/pulls/<PR#>/comments \
164 --jq '.[] | select(.user.login == "chatgpt-codex-connector") | {file: .path, line: .line, body: .body}'
165
166 # Endpoint 2: Pull request reviews
167 gh api repos/coopeverything/TogetherOS/pulls/<PR#>/reviews \
168 --jq '.[] | select(.user.login == "chatgpt-codex-connector")'
169
170 # Endpoint 3: Issue comments (general PR comments)
171 gh api repos/coopeverything/TogetherOS/issues/<PR#>/comments \
172 --jq '.[] | select(.user.login == "chatgpt-codex-connector")'
173
174 # Check Copilot inline comments (all endpoints)
175 gh api repos/coopeverything/TogetherOS/pulls/<PR#>/comments \
176 --jq '.[] | select(.user.login | contains("copilot")) | {file: .path, line: .line, body: .body}'
177
178 gh api repos/coopeverything/TogetherOS/pulls/<PR#>/reviews \
179 --jq '.[] | select(.user.login | contains("copilot"))'
180 ```
1813. **MANDATORY: Always verify on web UI** (not just when API returns empty):
182 ```bash
183 gh pr view <PR#> --web
184 ```
185 **Verification checklist:**
186 - [ ] Open "Files Changed" tab
187 - [ ] Scroll through EVERY changed file
188 - [ ] Look for comment badges/icons on line numbers
189 - [ ] Read ALL inline comments (not just review summary)
190 - [ ] Confirm P1 issues identified in API queries match web UI
191 - [ ] Look for comments that API might have missed
192
193 **CRITICAL:** GitHub API sometimes returns empty results even when comments exist. Web UI inspection is REQUIRED for every PR, not optional.
1944. **Categorize feedback by priority**:
195 - **P1 (Critical)**: MUST fix - security, build artifacts, breaking changes
196 - **P2 (Important)**: SHOULD fix - code quality, performance, best practices
197 - **P3 (Nice-to-have)**: CAN defer - style, minor suggestions
1985. **Fix all P1 issues before proceeding**:
199 - Read the issue carefully
200 - Fix the code
201 - Commit: `git commit -m "fix: address Codex P1 - [description]"`
202 - Push to update PR
203 - Wait for re-review
2046. Check for Copilot sub-PRs:
205 ```bash
206 gh pr list --author "app/copilot-swe-agent" --search "sub-pr-<PR#>"
207 ```
2087. Repeat until all AI reviewers satisfied and checks green
209
210**Commands:**
211```bash
212# Check inline comments (preferred method)
213gh api repos/coopeverything/TogetherOS/pulls/<PR#>/comments \
214 --jq '.[] | select(.user.login == "chatgpt-codex-connector" or (.user.login | contains("copilot")))'
215
216# View PR on web if API queries fail
217gh pr view <PR#> --web
218
219# Check general PR comments
220gh pr view <PR#> --comments
221
222# Check CI status
223gh pr checks <PR#>
224
225# View specific check logs
226gh run view <run-id> --log-failed
227
228# After fixing issues
229git add . && git commit -m "fix: address Codex P1 - [specific issue]"
230git push
231```
232
233### 6. PR Verification (Before Suggesting Merge)
234
235**Always run this checklist before saying "ready to merge":**
236
237```bash
238# 1. Check mergeable status
239gh pr view <PR#> --json mergeable,baseRefName
240
241# 2. Verify base is yolo (not main!)
242# baseRefName should be "yolo"
243
244# 3. Review CI checks
245gh pr checks <PR#>
246
247# 4. Check for unresolved comments
248gh pr view <PR#> --comments
249
250# 5. Fix conflicts if needed
251git fetch origin yolo && git merge origin/yolo
252
253# 6. Fix CI failures if needed
254gh run view <run-id> --log-failed
255```
256
257**Never Say "Ready to Merge" Until:**
258- ✅ Mergeable status = MERGEABLE
259- ✅ All CI checks passing (green)
260- ✅ All Copilot/Codex comments addressed
261- ✅ No unresolved review comments
262- ✅ All commits quality-checked
263
264**See:** `docs/dev/pr-checklist.md`
265
266## Core Conventions
267
268- **Base Branch**: `yolo` **⚠️ NEVER USE main AS BASE - ALWAYS USE yolo**
269- **PR Target**: ALL PRs go to `yolo`, **NEVER to main**
270- **Branch Pattern**: `feature/{module}-{slice}`
271- **CI on yolo**: Lint/smoke disabled, Copilot/Codex enabled
272
273## Example Usage
274
275### Example 1: Format PR for Bridge Module
276```
277Use Skill: pr-formatter
278Context: Completed bridge streaming UI on branch feature/bridge-streaming
279Module: bridge
280Slice: streaming
281Changes: Added streaming UI components, API handlers, and tests
282```
283
284**Expected Output:**
285```markdown
286Category: Cooperative Technology
287Keywords: bridge, ai-assistant, streaming, ui-components, real-time
288
289## Summary
290Implemented streaming UI for the Bridge AI assistant module, enabling real-time
291response rendering with proper citation display.
292
293## Files Changed
294- packages/ui/src/components/bridge/StreamingChat.tsx - New streaming chat component
295- apps/web/app/api/bridge/stream/route.ts - Streaming API endpoint
296- packages/ui/src/components/bridge/CitationDisplay.tsx - Citation rendering
297
298## Progress
299progress:bridge=+15
300
301Verified: All changes tested during implementation, build passes
302```
303
304### Example 2: Validate PR Before Merge
305```
306Use Skill: pr-formatter
307Context: PR #42 created, need to check if it's ready to merge
308Action: Run full PR verification checklist
309```
310
311**Expected Actions:**
3121. Run `gh pr view 42 --json mergeable,baseRefName`
3132. Run `gh pr checks 42`
3143. Check for Copilot/Codex comments: `gh pr view 42 --comments`
3154. Verify all checks passing and comments resolved
3165. Report: "PR #42 is ready to merge" or "PR #42 has issues: [list]"
317
318### Example 3: Address AI Reviewer Feedback
319```
320Use Skill: pr-formatter
321Context: PR #42 has Copilot comments about potential issues
322Action: Review and address all feedback
323```
324
325**Expected Actions:**
3261. Read all Copilot/Codex comments
3272. For each valid concern: Fix code, commit, push
3283. For false positives: Add reply explaining context
3294. Wait for checks to re-run
3305. Verify all green before reporting ready
331
332## Integration with Other Skills
333
334**With yolo1:**
335- yolo1 calls pr-formatter to format PR body before creation
336- Uses auto-selected category and keywords
337- Includes progress marker from status-tracker
338- Monitors CI and addresses feedback
339
340**With status-tracker:**
341- Includes progress marker in formatted PR body
342- Ensures correct syntax for automation trigger
343
344**Standalone:**
345- Format PR manually: "format PR for bridge module"
346- Validate existing PR: "check if PR #42 is ready"
347- Pre-push check: "validate before pushing"
348- Address feedback: "fix Copilot comments on PR #42"
349
350## Keyword Generation Details
351
352### Technical Component Keywords
353- **API**: `api`, `endpoint`, `route`, `handler`, `rest`, `graphql`
354- **UI**: `ui`, `component`, `interface`, `design-system`, `styling`
355- **Database**: `database`, `schema`, `migration`, `postgres`, `prisma`
356- **Auth**: `authentication`, `authorization`, `jwt`, `session`, `permissions`
357- **Testing**: `tests`, `e2e`, `unit-tests`, `integration-tests`
358- **DevOps**: `ci-cd`, `deployment`, `docker`, `github-actions`
359
360### Action Type Keywords
361- **scaffold**: Initial setup, boilerplate, structure
362- **integration**: Connecting systems, third-party services
363- **refactor**: Code cleanup, optimization, restructuring
364- **feature**: New functionality, capabilities
365- **bugfix**: Error correction, issue resolution
366- **enhancement**: Improvements to existing features
367
368### Domain Keywords from 8 Paths
369Reference `docs/cooperation-paths.md` for full taxonomy of domain-specific keywords.
370
371**Examples:**
372- **Collaborative Education**: `learning`, `mentorship`, `peer-learning`, `skill-sharing`
373- **Social Economy**: `cooperatives`, `timebanking`, `mutual-aid`, `solidarity`
374- **Governance**: `proposals`, `voting`, `consensus`, `deliberation`, `decision-making`
375- **Technology**: `open-source`, `privacy`, `federation`, `ai`, `automation`
376
377## Safety Guidelines
378
3791. **Always verify base branch is yolo** - Never create PR to main
3802. **Run pre-push validation** - Don't push failing code
3813. **Test before PR creation** - Build must pass
3824. **Include progress marker** - Enable automation
3835. **Use exact format** - First two lines: `Category:` and `Keywords:` (plain text)
3846. **Address all AI feedback** - Don't ignore Copilot/Codex comments
3857. **Wait for green checks** - Don't suggest merge until all pass
386
387## Troubleshooting
388
389**PR automation not triggering?**
390- Check first line is exactly `Category: [Path Name]` (no bold, no extra formatting)
391- Verify second line is exactly `Keywords: [list]`
392- Ensure progress marker syntax: `progress:module=+X`
393
394**Pre-push validation failing?**
395- Run each check individually to isolate issue
396- Fix TypeScript errors before pushing
397- Merge latest yolo to resolve conflicts
398- Check CI logs for specific failures
399
400**Copilot/Codex comments not appearing?**
401- Wait ~60 seconds after PR creation
402- Check PR comments manually on GitHub
403- Refresh with `gh pr view <PR#> --comments`
404
405**AI feedback seems wrong?**
406- Review the suggestion carefully - often it's valid
407- If truly incorrect, reply with explanation
408- Don't ignore - address all comments
409
410## Reference
411
412**Full Documentation:**
413- PR checklist: `docs/dev/pr-checklist.md`
414- Category taxonomy: `docs/cooperation-paths.md`
415- Progress tracking: `docs/dev/progress-tracking-automation.md`
416
417**Related Skills:**
418- **yolo1**: Full implementation workflow (calls this skill)
419- **status-tracker**: Progress tracking (provides progress marker)