You've learned the concepts. Now let's design a complete agentic automation plan for your repositories — combining your existing Kiro harness with gh-aw workflows to create a system where agents handle the routine while you focus on the interesting problems.
You already have a strong foundation:
/start-work → implement → /comply → /ship → /end-work. Independent reviewer subagent. 90% compliance gate.
Tests, linting, builds already running on push/PR. The infrastructure is there.
Not yet. This is where agents run without you invoking them.
Kiro-only harness. Could add Claude Code and Codex support alongside.
Here's a phased rollout — each phase builds on the previous one and can be completed in a single session:
Start here. This gets you a working agentic workflow in production in 15 minutes.
gh extension install github/gh-awgh aw add-wizard githubnext/agentics/daily-repo-statusgh aw run daily-repo-statusmax-ai-credits: 5 to the frontmatter to cap costsThis is the most valuable automation for your workflow — your independent reviewer, running automatically on every PR:
---
on:
pull_request:
types: [opened, synchronize]
permissions:
contents: read
pull-requests: read
safe-outputs:
create-pull-request-review-comment:
max: 10
submit-pull-request-review:
max: 1
allowed-events: [COMMENT]
add-labels:
allowed: [compliance-pass, compliance-fail, needs-review]
max-ai-credits: 10
---
## Automated Compliance Review
You are an independent code reviewer. Review this PR against
the repository's design principles and any spec file present.
### What to check
1. **Spec compliance**: If `.kiro/spec.md` exists, grade each
acceptance criterion as met/partial/unmet with evidence.
2. **Design principles**: DRY, simplicity, surgical changes,
backwards compatibility.
3. **Test coverage**: Are new behaviors tested?
4. **Documentation**: Do public APIs have docs?
### Output format
Post review comments on specific lines where issues exist.
Submit a review summary with:
- Overall compliance score (percentage)
- Table of criteria → status → evidence
- Verdict: pass (≥90%) or fail
### Labels
- Add `compliance-pass` if score ≥90%
- Add `compliance-fail` if score <90%
- Add `needs-review` if you can't determine (missing spec)
This is your /comply skill — but running automatically on every PR. The same independent-reviewer principle (no access to implementation reasoning, only sees the diff and spec), now triggered by GitHub events instead of a manual command.
---
on:
schedule: "0 9 * * 1" # Every Monday at 9am
permissions:
contents: read
issues: read
safe-outputs:
create-issue:
title-prefix: "[quality] "
labels: [automation, quality]
close-older-issues: true
expires: 7
max-ai-credits: 8
---
## Weekly Code Quality Report
Analyze the repository for quality issues and create
a prioritized report.
### What to analyze
- Dead code (unused exports, unreachable branches)
- Complexity hotspots (functions > 50 lines, deep nesting)
- Dependency freshness (outdated packages)
- Test coverage gaps (untested public functions)
- Documentation staleness (docs that reference old APIs)
### Report format
Create an issue with:
- Top 5 priority items (most impactful to fix)
- Quick wins (< 15 min each)
- Trends (better or worse than last week, if prior report exists)
Keep it actionable. Skip theoretical concerns.
Not everything should be an automated workflow. Use this test:
| Automate when... | Keep manual when... |
|---|---|
| You do it the same way every time | It requires judgment about what to do |
| Forgetting to do it causes problems | The cost of a wrong action is high |
| It can be verified by checking output | It needs real-time human context |
| An independent reviewer adds value | Speed of human response matters more |
Before adding any gh-aw workflow to a repo, verify:
max-ai-credits set in frontmatter (start low: 5-10)staged: true to preview before going livegh aw run before enabling schedule/event triggersgh aw logs to check costs and qualityAcross these 10 lessons, you now understand:
Start with one automated workflow on one real repo. Let it run for a week. See what it catches that you would have missed. Then add the next one. Compound automation beats big-bang adoption every time.
Peli's Agent Factory — A 19-part blog series walking through real-world agentic workflows. Each post is a different automation pattern with full source. Pick the one closest to your Phase 2 goal and adapt it.