Skip to content

Commit 7bdff33

Browse files
authored
Merge pull request #2 from matscode/draft-20251007
- Rules Optimization - Persona Personalization - Project Spec Management - Features Spec Management
2 parents a8af181 + 0c9097e commit 7bdff33

26 files changed

+1288
-346
lines changed

.kiro/steering/rules.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# Interactive Coding Agent: Entry Point
2+
3+
## 🚨 MANDATORY: START HERE
4+
5+
**BEFORE ANY ACTION, YOU ARE REQUIRED TO:**
6+
7+
1. **OPEN****[../../rules/index.rules.md](../../rules/index.rules.md)**
8+
2. **FOLLOW** → The mandatory onboarding process described within.
9+
10+
**FAILURE TO DO SO = CRITICAL VIOLATION**

.trae/rules/project_rules.md

Lines changed: 6 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,10 @@
1-
# Interactive Coding Agent Rules
1+
# Interactive Coding Agent: Entry Point
22

3-
🚨 **MANDATORY: YOU MUST IMMEDIATELY OPEN AND READ THE COMPLETE RULES** 🚨
3+
## 🚨 MANDATORY: START HERE
44

5-
**BEFORE ANY CODING SESSION, YOU ARE REQUIRED TO:**
5+
**BEFORE ANY ACTION, YOU ARE REQUIRED TO:**
66

7-
1. **OPEN****[agents/index.md](../../agents/index.md)**
8-
2. **READ** → All mandatory standards and core principles
9-
3. **IMPLEMENT** → Every rule and compliance checklist
7+
1. **OPEN****[../../rules/index.rules.md](../../rules/index.rules.md)**
8+
2. **FOLLOW** → The mandatory onboarding process described within.
109

11-
**FAILURE TO FOLLOW THESE RULES = CRITICAL VIOLATION**
12-
13-
This file contains:
14-
- ⚠️ **MANDATORY** stop points and question triggers
15-
- 🛑 **REQUIRED** interactive command usage
16-
-**ESSENTIAL** compliance checklists
17-
- 🚨 **CRITICAL** violation protocols
18-
19-
**NO EXCEPTIONS. NO ASSUMPTIONS. FOLLOW THE RULES.**
20-
21-
---
22-
23-
*Single source of truth for maintainability - MUST be followed by all agents.*
24-
25-
---
26-
27-
*Created by [@matscode](https://www.tiktok.com/@matscode) | [LinkedIn](https://www.linkedin.com/in/matscode)*
10+
**FAILURE TO DO SO = CRITICAL VIOLATION**

.windsurf/rules/project_rules.md

Lines changed: 6 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,13 @@
11
---
22
trigger: always_on
33
---
4+
# Interactive Coding Agent: Entry Point
45

5-
# Interactive Coding Agent Rules
6+
## 🚨 MANDATORY: START HERE
67

7-
🚨 **MANDATORY: YOU MUST IMMEDIATELY OPEN AND READ THE COMPLETE RULES** 🚨
8+
**BEFORE ANY ACTION, YOU ARE REQUIRED TO:**
89

9-
**BEFORE ANY CODING SESSION, YOU ARE REQUIRED TO:**
10+
1. **OPEN****[../../rules/index.rules.md](../../rules/index.rules.md)**
11+
2. **FOLLOW** → The mandatory onboarding process described within.
1012

11-
1. **OPEN****[agents/index.md](../agents/index.md)**
12-
2. **READ** → All mandatory standards and core principles
13-
3. **IMPLEMENT** → Every rule and compliance checklist
14-
15-
**FAILURE TO FOLLOW THESE RULES = CRITICAL VIOLATION**
16-
17-
This file contains:
18-
- ⚠️ **MANDATORY** stop points and question triggers
19-
- 🛑 **REQUIRED** interactive command usage
20-
-**ESSENTIAL** compliance checklists
21-
- 🚨 **CRITICAL** violation protocols
22-
23-
**NO EXCEPTIONS. NO ASSUMPTIONS. FOLLOW THE RULES.**
24-
25-
---
26-
27-
*Single source of truth for maintainability - MUST be followed by all agents.*
28-
29-
---
30-
31-
*Created by [@matscode](https://www.tiktok.com/@matscode) | [LinkedIn](https://www.linkedin.com/in/matscode)*
13+
**FAILURE TO DO SO = CRITICAL VIOLATION**

AGENTS.md

Lines changed: 6 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -1,33 +1,10 @@
1-
# Interactive Coding Agent Rules
1+
# Interactive Coding Agent: Entry Point
22

3-
🚨 **MANDATORY: YOU MUST IMMEDIATELY OPEN AND READ THE COMPLETE RULES** 🚨
3+
## 🚨 MANDATORY: START HERE
44

5-
**BEFORE ANY CODING SESSION, YOU ARE REQUIRED TO:**
5+
**BEFORE ANY ACTION, YOU ARE REQUIRED TO:**
66

7-
1. **OPEN****[agents/index.md](./agents/index.md)**
8-
2. **READ** → All mandatory standards and core principles
9-
3. **IMPLEMENT** → Every rule and compliance checklist
7+
1. **OPEN****[rules/index.rules.md](./rules/index.rules.md)**
8+
2. **FOLLOW** → The mandatory onboarding process described within.
109

11-
**FAILURE TO FOLLOW THESE RULES = CRITICAL VIOLATION**
12-
13-
## Complete Interactive Rules
14-
15-
@./agents/index.md
16-
17-
## Key Requirements
18-
19-
This file contains:
20-
- ⚠️ **MANDATORY** stop points and question triggers
21-
- 🛑 **REQUIRED** interactive command usage
22-
-**ESSENTIAL** compliance checklists
23-
- 🚨 **CRITICAL** violation protocols
24-
25-
**NO EXCEPTIONS. NO ASSUMPTIONS. FOLLOW THE RULES.**
26-
27-
---
28-
29-
*Single source of truth for maintainability - MUST be followed by all agents.*
30-
31-
---
32-
33-
*Created by [@matscode](https://www.tiktok.com/@matscode) | [LinkedIn](https://www.linkedin.com/in/matscode)*
10+
**FAILURE TO DO SO = CRITICAL VIOLATION**

GEMINI.md

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
# Interactive Coding Agent: Entry Point
2+
3+
## 🚨 MANDATORY: START HERE
4+
5+
**BEFORE ANY ACTION, YOU ARE REQUIRED TO:**
6+
7+
1. **OPEN****[rules/index.rules.md](./rules/index.rules.md)**
8+
2. **FOLLOW** → The mandatory onboarding process described within.
9+
10+
**FAILURE TO DO SO = CRITICAL VIOLATION**
11+
12+
---
13+
14+
## ⚠️ CRITICAL OVERRIDE: Interactive Input Protocol
15+
16+
**This section overrides the interactive input instructions found in `rules/interactive-input.rules.md`.** This override specifically pertains to the *mechanism* of asking questions and does not supersede other principles of interactive input, such as clarifying ambiguity or seeking explicit approval.
17+
18+
Due to client-side rendering limitations where `run_shell_command` (the `run_command` alternative in GEMINI's environment) causes an `InvalidStreamError` and Markdown tables are not rendered, the following protocol is the **only acceptable way** for the agent to request interactive input from the user:
19+
20+
1. **Format:** Questions will be presented as plain text, structured within a custom ASCII-art separator and a Markdown heading.
21+
2. **Separator:** A 3-line period-based separator will be used, with the longest line being a Markdown horizontal rule (`---`).
22+
* **Opening:**
23+
```
24+
.
25+
..
26+
---
27+
```
28+
* **Closing:**
29+
```
30+
---
31+
..
32+
.
33+
```
34+
3. **Padding:** One empty line will be placed between the opening separator and the heading, and one empty line between the question body and the closing separator.
35+
4. **Heading:** A Markdown H2 heading (`## **Question Title**`) will be used.
36+
5. **Body:** The question text will be formatted using supported Markdown (bold, italic, lists, blockquotes, inline code).
37+
6. **Interaction:** The agent will send this formatted block as a single text response. The user will provide their answer as a plain text chat message.

0 commit comments

Comments
 (0)