- Add model: sonnet to issue-worker agent (balanced for implementation) - Add model: sonnet to pr-fixer agent (balanced for feedback iteration) - Add model: haiku to /dashboard command (read-only display) - Add model: haiku to /roadmap command (read-only categorization) - Document rationale for each model selection in frontmatter comments Closes #72 Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
89 lines
2.2 KiB
Markdown
89 lines
2.2 KiB
Markdown
---
|
|
description: Show dashboard of open issues, PRs awaiting review, and CI status.
|
|
# Model: haiku is sufficient for fetching and displaying data.
|
|
# This command only reads from Gitea and formats output - no complex reasoning needed.
|
|
model: haiku
|
|
---
|
|
|
|
# Repository Dashboard
|
|
|
|
@~/.claude/skills/gitea/SKILL.md
|
|
|
|
Fetch and display the following sections:
|
|
|
|
## 1. Open Issues
|
|
|
|
Run `tea issues` to list all open issues.
|
|
|
|
Format as a table showing:
|
|
- Number
|
|
- Title
|
|
- Author
|
|
|
|
## 2. Open Pull Requests
|
|
|
|
Run `tea pulls` to list all open PRs.
|
|
|
|
Format as a table showing:
|
|
- Number
|
|
- Title
|
|
- Author
|
|
|
|
## 3. CI Status (Recent Workflow Runs)
|
|
|
|
Run `tea actions runs` to list recent workflow runs.
|
|
|
|
**Output formatting:**
|
|
- Show the most recent 10 workflow runs maximum
|
|
- For each run, display:
|
|
- Status (use indicators: [SUCCESS], [FAILURE], [RUNNING], [PENDING])
|
|
- Workflow name
|
|
- Branch or PR reference
|
|
- Commit (short SHA)
|
|
- Triggered time
|
|
|
|
**Highlighting:**
|
|
- **Highlight failed runs** by prefixing with a warning indicator and ensuring they stand out visually
|
|
- Example: "**[FAILURE]** build - PR #42 - abc1234 - 2h ago"
|
|
|
|
**Handling repos without CI:**
|
|
- If `tea actions runs` returns "No workflow runs found" or similar, display:
|
|
"No CI workflows configured for this repository."
|
|
- Do not treat this as an error - simply note it and continue
|
|
|
|
## Output Format
|
|
|
|
Present each section with a clear header. Example:
|
|
|
|
\`\`\`
|
|
## Open Issues (3)
|
|
|
|
| # | Title | Author |
|
|
|----|------------------------|--------|
|
|
| 15 | Fix login timeout | alice |
|
|
| 12 | Add dark mode | bob |
|
|
| 8 | Update documentation | carol |
|
|
|
|
## Open Pull Requests (2)
|
|
|
|
| # | Title | Author |
|
|
|----|------------------------|--------|
|
|
| 16 | Fix login timeout | alice |
|
|
| 14 | Refactor auth module | bob |
|
|
|
|
## CI Status
|
|
|
|
| Status | Workflow | Branch/PR | Commit | Time |
|
|
|-------------|----------|-------------|---------|---------|
|
|
| **[FAILURE]** | build | PR #16 | abc1234 | 2h ago |
|
|
| [SUCCESS] | build | main | def5678 | 5h ago |
|
|
| [SUCCESS] | lint | main | def5678 | 5h ago |
|
|
\`\`\`
|
|
|
|
If no CI is configured:
|
|
\`\`\`
|
|
## CI Status
|
|
|
|
No CI workflows configured for this repository.
|
|
\`\`\`
|