| name | amaa-github-integration |
| description | Use when syncing designs to GitHub issues or managing project boards. Trigger with GitHub integration or issue sync request. |
| context | fork |
| agent | ai-maestro-architect-agent-main-agent |
| user-invocable | true |
GitHub Integration Skill
Overview
Link design documents to GitHub issues for complete traceability. Create issues from designs, attach designs to existing issues, and keep status synchronized between design document status and GitHub issue labels.
Prerequisites
- gh CLI installed and authenticated (
gh auth status)
- Current directory within a GitHub repository
- Design documents with valid UUID in frontmatter
Instructions
- Verify gh CLI is authenticated:
gh auth status
- Verify design document has UUID in frontmatter
- Choose and execute the appropriate operation:
- Create issue:
python scripts/amaa_github_issue_create.py --uuid <UUID>
- Attach to issue:
python scripts/amaa_github_attach_document.py --uuid <UUID> --issue <N>
- Sync status:
python scripts/amaa_github_sync_status.py --uuid <UUID>
- Use
--dry-run flag on create to preview before executing
- Verify results and confirm design frontmatter was updated
- For batch sync of all linked documents:
--all flag on sync script
- Monitor GitHub Project board for external changes (see monitoring ref)
Checklist
Copy this checklist and track your progress:
Reference Documents
| Document | Description |
|---|
| op-create-issue-from-design.md | When to Use, Prerequisites, Procedure, Checklist, Examples, Error Handling, Related Operations |
| op-attach-design-to-issue.md | When to Use, Prerequisites, Procedure, Checklist, Examples, Error Handling, Related Operations |
| op-sync-status-to-github.md | When to Use, Prerequisites, Procedure, Checklist, Examples, Status to Label Mapping, Error Handling, Related Operations |
| op-monitor-github-project.md | When to Use, Prerequisites, Procedure, [TIMESTAMP], Checklist, Examples, What to Monitor, Error Handling, Related Operations |
| op-generate-design-uuid.md | When to Use, Prerequisites, Procedure, Checklist, Examples, UUID Format, Error Handling, Related Operations |
Examples
python scripts/amaa_github_issue_create.py --uuid PROJ-SPEC-20250129-a1b2c3d4 --dry-run
python scripts/amaa_github_issue_create.py --uuid PROJ-SPEC-20250129-a1b2c3d4
Error Handling
| Error | Cause | Solution |
|---|
| gh CLI not found | Not installed | brew install gh |
| gh not authenticated | No auth token | gh auth login |
| Document has no UUID | Missing frontmatter | Run amaa_design_uuid.py |
| Issue already exists | Duplicate attempt | Use attach or sync instead |
| Label creation failed | Missing permissions | Create labels manually |
Output
| Operation | Output |
|---|
| Create Issue | GitHub issue URL + design frontmatter updated with related_issues |
| Attach Design | Comment posted on issue + labels updated |
| Sync Status | Old status label removed, new label added |
| Dry Run | Preview of what would happen without changes |
Resources
See Reference Documents table above.
- amaa-github-integration-ops - operations and troubleshooting quick-reference companion to this skill (loaded on demand for runtime ops/debugging).