/aitask-reviewguide-classify
Classify a review guide by assigning metadata and finding similar guides
Classify a review guide file by assigning metadata and finding similar existing guides. This skill builds the metadata foundation that makes /aitask-review auto-detection work effectively.
Usage:
/aitask-reviewguide-classify security # Classify a specific guide (fuzzy match)
/aitask-reviewguide-classify # Batch: find and classify all incomplete guides
Note: Must be run from the project root directory. See Skills overview for details.
Step-by-Step
Single-file mode (with argument):
- Resolve file — Fuzzy-matches the argument against markdown files in
aireviewguides/. If multiple matches, prompts for selection - Analyze content — Reads the guide’s headings, bullets, and topics to determine what it reviews
- Assign metadata — Proposes values for
reviewtype(single classification from vocabulary),reviewlabels(3-6 topic tags),environment(language/framework, or universal forgeneral/guides), andsimilar_to(guides with overlapping coverage) - Confirm and apply — Shows proposed metadata for review. Options: apply as proposed, modify, or cancel. On apply, updates the frontmatter and commits
Batch mode (no argument):
- Scan for incomplete — Finds all guides missing
reviewtype,reviewlabels, orenvironment(for non-general guides) - Iterate — Processes each incomplete file through the single-file process (Steps 2-4 above)
- Summary — Reports files classified, new vocabulary values added, and
similar_torelationships discovered
Key Capabilities
- Fuzzy file matching — No need to type the full filename; a partial match like
securityorpython_bestresolves to the right file - Vocabulary-aware — Reads existing values from
aireviewguides/reviewtypes.txt,aireviewguides/reviewlabels.txt, andaireviewguides/reviewenvironments.txt. Strongly prefers existing terms for consistency, but can add new values when needed - Similarity detection — After assigning metadata, compares against all other guides using a scoring formula based on shared labels, type match, and environment overlap. Sets
similar_towhen overlap is significant - Batch autocommit — In batch mode, choose between autocommitting after each file or a single commit at the end
When similar_to is set, consider running /aitask-reviewguide-merge to consolidate overlapping guides.
Workflows
For the full review workflow including guide management, see Code Review.