ai-project-boilerplate 1.5.0 → 1.5.2
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/bin/cli.js +20 -3
- package/package.json +1 -1
- package/template/AI_INSTRUCTIONS.md +3 -1
package/bin/cli.js
CHANGED
|
@@ -249,9 +249,26 @@ async function main() {
|
|
|
249
249
|
}
|
|
250
250
|
}
|
|
251
251
|
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
252
|
+
const yellow = (s) => `\x1b[33m${s}\x1b[0m`;
|
|
253
|
+
const cyan = (s) => `\x1b[36m${s}\x1b[0m`;
|
|
254
|
+
const bold = (s) => `\x1b[1m${s}\x1b[0m`;
|
|
255
|
+
const strip = (s) => s.replace(/\x1b\[[0-9;]*m/g, "");
|
|
256
|
+
|
|
257
|
+
const nextLines = [
|
|
258
|
+
` ${bold(yellow("NEXT STEP"))}`,
|
|
259
|
+
` Ask your AI to read:`,
|
|
260
|
+
``,
|
|
261
|
+
` ${bold(cyan("ai-project-integration-plan/.ai-project-integration-instructions"))}`,
|
|
262
|
+
];
|
|
263
|
+
|
|
264
|
+
const nextWidth = Math.max(...nextLines.map(l => strip(l).length)) + 2;
|
|
265
|
+
const nextBorder = yellow("─".repeat(nextWidth));
|
|
266
|
+
|
|
267
|
+
console.log(`\n${yellow("┌")}${nextBorder}${yellow("┐")}`);
|
|
268
|
+
for (const line of nextLines) {
|
|
269
|
+
console.log(`${yellow("│")} ${line.padEnd(line.length + nextWidth - strip(line).length - 1)}${yellow("│")}`);
|
|
270
|
+
}
|
|
271
|
+
console.log(`${yellow("└")}${nextBorder}${yellow("┘")}\n`);
|
|
255
272
|
}
|
|
256
273
|
|
|
257
274
|
main();
|
package/package.json
CHANGED
|
@@ -46,7 +46,9 @@ If multiple workflows apply to the current action, read all of them.
|
|
|
46
46
|
2. Do not read other stage files unless explicitly asked.
|
|
47
47
|
3. After completing work, append a summary to `CHANGELOG.md`.
|
|
48
48
|
4. When the stage changes, update `.ai-stage` on the current branch.
|
|
49
|
-
5. Before any code management action:
|
|
49
|
+
5. Before any code management action:
|
|
50
|
+
a. Update `CHANGELOG.md` first — include it in the same commit.
|
|
51
|
+
b. Check `.ai-workflow`, read the relevant `docs/workflows/*.md`, and follow it exactly.
|
|
50
52
|
|
|
51
53
|
## First-Time Setup (AI tools other than Claude Code)
|
|
52
54
|
If your tool uses a dedicated instructions file (e.g. `.cursorrules` for Cursor,
|