code-ai-installer 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/.agents/skills/design_patterns_reference/agents/gemini.json +19 -0
- package/.agents/skills/design_patterns_reference/agents/skill.yaml +23 -0
- package/.agents/workflows/bugfix.md +90 -0
- package/.agents/workflows/hotfix.md +74 -0
- package/.agents/workflows/pipeline-rules.md +163 -137
- package/.agents/workflows/start-task.md +129 -120
- package/AGENTS.md +136 -135
- package/dist/platforms/adapters.js +3 -3
- package/locales/en/.agents/workflows/bugfix.md +90 -0
- package/locales/en/.agents/workflows/hotfix.md +74 -0
- package/locales/en/.agents/workflows/pipeline-rules.md +157 -18
- package/locales/en/.agents/workflows/start-task.md +120 -17
- package/locales/en/AGENTS.md +1 -0
- package/locales/en/agents/senior_full_stack.md +3 -1
- package/locales/en/prompt-examples.md +152 -0
- package/package.json +8 -8
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: Launch the minimal 2-gate pipeline for trivial fixes (hotfix). Use for trivial fixes with blast radius ≈ 0.
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
# /hotfix — Launch Hotfix Pipeline (2 gates)
|
|
6
|
+
|
|
7
|
+
> 🟡 **Mode:** Hotfix — for trivial fixes with minimal risk.
|
|
8
|
+
> Full pipeline: `/start-task`. Bugfix (more serious): `/bugfix`.
|
|
9
|
+
|
|
10
|
+
## When to use
|
|
11
|
+
|
|
12
|
+
- Typos in text/code
|
|
13
|
+
- CSS fixes (color, padding, font size)
|
|
14
|
+
- Single-line logic fix
|
|
15
|
+
- Copy-paste error
|
|
16
|
+
- Blast radius ≈ 0 (affects 1–2 files, does not change contracts)
|
|
17
|
+
|
|
18
|
+
## Do NOT use if
|
|
19
|
+
|
|
20
|
+
- Affects > 2 files → `/bugfix`
|
|
21
|
+
- Changes API contract → `/bugfix` or `/start-task`
|
|
22
|
+
- Changes UI layout / adds screens → `/start-task`
|
|
23
|
+
- Unsure → ask the user
|
|
24
|
+
|
|
25
|
+
## Step 0: Load rules
|
|
26
|
+
|
|
27
|
+
Execute `/pipeline-rules` — read the rules BEFORE starting work.
|
|
28
|
+
|
|
29
|
+
## Step 1: CONDUCTOR — Classification
|
|
30
|
+
|
|
31
|
+
1. Execute `view_file` on `agents/conductor.md`
|
|
32
|
+
2. Confirm the task = hotfix (per Decision Tree: blast radius ≈ 0, 1–2 files)
|
|
33
|
+
3. Create Mini Checklist:
|
|
34
|
+
```
|
|
35
|
+
[ ] HF-DEV-01 Fix + test + service restart (if applicable)
|
|
36
|
+
[ ] HF-VERIFY Self-check + GO/NO-GO
|
|
37
|
+
```
|
|
38
|
+
4. `notify_user` → wait for **Approved**
|
|
39
|
+
|
|
40
|
+
## Step 2: DEV+TEST — Fix and self-verification
|
|
41
|
+
|
|
42
|
+
1. Execute `view_file` on `agents/senior_full_stack.md`
|
|
43
|
+
2. TDD:
|
|
44
|
+
- RED: test reproducing the issue (if applicable)
|
|
45
|
+
- GREEN: minimal fix
|
|
46
|
+
- REFACTOR: if necessary
|
|
47
|
+
3. JSDoc on modified functions
|
|
48
|
+
4. Restart affected services if applicable
|
|
49
|
+
5. Self-verification:
|
|
50
|
+
- Does the fix work?
|
|
51
|
+
- Do tests pass?
|
|
52
|
+
- No regressions?
|
|
53
|
+
6. Verdict: **GO ✅ / NO-GO ❌**
|
|
54
|
+
7. `notify_user` → wait for **Approved**
|
|
55
|
+
|
|
56
|
+
---
|
|
57
|
+
|
|
58
|
+
## When in doubt
|
|
59
|
+
|
|
60
|
+
If during work it becomes clear that the task is more complex than a hotfix:
|
|
61
|
+
> ⚠️ "Task turned out to be more complex than a hotfix. Recommend switching to /bugfix."
|
|
62
|
+
|
|
63
|
+
Switching — only with user Approved.
|
|
64
|
+
|
|
65
|
+
---
|
|
66
|
+
|
|
67
|
+
## Prompt template
|
|
68
|
+
|
|
69
|
+
```
|
|
70
|
+
@AGENTS.md /hotfix
|
|
71
|
+
|
|
72
|
+
What to fix: [description, 1 sentence].
|
|
73
|
+
File: [specific file].
|
|
74
|
+
```
|
|
@@ -1,24 +1,163 @@
|
|
|
1
|
-
---
|
|
2
|
-
description: Absolute development pipeline rules. MUST NOT BE BROKEN.
|
|
3
1
|
---
|
|
2
|
+
description: Absolute development pipeline rules. MUST NOT be violated.
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
# 🔴 ABSOLUTE RULE: Pipeline must not be skipped
|
|
6
|
+
|
|
7
|
+
**This rule has no exceptions. Violation = blocker.**
|
|
8
|
+
|
|
9
|
+
## Pipeline — 3 Modes
|
|
10
|
+
|
|
11
|
+
### 🔵 Full Pipeline (8 gates) — `/start-task`
|
|
12
|
+
CONDUCTOR → PM → UX → ARCH → DEV → REV → OPS → TEST → RG
|
|
4
13
|
|
|
5
|
-
|
|
14
|
+
### 🟢 Bugfix Pipeline (4 gates) — `/bugfix`
|
|
15
|
+
CONDUCTOR → DEV → REV → TEST
|
|
6
16
|
|
|
7
|
-
|
|
17
|
+
### 🟡 Hotfix Pipeline (2 gates) — `/hotfix`
|
|
18
|
+
CONDUCTOR → DEV+TEST
|
|
8
19
|
|
|
9
|
-
|
|
10
|
-
|
|
20
|
+
### Decision Tree (mode selection)
|
|
21
|
+
```
|
|
22
|
+
User task
|
|
23
|
+
│
|
|
24
|
+
├─ New feature / refactoring / new API / new screen?
|
|
25
|
+
│ └─ 🔵 Full Pipeline
|
|
26
|
+
│
|
|
27
|
+
├─ Bug in existing functionality?
|
|
28
|
+
│ ├─ Affects > 2 files or changes API contract?
|
|
29
|
+
│ │ └─ 🟢 Bugfix (4 gates)
|
|
30
|
+
│ ├─ Affects 1–2 files, blast radius ≈ 0?
|
|
31
|
+
│ │ └─ 🟡 Hotfix (2 gates)
|
|
32
|
+
│ └─ Unsure → ask the user
|
|
33
|
+
│
|
|
34
|
+
└─ User explicitly specified mode (/bugfix, /hotfix)?
|
|
35
|
+
└─ Use the specified mode
|
|
36
|
+
```
|
|
11
37
|
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
38
|
+
> Conductor **does not receive new skills** — uses existing `$board`, `$handoff`, `$gates`.
|
|
39
|
+
|
|
40
|
+
## Mandatory actions on EVERY gate (all modes)
|
|
41
|
+
|
|
42
|
+
1. `view_file` on `agents/<role>.md` — read the agent protocol
|
|
43
|
+
2. Follow **its** instructions, use **its** skills
|
|
15
44
|
3. Produce deliverable + Handoff Envelope
|
|
16
|
-
4. Present result to the user
|
|
17
|
-
5. Wait for explicit
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
45
|
+
4. Present the result to the user via `notify_user`
|
|
46
|
+
5. **Wait for explicit "Approved" from the user** before moving to the next gate
|
|
47
|
+
|
|
48
|
+
---
|
|
49
|
+
|
|
50
|
+
## 🛑 STOP RULES (before any code action)
|
|
51
|
+
|
|
52
|
+
### Rule 1: Agent protocol — step by step, no collapsing
|
|
53
|
+
Each paragraph (§) in the agent file = **a separate step**.
|
|
54
|
+
- Agent MUST pass ALL paragraphs in the order specified in the file
|
|
55
|
+
- Collapsing multiple §§ into a single response is forbidden
|
|
56
|
+
- If agent skips a §, it MUST state the reason: "§X skipped: [reason]"
|
|
57
|
+
|
|
58
|
+
### Rule 2: Code is applied ONLY after full protocol pass
|
|
59
|
+
- ❌ Must not: write code first → then write the report
|
|
60
|
+
- ✅ Must: pass all §§ of the protocol → present plan → Approved → apply code
|
|
61
|
+
|
|
62
|
+
### Rule 3: Full response format — no shortcuts
|
|
63
|
+
- Use **"Agent Response Format (strict)"** from the agent file
|
|
64
|
+
- Every section of the format is MANDATORY — skipping = violation
|
|
65
|
+
- If a section is not applicable, explicitly write: "N/A — [reason]"
|
|
66
|
+
|
|
67
|
+
### Rule 4: Fix Cycle — full pass through agents
|
|
68
|
+
On FAIL at any gate:
|
|
69
|
+
1. Current agent (e.g. Tester) produces FAIL Report + HANDOFF Envelope → DEV
|
|
70
|
+
2. DEV reads `agents/senior_full_stack.md` and passes FULL protocol (§0–§7)
|
|
71
|
+
3. DEV HANDOFF → REV → OPS → TEST (each gate with view_file + protocol + Approved)
|
|
72
|
+
4. No "quick fixes" without passing through agents
|
|
73
|
+
|
|
74
|
+
### Rule 5: Self-check before notify_user
|
|
75
|
+
Before each `notify_user` the agent MUST internally verify:
|
|
76
|
+
- [ ] Did I read the agent file (`view_file` on `agents/<role>.md`)?
|
|
77
|
+
- [ ] Did I pass ALL paragraphs of the protocol?
|
|
78
|
+
- [ ] Am I using the FULL response format?
|
|
79
|
+
- [ ] Is there a HANDOFF Envelope with ALL mandatory fields?
|
|
80
|
+
- [ ] Did I NOT apply code before receiving Approved?
|
|
81
|
+
|
|
82
|
+
---
|
|
83
|
+
|
|
84
|
+
## Prohibited
|
|
85
|
+
|
|
86
|
+
- ❌ "Fast-tracking" gates (skipping multiple gates at once)
|
|
87
|
+
- ❌ Interpreting "Confirmed" as permission to skip gates
|
|
88
|
+
- ❌ Starting the pipeline without explicit user permission
|
|
89
|
+
- ❌ Moving to the next gate without "Approved" from the user
|
|
90
|
+
- ❌ Writing code (DEV gate) before passing prior gates
|
|
91
|
+
- ❌ Applying code before completing the full agent protocol
|
|
92
|
+
- ❌ Shortening the response format (every section is mandatory)
|
|
93
|
+
- ❌ Ignoring protocol paragraphs, considering the task "trivial"
|
|
94
|
+
- ❌ Lying about reading the protocol (if no `view_file` — it was not read)
|
|
95
|
+
|
|
96
|
+
---
|
|
97
|
+
|
|
98
|
+
## 🔒 MECHANICAL BLOCKS
|
|
99
|
+
|
|
100
|
+
> These rules were introduced after an incident where the agent ignored the pipeline,
|
|
101
|
+
> auto-approved the ARCH gate, ignored an open user question,
|
|
102
|
+
> wrote code without TDD, and delivered a broken preview.
|
|
103
|
+
|
|
104
|
+
### Block 1: ShouldAutoProceed = false ALWAYS
|
|
105
|
+
```
|
|
106
|
+
notify_user → ShouldAutoProceed: false
|
|
107
|
+
```
|
|
108
|
+
No exceptions. On EVERY notify_user. Even on "trivial" gates.
|
|
109
|
+
Even if the agent is "confident". The user ALWAYS decides.
|
|
110
|
+
|
|
111
|
+
### Block 2: Pre-flight check before ANY write_to_file / replace_file_content
|
|
112
|
+
Before every code-writing tool call the agent MUST:
|
|
113
|
+
1. Quote the LAST user message containing the word "Approved"
|
|
114
|
+
2. If there is no quote — CODE MUST NOT BE WRITTEN
|
|
115
|
+
3. System-generated messages are NOT considered "Approved"
|
|
116
|
+
4. Auto-proceeded artifacts are NOT considered "Approved"
|
|
117
|
+
|
|
118
|
+
### Block 3: Answering a question — quoting is mandatory
|
|
119
|
+
If the agent asked the user a question:
|
|
120
|
+
1. The agent's next response MUST start with: `> Your answer: [exact quote]`
|
|
121
|
+
2. If there is no quote — no answer was given — STOP, repeat the question
|
|
122
|
+
3. Guessing the answer for the user is forbidden
|
|
123
|
+
4. Accepting a system-generated message as an answer is forbidden
|
|
124
|
+
|
|
125
|
+
### Block 4: Strict TDD (DEV gate)
|
|
126
|
+
1. RED: write FAILING tests FIRST
|
|
127
|
+
2. GREEN: minimal code to make tests pass
|
|
128
|
+
3. REFACTOR: improve code without changing behavior
|
|
129
|
+
4. Writing code before tests = violation = blocker
|
|
130
|
+
|
|
131
|
+
### Block 5: Skills — mandatory reading via view_file
|
|
132
|
+
Each agent (`agents/<role>.md`) references skills in `.agents/skills/`.
|
|
133
|
+
1. Agent MUST execute `view_file` on `SKILL.md` of EVERY skill referenced in the agent protocol
|
|
134
|
+
2. If there was no `view_file` — the skill is NOT considered applied
|
|
135
|
+
3. Patterns, anti-patterns, code examples, best practices from skills — mandatory for application
|
|
136
|
+
4. In the deliverable the agent MUST state: `Skills applied: [list]` with `view_file` confirmation
|
|
137
|
+
5. Formal checkmarks without actual reading = violation = blocker
|
|
138
|
+
|
|
139
|
+
---
|
|
140
|
+
|
|
141
|
+
## Mandatory artifacts
|
|
142
|
+
|
|
143
|
+
### task.md (Antigravity brain — automatic)
|
|
144
|
+
- **Created by:** Conductor at Gate 0
|
|
145
|
+
- **Updated by:** EVERY agent after completing their gate
|
|
146
|
+
- **Contains:** Master Checklist + Handoff Envelopes Status + Fix Cycle tracking
|
|
147
|
+
- **Rule:** If task.md is not updated after a gate — the gate is not considered complete
|
|
148
|
+
|
|
149
|
+
### implementation_plan.md
|
|
150
|
+
- **Created by:** Architect at Gate 3 (ARCH) — or Conductor, if the task does not require ARCH
|
|
151
|
+
- **Saved to:** `docs/reports/architect/plan-<task-name>.md` (in the project)
|
|
152
|
+
- **Contains:** Proposed Changes + files + Verification Plan
|
|
153
|
+
- **Rule:** DEV must read the plan before starting implementation. Reviewer references it during code review.
|
|
154
|
+
|
|
155
|
+
### walkthrough.md (Antigravity brain — automatic)
|
|
156
|
+
- **Created by:** Tester at Gate 7 (TEST) — or Release Gate
|
|
157
|
+
- **Contains:** what was done, what was verified, validation results
|
|
158
|
+
- **Rule:** update on each Fix Cycle and before Release Gate
|
|
159
|
+
|
|
160
|
+
### docs/architecture.md + docs/ADR-log.md (in the project)
|
|
161
|
+
- **Updated by:** Architect on any architectural decision
|
|
162
|
+
- **Referenced by:** Reviewer and Architect on each gate
|
|
163
|
+
- **Rule:** New ADRs are added to ADR-log.md. Architecture.md is updated when the stack, patterns, or constraints change
|
|
@@ -1,27 +1,130 @@
|
|
|
1
|
-
---
|
|
2
|
-
description: Task launch template through the 8-agent pipeline. Use at the beginning of EVERY session.
|
|
3
1
|
---
|
|
2
|
+
description: Template for launching a task through the 8-agent pipeline. Use at the start of EVERY session.
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
# /start-task — Launch a task through the pipeline
|
|
6
|
+
|
|
7
|
+
## Step 0: Select pipeline mode
|
|
8
|
+
|
|
9
|
+
Determine the task type and choose the workflow:
|
|
10
|
+
- 🔵 **New feature / refactoring** → continue with `/start-task` (this file)
|
|
11
|
+
- 🟢 **Bugfix** (> 2 files, non-trivial) → switch to `/bugfix`
|
|
12
|
+
- 🟡 **Hotfix** (1–2 files, blast radius ≈ 0) → switch to `/hotfix`
|
|
13
|
+
|
|
14
|
+
> If you selected `/bugfix` or `/hotfix` — stop reading this file and follow the chosen workflow.
|
|
15
|
+
|
|
16
|
+
## Step 1: Load pipeline rules
|
|
17
|
+
|
|
18
|
+
Execute `/pipeline-rules` — read and acknowledge ALL rules BEFORE starting work.
|
|
19
|
+
|
|
20
|
+
## Step 2: Initialize agents
|
|
21
|
+
Execute `view_file` on `AGENTS.md` — confirm the list of agents and skills.
|
|
22
|
+
|
|
23
|
+
## Step 3: Launch the Conductor
|
|
24
|
+
Execute `view_file` on `agents/conductor.md` — read the protocol and create the Master Checklist in `task.md`.
|
|
25
|
+
|
|
26
|
+
## Step 4: Pass each gate STRICTLY by protocol
|
|
27
|
+
|
|
28
|
+
On EVERY gate, mandatory steps:
|
|
29
|
+
1. `view_file` on `agents/<role>.md` — read the agent protocol
|
|
30
|
+
2. Pass EACH section of the protocol in order (no "collapsing")
|
|
31
|
+
3. Use the **full** "Agent Response Format (strict)" from the agent file
|
|
32
|
+
4. If a section is not applicable — explicitly write: "N/A — [reason]"
|
|
33
|
+
5. Produce deliverable + Handoff Envelope with ALL mandatory fields
|
|
34
|
+
6. Present the result via `notify_user`
|
|
35
|
+
7. **Wait for explicit "Approved"** before moving to the next gate
|
|
4
36
|
|
|
5
|
-
|
|
37
|
+
## Step 5: Code — ONLY after DEV gate + Approved
|
|
6
38
|
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
39
|
+
- First, the DEV agent passes ALL sections of the protocol (§0–§7)
|
|
40
|
+
- Then proposes the change plan
|
|
41
|
+
- User approves
|
|
42
|
+
- ONLY THEN the agent applies code
|
|
43
|
+
|
|
44
|
+
## Step 6: Fix Cycle (on FAIL)
|
|
45
|
+
|
|
46
|
+
If the tester or reviewer finds a bug:
|
|
47
|
+
1. Current agent produces FAIL Report + HANDOFF Envelope → DEV
|
|
48
|
+
2. User approves FAIL HANDOFF
|
|
49
|
+
3. DEV reads `agents/senior_full_stack.md` and passes the FULL protocol
|
|
50
|
+
4. DEV HANDOFF → REV → OPS → TEST (each gate with full protocol)
|
|
51
|
+
5. No "quick fixes" without passing through agents
|
|
52
|
+
|
|
53
|
+
---
|
|
54
|
+
|
|
55
|
+
## First prompt template (copy and fill)
|
|
14
56
|
|
|
15
|
-
## First prompt template
|
|
16
57
|
```
|
|
17
58
|
@AGENTS.md /pipeline-rules
|
|
18
59
|
|
|
19
|
-
Task: [what to do].
|
|
20
|
-
Files: [
|
|
60
|
+
Task: [what to do, 1-2 sentences].
|
|
61
|
+
Files: [specific files, if known].
|
|
21
62
|
|
|
22
63
|
Rules:
|
|
23
|
-
1. Start with Conductor
|
|
24
|
-
2.
|
|
25
|
-
3. Do not apply code
|
|
64
|
+
1. Start with the Conductor (agents/conductor.md)
|
|
65
|
+
2. Each gate: view_file → ALL protocol sections → full format → Approved
|
|
66
|
+
3. Do not apply code until DEV gate + my Approved
|
|
26
67
|
4. Fix Cycle = full pass through agents
|
|
27
|
-
```
|
|
68
|
+
```
|
|
69
|
+
|
|
70
|
+
---
|
|
71
|
+
|
|
72
|
+
## Session recommendations
|
|
73
|
+
|
|
74
|
+
- **One session = 3-4 gates maximum** (context is preserved)
|
|
75
|
+
- **Approved is given on EACH gate**, not per session
|
|
76
|
+
- **Session 1:** Conductor → Approved → PM → Approved → UX → Approved
|
|
77
|
+
- **Session 2:** ARCH → Approved → DEV → Approved → REV → Approved
|
|
78
|
+
- **Session 3:** OPS → Approved → TEST → Approved → RG → Approved
|
|
79
|
+
- Each new session — start with `/start-task`
|
|
80
|
+
|
|
81
|
+
## Mandatory questions from agents
|
|
82
|
+
|
|
83
|
+
Each agent that has a Clarification/Questions section in their protocol MUST:
|
|
84
|
+
1. Ask questions to the user BEFORE performing work
|
|
85
|
+
2. Minimum questions (from agent protocol): PM — 5+, ARCH — 5-10, DEV — as needed, Tester — 5+
|
|
86
|
+
3. If the task seems "obvious" — still ask at minimum 2-3 clarifying questions
|
|
87
|
+
4. Wait for user answers BEFORE continuing
|
|
88
|
+
5. The only exception: the user explicitly wrote "no questions"
|
|
89
|
+
|
|
90
|
+
## When "cutting corners" — one phrase
|
|
91
|
+
|
|
92
|
+
If the model shortcuts, say:
|
|
93
|
+
> "Stop. Section [X] of protocol agents/<role>.md. Re-read and execute."
|
|
94
|
+
|
|
95
|
+
---
|
|
96
|
+
|
|
97
|
+
## Feedback protocol (mandatory)
|
|
98
|
+
|
|
99
|
+
The model MUST provide feedback to the user at every stage:
|
|
100
|
+
|
|
101
|
+
### 1. Warning when tempted to shortcut
|
|
102
|
+
If the task looks "trivial", the model MUST write:
|
|
103
|
+
```
|
|
104
|
+
⚠️ Task looks trivial. My instinct is to do it quickly.
|
|
105
|
+
But following the protocol, I'm going through the full cycle. Sections: [list].
|
|
106
|
+
```
|
|
107
|
+
|
|
108
|
+
### 2. User prompt assessment
|
|
109
|
+
At the start of each task the model assesses the prompt:
|
|
110
|
+
```
|
|
111
|
+
📊 Prompt assessment:
|
|
112
|
+
- Clarity: [high/medium/low]
|
|
113
|
+
- What helped: [what was useful]
|
|
114
|
+
- What's missing: [what to add for effectiveness]
|
|
115
|
+
```
|
|
116
|
+
|
|
117
|
+
### 3. Tips in Handoff Envelope
|
|
118
|
+
In each Handoff add a section:
|
|
119
|
+
```
|
|
120
|
+
💡 Feedback: [tip for the user, if any]
|
|
121
|
+
```
|
|
122
|
+
|
|
123
|
+
### 4. Retrospective at session end
|
|
124
|
+
Before finishing work:
|
|
125
|
+
```
|
|
126
|
+
🔄 Retrospective:
|
|
127
|
+
- Gates passed: X
|
|
128
|
+
- Protocol violations: X
|
|
129
|
+
- What to improve in the next session: [recommendation]
|
|
130
|
+
```
|
package/locales/en/AGENTS.md
CHANGED
|
@@ -84,6 +84,7 @@ Use skills (folders with `SKILL.md`). Full list:
|
|
|
84
84
|
- $n8n_pinecone_qdrant_supabase
|
|
85
85
|
- $wix_self_hosted_embedded_script
|
|
86
86
|
- $wix_iframe_sdk
|
|
87
|
+
- $tailwind_beast_practices
|
|
87
88
|
- $react_15_3_wix_iframe (conditional, only for Wix iFrame / React 15.3)
|
|
88
89
|
|
|
89
90
|
### Review (Best Practices + Security)
|
|
@@ -180,11 +180,13 @@ The report for the conductor contains:
|
|
|
180
180
|
- $mongodb_mongoose_best_practices
|
|
181
181
|
- $n8n_pinecone_qdrant_supabase
|
|
182
182
|
- $wix_self_hosted_embedded_script
|
|
183
|
+
- $tailwind_beast_practices
|
|
183
184
|
- (conditional) $wix_iframe_sdk
|
|
184
185
|
- (conditional) $react_15_3_wix_iframe
|
|
185
186
|
|
|
187
|
+
|
|
186
188
|
---
|
|
187
|
-
|
|
189
|
+
|
|
188
190
|
|
|
189
191
|
## Agent response format (strict)
|
|
190
192
|
|
|
@@ -0,0 +1,152 @@
|
|
|
1
|
+
# Prompt Examples for Pipeline Launch
|
|
2
|
+
|
|
3
|
+
> Copy the relevant prompt, replace placeholders with your data, paste into chat.
|
|
4
|
+
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
## 🔵 Full Pipeline (`/start-task`) — new feature / refactoring
|
|
8
|
+
|
|
9
|
+
### New Feature
|
|
10
|
+
```
|
|
11
|
+
@AGENTS.md Task:
|
|
12
|
+
Implement [feature description].
|
|
13
|
+
Full pipeline!
|
|
14
|
+
|
|
15
|
+
SESSION RULES:
|
|
16
|
+
1. Each gate: view_file agents/<role>.md → view_file on EVERY SKILL.md from the protocol skills → deliverable → notify_user → wait for "Approved"
|
|
17
|
+
2. Skipping a gate or skill = BLOCKER
|
|
18
|
+
3. Do not proceed without Approved
|
|
19
|
+
```
|
|
20
|
+
|
|
21
|
+
### Refactoring
|
|
22
|
+
```
|
|
23
|
+
@AGENTS.md Task:
|
|
24
|
+
Refactor [description: what exactly we're refactoring and why].
|
|
25
|
+
Full pipeline!
|
|
26
|
+
|
|
27
|
+
SESSION RULES:
|
|
28
|
+
1. Each gate: view_file agents/<role>.md → view_file on EVERY SKILL.md from the protocol skills → deliverable → notify_user → wait for "Approved"
|
|
29
|
+
2. Skipping a gate or skill = BLOCKER
|
|
30
|
+
3. Do not proceed without Approved
|
|
31
|
+
```
|
|
32
|
+
|
|
33
|
+
---
|
|
34
|
+
|
|
35
|
+
## 🟢 Bugfix (`/bugfix`) — bug fix (4 gates)
|
|
36
|
+
|
|
37
|
+
### Standard Bug
|
|
38
|
+
```
|
|
39
|
+
@AGENTS.md Task:
|
|
40
|
+
Fix bug: [bug description, reproduction steps, expected vs actual behavior].
|
|
41
|
+
Bugfix pipeline!
|
|
42
|
+
|
|
43
|
+
SESSION RULES:
|
|
44
|
+
1. Each gate: view_file agents/<role>.md → view_file on EVERY SKILL.md from the protocol skills → deliverable → notify_user → wait for "Approved"
|
|
45
|
+
2. Skipping a gate or skill = BLOCKER
|
|
46
|
+
3. Do not proceed without Approved
|
|
47
|
+
```
|
|
48
|
+
|
|
49
|
+
### Bug with File References
|
|
50
|
+
```
|
|
51
|
+
@AGENTS.md Task:
|
|
52
|
+
@[path/to/file1] @[path/to/file2]
|
|
53
|
+
Bug: [description]. Root cause likely in the referenced files.
|
|
54
|
+
Bugfix pipeline!
|
|
55
|
+
|
|
56
|
+
SESSION RULES:
|
|
57
|
+
1. Each gate: view_file agents/<role>.md → view_file on EVERY SKILL.md → deliverable → notify_user → wait for "Approved"
|
|
58
|
+
2. Skipping a gate = BLOCKER
|
|
59
|
+
```
|
|
60
|
+
|
|
61
|
+
---
|
|
62
|
+
|
|
63
|
+
## 🟡 Hotfix (`/hotfix`) — minor fix (2 gates)
|
|
64
|
+
|
|
65
|
+
### Typo / CSS / Single Line
|
|
66
|
+
```
|
|
67
|
+
@AGENTS.md Task:
|
|
68
|
+
Hotfix: [fix description, e.g.: "fix typo in heading" or "change button color from #333 to #555"].
|
|
69
|
+
Hotfix pipeline!
|
|
70
|
+
|
|
71
|
+
SESSION RULES:
|
|
72
|
+
1. Each gate: view_file agents/<role>.md → view_file on EVERY SKILL.md → deliverable → notify_user → wait for "Approved"
|
|
73
|
+
2. Skipping a gate = BLOCKER
|
|
74
|
+
```
|
|
75
|
+
|
|
76
|
+
---
|
|
77
|
+
|
|
78
|
+
## 🎨 Design Only (Google Stitch)
|
|
79
|
+
|
|
80
|
+
### UI Screen Generation
|
|
81
|
+
```
|
|
82
|
+
@AGENTS.md Task:
|
|
83
|
+
Create UI screens for [description: which screens, which application].
|
|
84
|
+
Use Google Stitch via $google_stitch_skill.
|
|
85
|
+
|
|
86
|
+
SESSION RULES:
|
|
87
|
+
1. view_file agents/ux_ui_designer.md → view_file $google_stitch_skill → deliverable → notify_user → wait for "Approved"
|
|
88
|
+
```
|
|
89
|
+
|
|
90
|
+
---
|
|
91
|
+
|
|
92
|
+
## 📄 Documentation Only
|
|
93
|
+
|
|
94
|
+
### Document Adaptation / Creation
|
|
95
|
+
```
|
|
96
|
+
@AGENTS.md Task:
|
|
97
|
+
[Documentation task description, e.g.: "adapt files X, Y, Z for global use"].
|
|
98
|
+
Bugfix pipeline! (or Full pipeline — depending on complexity)
|
|
99
|
+
|
|
100
|
+
SESSION RULES:
|
|
101
|
+
1. Each gate: view_file agents/<role>.md → view_file on EVERY SKILL.md → deliverable → notify_user → wait for "Approved"
|
|
102
|
+
2. Skipping a gate = BLOCKER
|
|
103
|
+
```
|
|
104
|
+
|
|
105
|
+
---
|
|
106
|
+
|
|
107
|
+
## ⚡ Gate Transitions (User Responses)
|
|
108
|
+
|
|
109
|
+
### Approve and Move to Next Gate
|
|
110
|
+
```
|
|
111
|
+
Approved. Next gate: agents/<role>.md. Skills: view_file required. Full format.
|
|
112
|
+
```
|
|
113
|
+
|
|
114
|
+
### Approve with Trigger (Wix / Shopify)
|
|
115
|
+
```
|
|
116
|
+
Approved. TEST gate. Wix.
|
|
117
|
+
```
|
|
118
|
+
|
|
119
|
+
### Reject / Return for Rework
|
|
120
|
+
```
|
|
121
|
+
NO-GO. Fix: [list of issues]. Return to [gate] gate.
|
|
122
|
+
```
|
|
123
|
+
|
|
124
|
+
---
|
|
125
|
+
|
|
126
|
+
## 🔧 Utility Prompts
|
|
127
|
+
|
|
128
|
+
### Check Status
|
|
129
|
+
```
|
|
130
|
+
Show the current Master Checklist and status of all gates.
|
|
131
|
+
```
|
|
132
|
+
|
|
133
|
+
### Run a Specific Agent
|
|
134
|
+
```
|
|
135
|
+
Run agents/<role>.md. Context: [brief description]. Skills: view_file required.
|
|
136
|
+
```
|
|
137
|
+
|
|
138
|
+
### Update Version
|
|
139
|
+
```
|
|
140
|
+
Update the version in package.json to X.Y.Z
|
|
141
|
+
```
|
|
142
|
+
|
|
143
|
+
---
|
|
144
|
+
|
|
145
|
+
## 📝 Tips for Writing Prompts
|
|
146
|
+
|
|
147
|
+
1. **Always start with `@AGENTS.md`** — this loads the agent system
|
|
148
|
+
2. **Reference files with `@[path]`** — the agent immediately sees the context
|
|
149
|
+
3. **Name the pipeline mode** — "Full pipeline!", "Bugfix pipeline!", "Hotfix pipeline!"
|
|
150
|
+
4. **Add SESSION RULES** — this guarantees protocol compliance
|
|
151
|
+
5. **Write "Approved" explicitly** — without this word the agent will not proceed to the next gate
|
|
152
|
+
6. **Be specific** — the more precise the description, the better the result
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "code-ai-installer",
|
|
3
|
-
"version": "1.5.
|
|
3
|
+
"version": "1.5.2",
|
|
4
4
|
"description": "Production-ready CLI to install code-ai agents and skills for multiple AI coding assistants.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Denis Harchenko",
|
|
@@ -49,18 +49,18 @@
|
|
|
49
49
|
],
|
|
50
50
|
"dependencies": {
|
|
51
51
|
"chalk": "^5.3.0",
|
|
52
|
-
"commander": "^
|
|
53
|
-
"fs-extra": "^11.
|
|
52
|
+
"commander": "^14.0.3",
|
|
53
|
+
"fs-extra": "^11.3.4",
|
|
54
54
|
"prompts": "^2.4.2",
|
|
55
|
-
"yaml": "^2.8.
|
|
56
|
-
"zod": "^3.
|
|
55
|
+
"yaml": "^2.8.3",
|
|
56
|
+
"zod": "^4.3.6"
|
|
57
57
|
},
|
|
58
58
|
"devDependencies": {
|
|
59
59
|
"@types/fs-extra": "^11.0.4",
|
|
60
|
-
"@types/node": "^
|
|
60
|
+
"@types/node": "^25.5.0",
|
|
61
61
|
"@types/prompts": "^2.4.9",
|
|
62
62
|
"tsx": "^4.19.2",
|
|
63
|
-
"typescript": "^
|
|
64
|
-
"vitest": "^
|
|
63
|
+
"typescript": "^6.0.2",
|
|
64
|
+
"vitest": "^4.1.1"
|
|
65
65
|
}
|
|
66
66
|
}
|