Major refactoring of projman plugin architecture: Skills Extraction (17 new files): - Extracted reusable knowledge from commands and agents into skills/ - branch-security, dependency-management, git-workflow, input-detection - issue-conventions, lessons-learned, mcp-tools-reference, planning-workflow - progress-tracking, repo-validation, review-checklist, runaway-detection - setup-workflows, sprint-approval, task-sizing, test-standards, wiki-conventions Command Consolidation (17 → 12 commands): - /setup: consolidates initial-setup, project-init, project-sync (--full/--quick/--sync) - /debug: consolidates debug-report, debug-review (report/review modes) - /test: consolidates test-check, test-gen (run/gen modes) - /sprint-status: absorbs sprint-diagram via --diagram flag Architecture Cleanup: - Remove plugin-level mcp-servers/ symlinks (6 plugins) - Remove plugin README.md files (12 files, ~2000 lines) - Update all documentation to reflect new command structure - Fix documentation drift in CONFIGURATION.md, COMMANDS-CHEATSHEET.md Commands are now thin dispatchers (~20-50 lines) that reference skills. Agents reference skills for domain knowledge instead of inline content. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
54 lines
2.0 KiB
Markdown
54 lines
2.0 KiB
Markdown
---
|
|
description: Fetch and validate label taxonomy from Gitea, create missing required labels
|
|
---
|
|
|
|
# Sync Label Taxonomy
|
|
|
|
## Skills Required
|
|
|
|
- skills/mcp-tools-reference.md
|
|
- skills/repo-validation.md
|
|
- skills/label-taxonomy/labels-reference.md
|
|
|
|
## Purpose
|
|
|
|
Fetch current label taxonomy from Gitea, validate required labels exist, and create any missing ones.
|
|
|
|
## Invocation
|
|
|
|
Run `/labels-sync` when setting up the plugin or after taxonomy updates.
|
|
|
|
## Workflow
|
|
|
|
1. **Detect Repository** - Parse `git remote get-url origin` to get `owner/repo`
|
|
2. **Validate Repository** - Use `validate_repo_org` to check if org-owned
|
|
3. **Fetch Labels** - Use `get_labels(repo=...)` to get org + repo labels
|
|
4. **Display Taxonomy** - Show labels grouped by category
|
|
5. **Check Required Labels** - Verify Type/*, Priority/*, Complexity/*, Effort/* exist
|
|
6. **Create Missing** - Use `create_label_smart` which auto-detects org vs repo level
|
|
7. **Report Results** - Summarize what was found and created
|
|
|
|
## Required Label Categories
|
|
|
|
| Category | Required Labels |
|
|
|----------|-----------------|
|
|
| Type/* | Bug, Feature, Refactor, Documentation, Test, Chore |
|
|
| Priority/* | Low, Medium, High, Critical |
|
|
| Complexity/* | Simple, Medium, Complex |
|
|
| Efforts/* | XS, S, M, L, XL |
|
|
|
|
## DO NOT
|
|
|
|
- Call MCP tools without the `repo` parameter
|
|
- Create local files - this command only interacts with Gitea
|
|
- Ask user questions - execute autonomously
|
|
|
|
## Visual Output
|
|
|
|
```
|
|
╔══════════════════════════════════════════════════════════════════╗
|
|
║ 📋 PROJMAN ║
|
|
║ Labels Sync ║
|
|
╚══════════════════════════════════════════════════════════════════╝
|
|
```
|