feat: Add command relationships and essential commands JSON files

- Introduced command-relationships.json to define relationships between various commands.
- Created essential-commands.json to provide detailed descriptions and usage scenarios for key commands.
- Implemented update-index.sh script for maintaining command index files, including backup and validation processes.
- Added templates for bug reports, feature requests, and questions to streamline issue reporting and feature suggestions.
This commit is contained in:
catlog22
2025-11-06 12:59:14 +08:00
parent 8e3dff3d0f
commit 6993677ed9
23 changed files with 8041 additions and 0 deletions

View File

@@ -0,0 +1,142 @@
[
{
"name": "enhance-prompt",
"description": "Context-aware prompt enhancement using session memory and codebase analysis",
"arguments": "\"user input to enhance\"",
"category": "general",
"subcategory": null,
"usage_scenario": "general",
"difficulty": "Intermediate",
"file_path": "enhance-prompt.md"
},
{
"name": "version",
"description": "Display version information and check for updates",
"arguments": "",
"category": "general",
"subcategory": null,
"usage_scenario": "general",
"difficulty": "Intermediate",
"file_path": "version.md"
},
{
"name": "analyze",
"description": "Quick codebase analysis using CLI tools (codex/gemini/qwen)",
"arguments": "\"[--agent] [--tool codex|gemini|qwen] [--enhance] analysis target\"",
"category": "cli",
"subcategory": null,
"usage_scenario": "general",
"difficulty": "Advanced",
"file_path": "cli\\analyze.md"
},
{
"name": "chat",
"description": "Simple CLI interaction command for direct codebase analysis",
"arguments": "\"[--agent] [--tool codex|gemini|qwen] [--enhance] inquiry\"",
"category": "cli",
"subcategory": null,
"usage_scenario": "general",
"difficulty": "Advanced",
"file_path": "cli\\chat.md"
},
{
"name": "execute",
"description": "Auto-execution of implementation tasks with YOLO permissions and intelligent context inference",
"arguments": "\"[--agent] [--tool codex|gemini|qwen] [--enhance] description or task-id\"",
"category": "cli",
"subcategory": null,
"usage_scenario": "implementation",
"difficulty": "Advanced",
"file_path": "cli\\execute.md"
},
{
"name": "plan",
"description": "Project planning and architecture analysis using CLI tools",
"arguments": "\"[--agent] [--tool codex|gemini|qwen] [--enhance] [--cd path] topic\"",
"category": "cli",
"subcategory": "mode",
"usage_scenario": "planning",
"difficulty": "Advanced",
"file_path": "cli\\mode\\plan.md"
},
{
"name": "breakdown",
"description": "Intelligent task decomposition with context-aware subtask generation",
"arguments": "\"task-id\"",
"category": "task",
"subcategory": null,
"usage_scenario": "general",
"difficulty": "Intermediate",
"file_path": "task\\breakdown.md"
},
{
"name": "create",
"description": "Create implementation tasks with automatic context awareness",
"arguments": "\"\\\"task title\\\"\"",
"category": "task",
"subcategory": null,
"usage_scenario": "implementation",
"difficulty": "Intermediate",
"file_path": "task\\create.md"
},
{
"name": "execute",
"description": "Execute tasks with appropriate agents and context-aware orchestration",
"arguments": "\"task-id\"",
"category": "task",
"subcategory": null,
"usage_scenario": "implementation",
"difficulty": "Intermediate",
"file_path": "task\\execute.md"
},
{
"name": "execute",
"description": "Coordinate agents for existing workflow tasks with automatic discovery",
"arguments": "\"[--resume-session=\\\"session-id\\\"]\"",
"category": "workflow",
"subcategory": null,
"usage_scenario": "implementation",
"difficulty": "Intermediate",
"file_path": "workflow\\execute.md"
},
{
"name": "plan",
"description": "Orchestrate 5-phase planning workflow with quality gate, executing commands and passing context between phases",
"arguments": "\"[--agent] [--cli-execute] \\\"text description\\\"|file.md\"",
"category": "workflow",
"subcategory": null,
"usage_scenario": "planning",
"difficulty": "Advanced",
"file_path": "workflow\\plan.md"
},
{
"name": "review",
"description": "Optional specialized review (security, architecture, docs) for completed implementation",
"arguments": "\"[--type=security|architecture|action-items|quality] [optional: session-id]\"",
"category": "workflow",
"subcategory": null,
"usage_scenario": "implementation",
"difficulty": "Intermediate",
"file_path": "workflow\\review.md"
},
{
"name": "tdd-plan",
"description": "Orchestrate TDD workflow planning with Red-Green-Refactor task chains",
"arguments": "\"[--agent] \\\"feature description\\\"|file.md\"",
"category": "workflow",
"subcategory": null,
"usage_scenario": "planning",
"difficulty": "Advanced",
"file_path": "workflow\\tdd-plan.md"
},
{
"name": "test-gen",
"description": "Create independent test-fix workflow session by analyzing completed implementation",
"arguments": "\"[--use-codex] [--cli-execute] source-session-id\"",
"category": "workflow",
"subcategory": null,
"usage_scenario": "implementation",
"difficulty": "Advanced",
"file_path": "workflow\\test-gen.md"
}
]