Merge pull request 'docs: add debug commands to projman documentation' (#86) from docs/add-debug-commands-documentation into development
This commit was merged in pull request #86.
This commit is contained in:
@@ -20,6 +20,8 @@ Quick reference for all commands in the Leo Claude Marketplace.
|
|||||||
| **projman** | `/project-sync` | | X | Sync config with git remote after repo move/rename |
|
| **projman** | `/project-sync` | | X | Sync config with git remote after repo move/rename |
|
||||||
| **projman** | *SessionStart hook* | X | | Detects git remote vs .env mismatch, warns to run /project-sync |
|
| **projman** | *SessionStart hook* | X | | Detects git remote vs .env mismatch, warns to run /project-sync |
|
||||||
| **projman** | `/test-gen` | | X | Generate comprehensive tests for specified code |
|
| **projman** | `/test-gen` | | X | Generate comprehensive tests for specified code |
|
||||||
|
| **projman** | `/debug-report` | | X | Run diagnostics and create structured issue in marketplace |
|
||||||
|
| **projman** | `/debug-review` | | X | Investigate diagnostic issues and propose fixes with approval gates |
|
||||||
| **git-flow** | `/commit` | | X | Create commit with auto-generated conventional message |
|
| **git-flow** | `/commit` | | X | Create commit with auto-generated conventional message |
|
||||||
| **git-flow** | `/commit-push` | | X | Commit and push to remote in one operation |
|
| **git-flow** | `/commit-push` | | X | Commit and push to remote in one operation |
|
||||||
| **git-flow** | `/commit-merge` | | X | Commit current changes, then merge into target branch |
|
| **git-flow** | `/commit-merge` | | X | Commit current changes, then merge into target branch |
|
||||||
@@ -40,7 +42,6 @@ Quick reference for all commands in the Leo Claude Marketplace.
|
|||||||
| **doc-guardian** | `/doc-audit` | | X | Full documentation audit - scans for doc drift |
|
| **doc-guardian** | `/doc-audit` | | X | Full documentation audit - scans for doc drift |
|
||||||
| **doc-guardian** | `/doc-sync` | | X | Synchronize pending documentation updates |
|
| **doc-guardian** | `/doc-sync` | | X | Synchronize pending documentation updates |
|
||||||
| **doc-guardian** | *PostToolUse hook* | X | | Silently detects doc drift on Write/Edit |
|
| **doc-guardian** | *PostToolUse hook* | X | | Silently detects doc drift on Write/Edit |
|
||||||
| **doc-guardian** | *Stop hook* | X | | Offers to sync docs at session end |
|
|
||||||
| **code-sentinel** | `/security-scan` | | X | Full security audit (SQL injection, XSS, secrets, etc.) |
|
| **code-sentinel** | `/security-scan` | | X | Full security audit (SQL injection, XSS, secrets, etc.) |
|
||||||
| **code-sentinel** | `/refactor` | | X | Apply refactoring patterns to improve code |
|
| **code-sentinel** | `/refactor` | | X | Apply refactoring patterns to improve code |
|
||||||
| **code-sentinel** | `/refactor-dry` | | X | Preview refactoring without applying changes |
|
| **code-sentinel** | `/refactor-dry` | | X | Preview refactoring without applying changes |
|
||||||
@@ -78,7 +79,6 @@ Quick reference for all commands in the Leo Claude Marketplace.
|
|||||||
| **projman** | SessionStart | Checks git remote vs .env; warns if mismatch detected |
|
| **projman** | SessionStart | Checks git remote vs .env; warns if mismatch detected |
|
||||||
| **pr-review** | SessionStart | Checks git remote vs .env; warns if mismatch detected |
|
| **pr-review** | SessionStart | Checks git remote vs .env; warns if mismatch detected |
|
||||||
| **doc-guardian** | PostToolUse (Write/Edit) | Silently tracks documentation drift |
|
| **doc-guardian** | PostToolUse (Write/Edit) | Silently tracks documentation drift |
|
||||||
| **doc-guardian** | Stop | Prompts to sync if drift detected |
|
|
||||||
| **code-sentinel** | PreToolUse (Write/Edit) | Scans for security issues; blocks critical vulnerabilities |
|
| **code-sentinel** | PreToolUse (Write/Edit) | Scans for security issues; blocks critical vulnerabilities |
|
||||||
| **project-hygiene** | PostToolUse (Write/Edit) | Cleans temp files, warns about misplaced files |
|
| **project-hygiene** | PostToolUse (Write/Edit) | Cleans temp files, warns about misplaced files |
|
||||||
|
|
||||||
@@ -214,4 +214,4 @@ Ensure credentials are configured in `~/.config/claude/gitea.env` or `~/.config/
|
|||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
*Last Updated: 2026-01-21*
|
*Last Updated: 2026-01-22*
|
||||||
|
|||||||
@@ -232,6 +232,39 @@ Generate tests for specified code.
|
|||||||
|
|
||||||
**When to use:** When adding new code that needs test coverage
|
**When to use:** When adding new code that needs test coverage
|
||||||
|
|
||||||
|
## Debug Workflow Commands
|
||||||
|
|
||||||
|
These commands enable a cross-repository debugging workflow between your project and the marketplace.
|
||||||
|
|
||||||
|
### `/debug-report`
|
||||||
|
Run diagnostics and create structured issue in marketplace repository.
|
||||||
|
|
||||||
|
**What it does:**
|
||||||
|
- Runs MCP tool diagnostics (validate_repo_org, get_labels, list_issues, etc.)
|
||||||
|
- Captures error messages and hypothesis
|
||||||
|
- Creates a structured issue in the marketplace repository
|
||||||
|
- Tags with `Source: Diagnostic` label
|
||||||
|
|
||||||
|
**When to use:** When MCP tools fail in your project, run this to report the issue to the marketplace for investigation.
|
||||||
|
|
||||||
|
### `/debug-review`
|
||||||
|
Investigate diagnostic issues and propose fixes with human approval.
|
||||||
|
|
||||||
|
**What it does:**
|
||||||
|
- Fetches open diagnostic issues from marketplace
|
||||||
|
- Lets you select which issue to investigate
|
||||||
|
- Maps errors to relevant source files
|
||||||
|
- Reads code and analyzes root cause
|
||||||
|
- Proposes fixes with THREE mandatory approval gates
|
||||||
|
- Creates PR with fix after approval
|
||||||
|
|
||||||
|
**Approval Gates:**
|
||||||
|
1. Analysis confirmation - Does the investigation match your understanding?
|
||||||
|
2. Fix approach - Proceed with proposed changes?
|
||||||
|
3. PR creation - Create pull request?
|
||||||
|
|
||||||
|
**When to use:** In the marketplace repo, to investigate and fix issues reported by `/debug-report`.
|
||||||
|
|
||||||
## Code Quality Commands
|
## Code Quality Commands
|
||||||
|
|
||||||
The `/review` and `/test-check` commands complement the Executor agent by catching issues before work is marked complete. Run both commands before `/sprint-close` for a complete quality check.
|
The `/review` and `/test-check` commands complement the Executor agent by catching issues before work is marked complete. Run both commands before `/sprint-close` for a complete quality check.
|
||||||
@@ -447,9 +480,13 @@ projman/
|
|||||||
│ ├── sprint-close.md
|
│ ├── sprint-close.md
|
||||||
│ ├── labels-sync.md
|
│ ├── labels-sync.md
|
||||||
│ ├── initial-setup.md
|
│ ├── initial-setup.md
|
||||||
|
│ ├── project-init.md
|
||||||
|
│ ├── project-sync.md
|
||||||
│ ├── review.md
|
│ ├── review.md
|
||||||
│ ├── test-check.md
|
│ ├── test-check.md
|
||||||
│ └── test-gen.md
|
│ ├── test-gen.md
|
||||||
|
│ ├── debug-report.md
|
||||||
|
│ └── debug-review.md
|
||||||
├── agents/ # Agent prompts
|
├── agents/ # Agent prompts
|
||||||
│ ├── planner.md
|
│ ├── planner.md
|
||||||
│ ├── orchestrator.md
|
│ ├── orchestrator.md
|
||||||
|
|||||||
Reference in New Issue
Block a user