feat(marketplace): hook migration, projman commands, optimizations [BREAKING]
Remove all SessionStart and PostToolUse hooks across the marketplace, retaining only PreToolUse safety hooks and UserPromptSubmit quality hooks. Add /project and /adr command families, /hygiene check, /cv status. Create 7 new projman skills for project lifecycle management. Remove /pm-debug, /suggest-version, /proposal-status commands. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
36
plugins/project-hygiene/commands/hygiene-check.md
Normal file
36
plugins/project-hygiene/commands/hygiene-check.md
Normal file
@@ -0,0 +1,36 @@
|
||||
---
|
||||
description: Manual project hygiene check — validates file organization and cleanup
|
||||
---
|
||||
|
||||
# /hygiene check
|
||||
|
||||
## Purpose
|
||||
|
||||
Manually run project hygiene checks that were previously automatic (PostToolUse hook removed per Decision #29).
|
||||
|
||||
## Checks Performed
|
||||
|
||||
1. **Temp file detection** — find files in project root that look temporary (*.tmp, *.bak, *.swp, *~)
|
||||
2. **Misplaced files** — files outside their expected directories per project conventions
|
||||
3. **Empty directories** — directories with no files
|
||||
4. **Large files** — files exceeding reasonable size thresholds
|
||||
5. **Debug artifacts** — leftover debug logs, console.log statements, print statements
|
||||
|
||||
## Usage
|
||||
|
||||
```
|
||||
/hygiene check # Run all checks
|
||||
/hygiene check --fix # Auto-fix safe issues (delete temp files, remove empty dirs)
|
||||
```
|
||||
|
||||
## Output
|
||||
|
||||
```
|
||||
Temp files: 0 found
|
||||
Misplaced files: 0 found
|
||||
Empty directories: 2 found
|
||||
Large files: 0 found
|
||||
Debug artifacts: 1 found
|
||||
|
||||
Fixable: 2 issues (run with --fix)
|
||||
```
|
||||
Reference in New Issue
Block a user