claude-cli-advanced-starter-pack 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/OVERVIEW.md +597 -0
- package/README.md +439 -0
- package/bin/gtask.js +282 -0
- package/bin/postinstall.js +53 -0
- package/package.json +69 -0
- package/src/agents/phase-dev-templates.js +1011 -0
- package/src/agents/templates.js +668 -0
- package/src/analysis/checklist-parser.js +414 -0
- package/src/analysis/codebase.js +481 -0
- package/src/cli/menu.js +958 -0
- package/src/commands/claude-audit.js +1482 -0
- package/src/commands/claude-settings.js +2243 -0
- package/src/commands/create-agent.js +681 -0
- package/src/commands/create-command.js +337 -0
- package/src/commands/create-hook.js +262 -0
- package/src/commands/create-phase-dev/codebase-analyzer.js +813 -0
- package/src/commands/create-phase-dev/documentation-generator.js +352 -0
- package/src/commands/create-phase-dev/post-completion.js +404 -0
- package/src/commands/create-phase-dev/scale-calculator.js +344 -0
- package/src/commands/create-phase-dev/wizard.js +492 -0
- package/src/commands/create-phase-dev.js +481 -0
- package/src/commands/create-skill.js +313 -0
- package/src/commands/create.js +446 -0
- package/src/commands/decompose.js +392 -0
- package/src/commands/detect-tech-stack.js +768 -0
- package/src/commands/explore-mcp/claude-md-updater.js +252 -0
- package/src/commands/explore-mcp/mcp-installer.js +346 -0
- package/src/commands/explore-mcp/mcp-registry.js +438 -0
- package/src/commands/explore-mcp.js +638 -0
- package/src/commands/gtask-init.js +641 -0
- package/src/commands/help.js +128 -0
- package/src/commands/init.js +1890 -0
- package/src/commands/install.js +250 -0
- package/src/commands/list.js +116 -0
- package/src/commands/roadmap.js +750 -0
- package/src/commands/setup-wizard.js +482 -0
- package/src/commands/setup.js +351 -0
- package/src/commands/sync.js +534 -0
- package/src/commands/test-run.js +456 -0
- package/src/commands/test-setup.js +456 -0
- package/src/commands/validate.js +67 -0
- package/src/config/tech-stack.defaults.json +182 -0
- package/src/config/tech-stack.schema.json +502 -0
- package/src/github/client.js +359 -0
- package/src/index.js +84 -0
- package/src/templates/claude-command.js +244 -0
- package/src/templates/issue-body.js +284 -0
- package/src/testing/config.js +411 -0
- package/src/utils/template-engine.js +398 -0
- package/src/utils/validate-templates.js +223 -0
- package/src/utils.js +396 -0
- package/templates/commands/ccasp-setup.template.md +113 -0
- package/templates/commands/context-audit.template.md +97 -0
- package/templates/commands/create-task-list.template.md +382 -0
- package/templates/commands/deploy-full.template.md +261 -0
- package/templates/commands/github-task-start.template.md +99 -0
- package/templates/commands/github-update.template.md +69 -0
- package/templates/commands/happy-start.template.md +117 -0
- package/templates/commands/phase-track.template.md +142 -0
- package/templates/commands/tunnel-start.template.md +127 -0
- package/templates/commands/tunnel-stop.template.md +106 -0
- package/templates/hooks/context-guardian.template.js +173 -0
- package/templates/hooks/deployment-orchestrator.template.js +219 -0
- package/templates/hooks/github-progress-hook.template.js +197 -0
- package/templates/hooks/happy-checkpoint-manager.template.js +222 -0
- package/templates/hooks/phase-dev-enforcer.template.js +183 -0
|
@@ -0,0 +1,128 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Help Command
|
|
3
|
+
*
|
|
4
|
+
* Show detailed help and examples
|
|
5
|
+
*/
|
|
6
|
+
|
|
7
|
+
import chalk from 'chalk';
|
|
8
|
+
|
|
9
|
+
/**
|
|
10
|
+
* Show help with examples
|
|
11
|
+
*/
|
|
12
|
+
export function showHelp() {
|
|
13
|
+
const help = `
|
|
14
|
+
${chalk.cyan.bold('GitHub Task Kit')}
|
|
15
|
+
${chalk.dim('Comprehensive GitHub Issue Creator with Codebase Analysis')}
|
|
16
|
+
|
|
17
|
+
${chalk.yellow('USAGE')}
|
|
18
|
+
|
|
19
|
+
${chalk.bold('gtask')} Interactive menu
|
|
20
|
+
${chalk.bold('gtask create')} Create a new task/issue
|
|
21
|
+
${chalk.bold('gtask setup')} Configure GitHub project connection
|
|
22
|
+
${chalk.bold('gtask list')} List recent tasks
|
|
23
|
+
${chalk.bold('gtask install')} Install Claude Code integration
|
|
24
|
+
|
|
25
|
+
${chalk.yellow('CREATE OPTIONS')}
|
|
26
|
+
|
|
27
|
+
${chalk.bold('-t, --title <title>')} Issue title
|
|
28
|
+
${chalk.bold('-d, --description <desc>')} Issue description
|
|
29
|
+
${chalk.bold('-p, --priority <P0-P3>')} Priority level
|
|
30
|
+
${chalk.bold('-l, --labels <labels>')} Comma-separated labels
|
|
31
|
+
${chalk.bold('--qa')} Requires QA validation
|
|
32
|
+
${chalk.bold('--no-qa')} Skip QA validation
|
|
33
|
+
${chalk.bold('--batch')} Non-interactive mode
|
|
34
|
+
${chalk.bold('--skip-analysis')} Skip codebase analysis
|
|
35
|
+
|
|
36
|
+
${chalk.yellow('SETUP OPTIONS')}
|
|
37
|
+
|
|
38
|
+
${chalk.bold('-o, --owner <owner>')} GitHub username or organization
|
|
39
|
+
${chalk.bold('-r, --repo <repo>')} Repository name
|
|
40
|
+
${chalk.bold('-p, --project <number>')} Project board number
|
|
41
|
+
${chalk.bold('--global')} Save config globally (~/.gtaskrc)
|
|
42
|
+
|
|
43
|
+
${chalk.yellow('LIST OPTIONS')}
|
|
44
|
+
|
|
45
|
+
${chalk.bold('-n, --limit <number>')} Number of issues to show (default: 10)
|
|
46
|
+
${chalk.bold('--mine')} Only show issues assigned to me
|
|
47
|
+
${chalk.bold('--status <status>')} Filter by status (open, closed, all)
|
|
48
|
+
|
|
49
|
+
${chalk.yellow('EXAMPLES')}
|
|
50
|
+
|
|
51
|
+
${chalk.dim('# Interactive task creation')}
|
|
52
|
+
${chalk.bold('gtask create')}
|
|
53
|
+
|
|
54
|
+
${chalk.dim('# Quick task with flags')}
|
|
55
|
+
${chalk.bold('gtask create -t "Fix login bug" -p P1 -l "bug,frontend"')}
|
|
56
|
+
|
|
57
|
+
${chalk.dim('# Batch mode for automation')}
|
|
58
|
+
${chalk.bold('gtask create --batch -t "Add dark mode" -d "Implement dark mode toggle" -l "feature,frontend" -p P2')}
|
|
59
|
+
|
|
60
|
+
${chalk.dim('# Setup for a new project')}
|
|
61
|
+
${chalk.bold('gtask setup -o myuser -r myrepo -p 1')}
|
|
62
|
+
|
|
63
|
+
${chalk.dim('# List my open issues')}
|
|
64
|
+
${chalk.bold('gtask list --mine')}
|
|
65
|
+
|
|
66
|
+
${chalk.dim('# Install Claude Code command')}
|
|
67
|
+
${chalk.bold('gtask install')}
|
|
68
|
+
|
|
69
|
+
${chalk.yellow('CONFIGURATION')}
|
|
70
|
+
|
|
71
|
+
Configuration is stored in ${chalk.bold('.gtaskrc')} (YAML format).
|
|
72
|
+
|
|
73
|
+
Searched locations (in order):
|
|
74
|
+
1. ${chalk.dim('./.gtaskrc')} (current directory)
|
|
75
|
+
2. ${chalk.dim('~/.gtaskrc')} (home directory)
|
|
76
|
+
|
|
77
|
+
Example .gtaskrc:
|
|
78
|
+
${chalk.dim(`
|
|
79
|
+
project_board:
|
|
80
|
+
owner: "myuser"
|
|
81
|
+
repo: "myrepo"
|
|
82
|
+
project_number: 1
|
|
83
|
+
project_id: "PVT_xxx"
|
|
84
|
+
|
|
85
|
+
field_ids:
|
|
86
|
+
status: "PVTSSF_xxx"
|
|
87
|
+
priority: "PVTSSF_xxx"
|
|
88
|
+
|
|
89
|
+
status_options:
|
|
90
|
+
todo: "abc123"
|
|
91
|
+
in_progress: "def456"
|
|
92
|
+
done: "ghi789"
|
|
93
|
+
`)}
|
|
94
|
+
|
|
95
|
+
${chalk.yellow('PREREQUISITES')}
|
|
96
|
+
|
|
97
|
+
${chalk.bold('gh')} GitHub CLI (https://cli.github.com/)
|
|
98
|
+
${chalk.bold('jq')} JSON processor
|
|
99
|
+
|
|
100
|
+
Run ${chalk.bold('gh auth login')} to authenticate with GitHub.
|
|
101
|
+
|
|
102
|
+
${chalk.yellow('CLAUDE CODE INTEGRATION')}
|
|
103
|
+
|
|
104
|
+
Run ${chalk.bold('gtask install')} to add the command to your Claude Code project.
|
|
105
|
+
|
|
106
|
+
This creates ${chalk.dim('.claude/commands/github-create-task.md')} which provides:
|
|
107
|
+
- Interactive issue creation within Claude Code
|
|
108
|
+
- Automatic codebase analysis
|
|
109
|
+
- Project board integration
|
|
110
|
+
|
|
111
|
+
${chalk.yellow('CODEBASE ANALYSIS')}
|
|
112
|
+
|
|
113
|
+
When creating a task, GitHub Task Kit can analyze your codebase to:
|
|
114
|
+
- Find relevant files matching the issue keywords
|
|
115
|
+
- Identify key functions and components
|
|
116
|
+
- Extract code snippets for context
|
|
117
|
+
- Suggest patterns to follow
|
|
118
|
+
|
|
119
|
+
Skip with ${chalk.bold('--skip-analysis')} if not needed.
|
|
120
|
+
|
|
121
|
+
${chalk.yellow('MORE INFO')}
|
|
122
|
+
|
|
123
|
+
GitHub: ${chalk.blue('https://github.com/yourname/github-task-kit')}
|
|
124
|
+
Issues: ${chalk.blue('https://github.com/yourname/github-task-kit/issues')}
|
|
125
|
+
`;
|
|
126
|
+
|
|
127
|
+
console.log(help);
|
|
128
|
+
}
|