@juho0719/cckit 0.1.1

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.
Files changed (111) hide show
  1. package/assets/agents/architect.md +211 -0
  2. package/assets/agents/build-error-resolver.md +114 -0
  3. package/assets/agents/ccwin-code-reviewer.md +224 -0
  4. package/assets/agents/database-reviewer.md +91 -0
  5. package/assets/agents/doc-updater.md +107 -0
  6. package/assets/agents/e2e-runner.md +107 -0
  7. package/assets/agents/planner.md +212 -0
  8. package/assets/agents/python-reviewer.md +98 -0
  9. package/assets/agents/refactor-cleaner.md +85 -0
  10. package/assets/agents/security-reviewer.md +108 -0
  11. package/assets/agents/superpower-code-reviewer.md +48 -0
  12. package/assets/agents/tdd-guide.md +80 -0
  13. package/assets/commands/build-fix.md +62 -0
  14. package/assets/commands/checkpoint.md +74 -0
  15. package/assets/commands/code-review.md +40 -0
  16. package/assets/commands/e2e.md +362 -0
  17. package/assets/commands/eval.md +120 -0
  18. package/assets/commands/orchestrate.md +172 -0
  19. package/assets/commands/plan.md +113 -0
  20. package/assets/commands/python-review.md +297 -0
  21. package/assets/commands/refactor-clean.md +80 -0
  22. package/assets/commands/sessions.md +305 -0
  23. package/assets/commands/tdd.md +326 -0
  24. package/assets/commands/test-coverage.md +69 -0
  25. package/assets/commands/update-codemaps.md +72 -0
  26. package/assets/commands/update-docs.md +84 -0
  27. package/assets/commands/verify.md +59 -0
  28. package/assets/hooks/post-edit-format.js +49 -0
  29. package/assets/hooks/post-edit-typecheck.js +96 -0
  30. package/assets/mcps/mcp-servers.json +92 -0
  31. package/assets/rules/common/agents.md +49 -0
  32. package/assets/rules/common/coding-style.md +48 -0
  33. package/assets/rules/common/git-workflow.md +45 -0
  34. package/assets/rules/common/hooks.md +30 -0
  35. package/assets/rules/common/patterns.md +31 -0
  36. package/assets/rules/common/performance.md +55 -0
  37. package/assets/rules/common/security.md +29 -0
  38. package/assets/rules/common/testing.md +29 -0
  39. package/assets/rules/python/coding-style.md +42 -0
  40. package/assets/rules/python/hooks.md +19 -0
  41. package/assets/rules/python/patterns.md +39 -0
  42. package/assets/rules/python/security.md +30 -0
  43. package/assets/rules/python/testing.md +38 -0
  44. package/assets/rules/typescript/coding-style.md +18 -0
  45. package/assets/rules/typescript/hooks.md +19 -0
  46. package/assets/rules/typescript/patterns.md +39 -0
  47. package/assets/rules/typescript/security.md +30 -0
  48. package/assets/rules/typescript/testing.md +38 -0
  49. package/assets/skills/api-design/SKILL.md +522 -0
  50. package/assets/skills/backend-patterns/SKILL.md +597 -0
  51. package/assets/skills/brainstorming/SKILL.md +96 -0
  52. package/assets/skills/coding-standards/SKILL.md +529 -0
  53. package/assets/skills/database-migrations/SKILL.md +334 -0
  54. package/assets/skills/deployment-patterns/SKILL.md +426 -0
  55. package/assets/skills/dispatching-parallel-agents/SKILL.md +180 -0
  56. package/assets/skills/docker-patterns/SKILL.md +363 -0
  57. package/assets/skills/e2e-testing/SKILL.md +325 -0
  58. package/assets/skills/eval-harness/SKILL.md +235 -0
  59. package/assets/skills/executing-plans/SKILL.md +84 -0
  60. package/assets/skills/finishing-a-development-branch/SKILL.md +200 -0
  61. package/assets/skills/frontend-patterns/SKILL.md +641 -0
  62. package/assets/skills/iterative-retrieval/SKILL.md +210 -0
  63. package/assets/skills/postgres-patterns/SKILL.md +145 -0
  64. package/assets/skills/python-patterns/SKILL.md +749 -0
  65. package/assets/skills/python-testing/SKILL.md +815 -0
  66. package/assets/skills/receiving-code-review/SKILL.md +213 -0
  67. package/assets/skills/requesting-code-review/SKILL.md +105 -0
  68. package/assets/skills/requesting-code-review/code-reviewer-template.md +146 -0
  69. package/assets/skills/subagent-driven-development/SKILL.md +242 -0
  70. package/assets/skills/subagent-driven-development/code-quality-reviewer-prompt.md +20 -0
  71. package/assets/skills/subagent-driven-development/implementer-prompt.md +78 -0
  72. package/assets/skills/subagent-driven-development/spec-reviewer-prompt.md +61 -0
  73. package/assets/skills/systematic-debugging/CREATION-LOG.md +114 -0
  74. package/assets/skills/systematic-debugging/SKILL.md +296 -0
  75. package/assets/skills/systematic-debugging/condition-based-waiting-example.ts +158 -0
  76. package/assets/skills/systematic-debugging/condition-based-waiting.md +115 -0
  77. package/assets/skills/systematic-debugging/defense-in-depth.md +122 -0
  78. package/assets/skills/systematic-debugging/root-cause-tracing.md +169 -0
  79. package/assets/skills/systematic-debugging/scripts/find-polluter.sh +63 -0
  80. package/assets/skills/systematic-debugging/test-academic.md +14 -0
  81. package/assets/skills/systematic-debugging/test-pressure-1.md +58 -0
  82. package/assets/skills/systematic-debugging/test-pressure-2.md +68 -0
  83. package/assets/skills/systematic-debugging/test-pressure-3.md +69 -0
  84. package/assets/skills/tdd-workflow/SKILL.md +409 -0
  85. package/assets/skills/test-driven-development/SKILL.md +371 -0
  86. package/assets/skills/test-driven-development/testing-anti-patterns.md +299 -0
  87. package/assets/skills/using-git-worktrees/SKILL.md +218 -0
  88. package/assets/skills/verification-before-completion/SKILL.md +139 -0
  89. package/assets/skills/verification-loop/SKILL.md +125 -0
  90. package/assets/skills/writing-plans/SKILL.md +116 -0
  91. package/dist/agents-AEKT67A6.js +9 -0
  92. package/dist/chunk-3GUKEMND.js +28 -0
  93. package/dist/chunk-3UNN3IBE.js +54 -0
  94. package/dist/chunk-3Y26YU4R.js +27 -0
  95. package/dist/chunk-5XOKKPAA.js +21 -0
  96. package/dist/chunk-6B46AIFM.js +136 -0
  97. package/dist/chunk-EYY2IZ7N.js +27 -0
  98. package/dist/chunk-K25UZZVG.js +17 -0
  99. package/dist/chunk-KEENFBLL.js +24 -0
  100. package/dist/chunk-RMUKD7CW.js +44 -0
  101. package/dist/chunk-W63UKEIT.js +50 -0
  102. package/dist/cli-VZRGF733.js +238 -0
  103. package/dist/commands-P5LILVZ5.js +9 -0
  104. package/dist/hooks-IIG2XK4I.js +9 -0
  105. package/dist/index.js +131 -0
  106. package/dist/mcps-67Q7TBGW.js +6 -0
  107. package/dist/paths-FT6KBIRD.js +10 -0
  108. package/dist/registry-EGXWYWWK.js +17 -0
  109. package/dist/rules-2CPBVNNJ.js +7 -0
  110. package/dist/skills-ULMW3UCM.js +8 -0
  111. package/package.json +36 -0
package/dist/index.js ADDED
@@ -0,0 +1,131 @@
1
+ #!/usr/bin/env node
2
+
3
+ // src/index.ts
4
+ import { readFileSync } from "fs";
5
+ import { fileURLToPath } from "url";
6
+ import { dirname, join } from "path";
7
+ var __filename = fileURLToPath(import.meta.url);
8
+ var __dirname = dirname(__filename);
9
+ function getVersion() {
10
+ try {
11
+ const pkgPath = join(__dirname, "..", "package.json");
12
+ const pkg = JSON.parse(readFileSync(pkgPath, "utf-8"));
13
+ return pkg.version;
14
+ } catch {
15
+ return "0.0.0";
16
+ }
17
+ }
18
+ function printHelp() {
19
+ console.log(`
20
+ cckit - Claude Code Harness Installer v${getVersion()}
21
+
22
+ Usage:
23
+ cckit Interactive installation wizard
24
+ cckit --all Install all items (global scope)
25
+ cckit --version Show version
26
+ cckit --help Show this help
27
+
28
+ Options:
29
+ --all Install all agents, skills, commands, hooks, rules, and MCPs
30
+ to ~/.claude/ without interactive prompts
31
+ --scope Scope for --all flag: global (default) or project
32
+ `);
33
+ }
34
+ async function installAll(scope) {
35
+ const chalk = (await import("chalk")).default;
36
+ const ora = (await import("ora")).default;
37
+ const { getGlobalDir, getProjectDir } = await import("./paths-FT6KBIRD.js");
38
+ const { join: join2 } = await import("path");
39
+ const targetDir = scope === "global" ? getGlobalDir() : getProjectDir();
40
+ console.log(chalk.cyan(`
41
+ Installing all to ${targetDir}...
42
+ `));
43
+ const spinner = ora("Loading registry...").start();
44
+ try {
45
+ const [
46
+ { getAgents },
47
+ { getSkills },
48
+ { getCommands },
49
+ { getHooks },
50
+ { getRuleCategories },
51
+ { getMcpServers },
52
+ { installAgents },
53
+ { installSkills },
54
+ { installCommands },
55
+ { installHooks },
56
+ { installRules },
57
+ { installMcps }
58
+ ] = await Promise.all([
59
+ import("./registry-EGXWYWWK.js"),
60
+ import("./registry-EGXWYWWK.js"),
61
+ import("./registry-EGXWYWWK.js"),
62
+ import("./registry-EGXWYWWK.js"),
63
+ import("./registry-EGXWYWWK.js"),
64
+ import("./registry-EGXWYWWK.js"),
65
+ import("./agents-AEKT67A6.js"),
66
+ import("./skills-ULMW3UCM.js"),
67
+ import("./commands-P5LILVZ5.js"),
68
+ import("./hooks-IIG2XK4I.js"),
69
+ import("./rules-2CPBVNNJ.js"),
70
+ import("./mcps-67Q7TBGW.js")
71
+ ]);
72
+ const [agents, skills, commands, hooks, ruleCategories, mcps] = await Promise.all([
73
+ getAgents(),
74
+ getSkills(),
75
+ getCommands(),
76
+ getHooks(),
77
+ getRuleCategories(),
78
+ getMcpServers()
79
+ ]);
80
+ spinner.text = "Installing agents...";
81
+ await installAgents(agents, targetDir);
82
+ spinner.text = "Installing skills...";
83
+ await installSkills(skills, targetDir);
84
+ spinner.text = "Installing commands...";
85
+ await installCommands(commands, targetDir);
86
+ spinner.text = "Installing hooks...";
87
+ await installHooks(hooks, targetDir);
88
+ spinner.text = "Installing rules...";
89
+ const claudeMd = join2(targetDir, "CLAUDE.md");
90
+ await installRules(ruleCategories.map((rc) => rc.category), claudeMd);
91
+ spinner.text = "Installing MCP servers...";
92
+ await installMcps(mcps, scope, /* @__PURE__ */ new Map());
93
+ spinner.succeed(chalk.green("All items installed successfully!"));
94
+ console.log(`
95
+ ${chalk.green("\u2713")} ${agents.length} agents`);
96
+ console.log(` ${chalk.green("\u2713")} ${skills.length} skills`);
97
+ console.log(` ${chalk.green("\u2713")} ${commands.length} commands`);
98
+ console.log(` ${chalk.green("\u2713")} ${hooks.length} hooks`);
99
+ console.log(` ${chalk.green("\u2713")} Rules (${ruleCategories.length} categories)`);
100
+ console.log(` ${chalk.green("\u2713")} ${mcps.length} MCP servers
101
+ `);
102
+ } catch (err) {
103
+ spinner.fail("Installation failed");
104
+ throw err;
105
+ }
106
+ }
107
+ async function main() {
108
+ const args = process.argv.slice(2);
109
+ if (args.includes("--version") || args.includes("-v")) {
110
+ console.log(getVersion());
111
+ return;
112
+ }
113
+ if (args.includes("--help") || args.includes("-h")) {
114
+ printHelp();
115
+ return;
116
+ }
117
+ if (args.includes("--all")) {
118
+ const scopeIdx = args.indexOf("--scope");
119
+ const scope = scopeIdx !== -1 && args[scopeIdx + 1] === "project" ? "project" : "global";
120
+ await installAll(scope);
121
+ return;
122
+ }
123
+ const { runCli } = await import("./cli-VZRGF733.js");
124
+ await runCli();
125
+ }
126
+ main().catch((err) => {
127
+ const msg = err instanceof Error ? err.message : String(err);
128
+ console.error(`
129
+ Error: ${msg}`);
130
+ process.exit(1);
131
+ });
@@ -0,0 +1,6 @@
1
+ import {
2
+ installMcps
3
+ } from "./chunk-W63UKEIT.js";
4
+ export {
5
+ installMcps
6
+ };
@@ -0,0 +1,10 @@
1
+ import {
2
+ getAssetsDir,
3
+ getGlobalDir,
4
+ getProjectDir
5
+ } from "./chunk-5XOKKPAA.js";
6
+ export {
7
+ getAssetsDir,
8
+ getGlobalDir,
9
+ getProjectDir
10
+ };
@@ -0,0 +1,17 @@
1
+ import {
2
+ getAgents,
3
+ getCommands,
4
+ getHooks,
5
+ getMcpServers,
6
+ getRuleCategories,
7
+ getSkills
8
+ } from "./chunk-6B46AIFM.js";
9
+ import "./chunk-5XOKKPAA.js";
10
+ export {
11
+ getAgents,
12
+ getCommands,
13
+ getHooks,
14
+ getMcpServers,
15
+ getRuleCategories,
16
+ getSkills
17
+ };
@@ -0,0 +1,7 @@
1
+ import {
2
+ installRules
3
+ } from "./chunk-RMUKD7CW.js";
4
+ import "./chunk-5XOKKPAA.js";
5
+ export {
6
+ installRules
7
+ };
@@ -0,0 +1,8 @@
1
+ import {
2
+ installSkills
3
+ } from "./chunk-KEENFBLL.js";
4
+ import "./chunk-3GUKEMND.js";
5
+ import "./chunk-5XOKKPAA.js";
6
+ export {
7
+ installSkills
8
+ };
package/package.json ADDED
@@ -0,0 +1,36 @@
1
+ {
2
+ "name": "@juho0719/cckit",
3
+ "version": "0.1.1",
4
+ "description": "Claude Code Harness Installer - Interactive CLI for installing Claude Code agents, skills, commands, hooks, rules, and MCP servers",
5
+ "type": "module",
6
+ "bin": {
7
+ "cckit": "./dist/index.js"
8
+ },
9
+ "files": [
10
+ "dist",
11
+ "assets"
12
+ ],
13
+ "scripts": {
14
+ "build": "tsup",
15
+ "dev": "tsup --watch",
16
+ "typecheck": "tsc --noEmit"
17
+ },
18
+ "keywords": [
19
+ "claude",
20
+ "claude-code",
21
+ "cli",
22
+ "installer"
23
+ ],
24
+ "author": "",
25
+ "license": "MIT",
26
+ "dependencies": {
27
+ "@inquirer/prompts": "^7.0.0",
28
+ "chalk": "^5.0.0",
29
+ "ora": "^8.0.0"
30
+ },
31
+ "devDependencies": {
32
+ "@types/node": "^22.0.0",
33
+ "tsup": "^8.0.0",
34
+ "typescript": "^5.0.0"
35
+ }
36
+ }