@yeison.restrepo.r/code-conductor 1.23.0 → 1.23.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.
- package/README.md +20 -1
- package/lib/installer/deploy.mjs +9 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,9 +1,26 @@
|
|
|
1
1
|
# code-conductor
|
|
2
2
|
|
|
3
|
+
[](https://www.npmjs.com/package/@yeison.restrepo.r/code-conductor)
|
|
4
|
+
[](LICENSE)
|
|
5
|
+
[](https://github.com/yeisonrestrepo/code-conductor/issues)
|
|
6
|
+
|
|
3
7
|
A spec-first, token-efficient Claude Code configuration that turns AI-assisted coding into a disciplined, repeatable engineering workflow.
|
|
4
8
|
|
|
5
9
|
---
|
|
6
10
|
|
|
11
|
+
## Dependencies
|
|
12
|
+
|
|
13
|
+
code-conductor assumes these are already in place — the installer does not set them up for you:
|
|
14
|
+
|
|
15
|
+
| Dependency | Required for | How to get it |
|
|
16
|
+
|---|---|---|
|
|
17
|
+
| Node.js `>= 20` | Running the `code-conductor` CLI itself | Any current Node LTS |
|
|
18
|
+
| Claude Code | The environment every command/skill/hook in this repo runs inside | — |
|
|
19
|
+
| **superpowers plugin** | `/cc-spec` (`brainstorming`), `/cc-plan` (`writing-plans`), and `/cc-debug`, `/cc-refactor`, `/cc-review`, `/cc-test` (all four via `subagent-driven-development`) | Install from Claude Code's `/plugin` marketplace, then run `/reload-plugins`, **before** using these commands — without it, their `Skill(...)` calls fail |
|
|
20
|
+
| ui-ux-pro-max skill | UI/UX guidance on frontend projects | No manual step — the installer downloads it from GitHub automatically when `/cc-stack` detects a frontend stack |
|
|
21
|
+
|
|
22
|
+
---
|
|
23
|
+
|
|
7
24
|
## The Problem
|
|
8
25
|
|
|
9
26
|
AI coding assistants are only as good as the structure you put around them. Without it, sessions drift: the agent overwrites files it shouldn't, skips the spec, reads entire codebases line by line, and produces code that solves the wrong problem efficiently. The result is fast output with slow outcomes — more rewrites, more context lost, more tokens burned. code-conductor is the structure.
|
|
@@ -29,8 +46,10 @@ npm install -g @yeison.restrepo.r/code-conductor && code-conductor
|
|
|
29
46
|
|
|
30
47
|
### Add to a project
|
|
31
48
|
|
|
49
|
+
`--project` performs the global setup **and** scaffolds the project template in one call — there is no separate step to run first:
|
|
50
|
+
|
|
32
51
|
```bash
|
|
33
|
-
code-conductor --project #
|
|
52
|
+
code-conductor --project # global setup + scaffold ./.claude in the current repo
|
|
34
53
|
```
|
|
35
54
|
|
|
36
55
|
### Flags
|
package/lib/installer/deploy.mjs
CHANGED
|
@@ -49,6 +49,7 @@ export function deployGlobal(assetRoot, home) {
|
|
|
49
49
|
|
|
50
50
|
export function deployProject(assetRoot, cwd) {
|
|
51
51
|
const target = join(cwd, '.claude');
|
|
52
|
+
const templateRoot = join(assetRoot, 'project-template');
|
|
52
53
|
// If something already occupies ./.claude and it is NOT a directory, this is a
|
|
53
54
|
// precondition conflict (not a partial write): fail fast with a tagged error so
|
|
54
55
|
// run() can report exit 1 with a clear message instead of a confusing cpSync abort.
|
|
@@ -58,7 +59,14 @@ export function deployProject(assetRoot, cwd) {
|
|
|
58
59
|
throw err;
|
|
59
60
|
}
|
|
60
61
|
mkdirSync(target, { recursive: true });
|
|
61
|
-
|
|
62
|
+
// project-template mirrors the project root layout (a .claude/ subdir plus
|
|
63
|
+
// root files like CLAUDE.md/.gitignore) — copy each half to its matching
|
|
64
|
+
// destination instead of nesting the whole tree under target.
|
|
65
|
+
cpSync(join(templateRoot, '.claude'), target, CP_OPTS);
|
|
66
|
+
for (const name of readdirSync(templateRoot)) {
|
|
67
|
+
if (name === '.claude') continue;
|
|
68
|
+
cpSync(join(templateRoot, name), join(cwd, name), CP_OPTS);
|
|
69
|
+
}
|
|
62
70
|
return target;
|
|
63
71
|
}
|
|
64
72
|
|