apt-mcp-agent-setup 1.0.0 → 1.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.
@@ -16,9 +16,9 @@ Default label vocabulary (needs-triage, needs-info, ready-for-agent, ready-for-h
16
16
 
17
17
  Single-context layout — one `CONTEXT.md` + `docs/adr/` at the repo root. See `docs/agents/domain.md`.
18
18
 
19
- ### FE Web design
19
+ ### FE Web design (taste-skill)
20
20
 
21
- Anti-slop frontend design rules for landing pages, portfolios, and redesigns.
21
+ Anti-slop frontend design skill for landing pages, portfolios, and redesigns.
22
22
 
23
23
  - `ui-style-rules` — anti-slop design rules, typography, color calibration, layout discipline for code generation.
24
24
  - `web-mockup-gen` — web design image/mockup generation (image-only, no code).
@@ -42,3 +42,67 @@ Tool selection rules, index policies, memory conventions, and auto-skill activat
42
42
  - Code search: `code_search` (default), `grep_search` (non-code only)
43
43
  - Impact: `impact_analysis` (always update index first)
44
44
  - Memory: `remember` / `recall` / `read_knowledge` (see conventions in mcp-tools.md)
45
+
46
+ ---
47
+
48
+ ## Session Start Protocol (MANDATORY)
49
+
50
+ At the start of every session:
51
+ 1. Read `.agents/ARCHITECTURE.md` to understand Agents, Skills, and Scripts.
52
+ 2. Read `.agents/memory/MEMORY.md` to load persistent project conventions.
53
+ 3. Read `docs/agents/mcp-tools.md` to load MCP tool selection rules & memory conventions.
54
+ 4. Call `read_knowledge` to load dynamic knowledge graph from memory.
55
+
56
+ ---
57
+
58
+ ## Auto-Trigger Skills (MANDATORY)
59
+
60
+ ### Workflow Skills — auto-trigger based on request type:
61
+
62
+ | Skill | Trigger Conditions | Agent Action |
63
+ |---|---|---|
64
+ | `spec-clarification` | Design decision, architecture choice, plan review, "should we X or Y?" | Load SKILL.md → Start alignment session |
65
+ | `bug-diagnostics` | Bug report, error log, "fails", "crashes", "/debug" | Load SKILL.md → Reproduce → minimise → hypothesise → fix |
66
+ | `task-breakdown` | Plan/PRD just completed, "break down", "create tickets" | Load SKILL.md → Convert plan to vertical-slice issues |
67
+ | `prd-gen` | New feature/product description with enough context for spec | Load SKILL.md → Extract PRD from conversation context |
68
+ | `prototype` | "mockup", "explore options", unclear UI/logic | Load SKILL.md → Pick branch (logic vs UI) → Build throwaway prototype |
69
+ | `tdd-loop` | Feature implementation, bug fix, "write tests", "red-green" | Load SKILL.md → Apply RED-GREEN-REFACTOR loop |
70
+
71
+ ### UI/UX Design Skills — auto-trigger when touching UI/design:
72
+
73
+ | Skill | Trigger Conditions | Agent Action |
74
+ |---|---|---|
75
+ | `ui-style-rules` | Any web UI task: page layout, component styling, redesign | Load SKILL.md → Apply anti-slop design rules |
76
+ | `web-mockup-gen` | "mockup web", "design page", web UI concept needed before coding | Load SKILL.md → Generate web design reference images (no code) |
77
+ | `mobile-mockup-gen` | "mockup app", "design screen", mobile UI concept needed before coding | Load SKILL.md → Generate mobile screen mockups in phone frames |
78
+ | `mobile-rules` | Any mobile UI implementation: Flutter widget, screen, touch interaction | Load SKILL.md → Apply platform conventions, touch patterns |
79
+ | `flutter-*` | Flutter-specific tasks: layout fix, routing, serialization, testing | Auto-select matching flutter skill based on task type |
80
+
81
+ **Failure Conditions:**
82
+ - ❌ Writing UI code without loading design skill = **SLOP RISK**
83
+ - ❌ Creating mobile screen without `mobile-rules` = **PLATFORM VIOLATION**
84
+
85
+ ---
86
+
87
+ ## Socratic Gate
88
+
89
+ Every user request must pass through the Socratic Gate before ANY implementation:
90
+
91
+ | Request Type | Strategy | Required Action |
92
+ |---|---|---|
93
+ | **New Feature / Build** | Deep Discovery | ASK minimum 3 strategic questions |
94
+ | **Code Edit / Bug Fix** | Context Check | Confirm understanding + ask impact questions |
95
+ | **Vague / Simple** | Clarification | Ask Purpose, Users, and Scope |
96
+
97
+ ---
98
+
99
+ ## Universal Rules
100
+
101
+ ### Clean Code (Global Mandatory)
102
+ - **Code**: Concise, direct, no over-engineering. Self-documenting.
103
+ - **Testing**: Mandatory. Pyramid (Unit > Int > E2E) + AAA Pattern.
104
+ - **Performance**: Measure first. Adhere to current Core Web Vitals standards.
105
+
106
+ ### Quick Reference
107
+ - **Masters**: `orchestrator`, `project-planner`, `security-auditor`, `backend-specialist`, `frontend-specialist`, `mobile-developer`, `debugger`
108
+ - **Key Skills**: `clean-code`, `brainstorming`, `ui-style-rules`, `mobile-rules`, `web-mockup-gen`, `mobile-mockup-gen`, `bug-diagnostics`, `tdd-loop`, `spec-clarification`, `prd-gen`, `task-breakdown`, `prototype`
@@ -0,0 +1,98 @@
1
+ # AG Kit — Copilot Custom Instructions
2
+
3
+ > This file defines how GitHub Copilot behaves in this workspace.
4
+
5
+ ## Agent skills
6
+
7
+ ### Support & issues
8
+
9
+ For bug reports, feature requests, or licensing questions, contact: `info.alphatechs.ai@gmail.com`
10
+
11
+ ### Issue tracker
12
+
13
+ Issues are tracked in GitLab Issues. See `docs/agents/issue-tracker.md`.
14
+
15
+ ### Triage labels
16
+
17
+ Default label vocabulary (needs-triage, needs-info, ready-for-agent, ready-for-human, wontfix). See `docs/agents/triage-labels.md`.
18
+
19
+ ### Domain docs
20
+
21
+ Single-context layout — one `CONTEXT.md` + `docs/adr/` at the repo root. See `docs/agents/domain.md`.
22
+
23
+ ---
24
+
25
+ ## Session Start Protocol (MANDATORY)
26
+
27
+ 1. Read `.agents/ARCHITECTURE.md` to understand Agents, Skills, and Scripts.
28
+ 2. Read `.agents/memory/MEMORY.md` to load persistent project conventions.
29
+ 3. Read `docs/agents/mcp-tools.md` to load MCP tool selection rules & memory conventions.
30
+ 4. Call `read_knowledge` to load dynamic knowledge graph from memory.
31
+
32
+ ---
33
+
34
+ ## MCP Tool Selection
35
+
36
+ | Situation | Use Tool | NOT | Why |
37
+ |---|---|---|---|
38
+ | Find symbol definition, function, class | `code_search` | `grep_search` | Semantic search, understands code structure |
39
+ | Find all callers of a function | `find_callers` | `grep_search` | Follows call graph, not just text match |
40
+ | Find all functions called by a function | `find_callees` | — | Call graph traversal |
41
+ | Explore file structure & dependencies | `explore_code` | `list_dir` | Understands imports, exports, relationships |
42
+ | Search in config/docs (YAML, JSON, .env, markdown) | `grep_search` | `code_search` | Non-code files, literal string match |
43
+ | "What breaks if I change this?" | `impact_analysis` | — | Blast radius — always update index first |
44
+ | Save a decision/bug-fix/convention | `remember` | — | Cross-session persistence |
45
+ | Recall what was decided about X | `recall` | — | Search by keyword |
46
+ | Load full knowledge graph | `read_knowledge` | — | Session start, get full context |
47
+
48
+ **Rule: DEFAULT to `code_search` for code. Fall back to `grep_search` ONLY for non-code files or literal strings.**
49
+
50
+ ---
51
+
52
+ ## Auto-Trigger Skills (MANDATORY)
53
+
54
+ ### Workflow Skills
55
+
56
+ | Skill | Trigger Conditions | Agent Action |
57
+ |---|---|---|
58
+ | `spec-clarification` | Design decision, architecture choice, plan review | Load SKILL.md → Start alignment session |
59
+ | `bug-diagnostics` | Bug report, error log, "fails", "crashes" | Load SKILL.md → Reproduce → minimise → hypothesise → fix |
60
+ | `task-breakdown` | Plan/PRD completed, "break down", "create tickets" | Load SKILL.md → Convert plan to vertical-slice issues |
61
+ | `prd-gen` | New feature/product description with enough context | Load SKILL.md → Extract PRD from conversation context |
62
+ | `prototype` | "mockup", "explore options", unclear UI/logic | Load SKILL.md → Build throwaway prototype |
63
+ | `tdd-loop` | Feature implementation, bug fix, "write tests" | Load SKILL.md → Apply RED-GREEN-REFACTOR loop |
64
+
65
+ ### UI/UX Design Skills
66
+
67
+ | Skill | Trigger Conditions | Agent Action |
68
+ |---|---|---|
69
+ | `ui-style-rules` | Any web UI task: page layout, component styling | Load SKILL.md → Apply anti-slop design rules |
70
+ | `web-mockup-gen` | Web UI concept needed before coding | Load SKILL.md → Generate web design reference images |
71
+ | `mobile-mockup-gen` | Mobile UI concept needed before coding | Load SKILL.md → Generate mobile screen mockups |
72
+ | `mobile-rules` | Any mobile UI implementation: Flutter, touch interaction | Load SKILL.md → Apply platform conventions |
73
+ | `flutter-*` | Flutter-specific tasks: layout, routing, testing | Auto-select matching flutter skill |
74
+
75
+ ---
76
+
77
+ ## Socratic Gate
78
+
79
+ Every user request must pass through the Socratic Gate before ANY implementation:
80
+
81
+ | Request Type | Strategy | Required Action |
82
+ |---|---|---|
83
+ | **New Feature / Build** | Deep Discovery | ASK minimum 3 strategic questions |
84
+ | **Code Edit / Bug Fix** | Context Check | Confirm understanding + ask impact questions |
85
+ | **Vague / Simple** | Clarification | Ask Purpose, Users, and Scope |
86
+
87
+ ---
88
+
89
+ ## Universal Rules
90
+
91
+ ### Clean Code (Global Mandatory)
92
+ - **Code**: Concise, direct, no over-engineering. Self-documenting.
93
+ - **Testing**: Mandatory. Pyramid (Unit > Int > E2E) + AAA Pattern.
94
+ - **Performance**: Measure first. Adhere to current Core Web Vitals standards.
95
+
96
+ ### Quick Reference
97
+ - **Masters**: `orchestrator`, `project-planner`, `security-auditor`, `backend-specialist`, `frontend-specialist`, `mobile-developer`, `debugger`
98
+ - **Key Skills**: `clean-code`, `brainstorming`, `ui-style-rules`, `mobile-rules`, `web-mockup-gen`, `mobile-mockup-gen`, `bug-diagnostics`, `tdd-loop`, `spec-clarification`, `prd-gen`, `task-breakdown`, `prototype`
@@ -0,0 +1,108 @@
1
+ ---
2
+ description: AG Kit agent behavioral rules — tool selection, auto-trigger skills, session protocol
3
+ globs: **/*
4
+ alwaysApply: true
5
+ ---
6
+
7
+ # AG Kit — Agent Rules
8
+
9
+ > This file defines how the AI behaves in this workspace.
10
+
11
+ ## Agent skills
12
+
13
+ ### Support & issues
14
+
15
+ For bug reports, feature requests, or licensing questions, contact: `info.alphatechs.ai@gmail.com`
16
+
17
+ ### Issue tracker
18
+
19
+ Issues are tracked in GitLab Issues. See `docs/agents/issue-tracker.md`.
20
+
21
+ ### Triage labels
22
+
23
+ Default label vocabulary (needs-triage, needs-info, ready-for-agent, ready-for-human, wontfix). See `docs/agents/triage-labels.md`.
24
+
25
+ ### Domain docs
26
+
27
+ Single-context layout — one `CONTEXT.md` + `docs/adr/` at the repo root. See `docs/agents/domain.md`.
28
+
29
+ ---
30
+
31
+ ## 🗺️ Session Start Protocol (MANDATORY)
32
+
33
+ 1. Read `.agents/ARCHITECTURE.md` to understand Agents, Skills, and Scripts.
34
+ 2. Read `.agents/memory/MEMORY.md` to load persistent project conventions.
35
+ 3. Read `docs/agents/mcp-tools.md` to load MCP tool selection rules & memory conventions.
36
+ 4. Call `read_knowledge` to load dynamic knowledge graph from memory.
37
+
38
+ ---
39
+
40
+ ## 🔍 MCP Tool Selection
41
+
42
+ | Situation | Use Tool | NOT | Why |
43
+ |---|---|---|---|
44
+ | Find symbol definition, function, class | `code_search` | `grep_search` | Semantic search, understands code structure |
45
+ | Find all callers of a function | `find_callers` | `grep_search` | Follows call graph, not just text match |
46
+ | Find all functions called by a function | `find_callees` | — | Call graph traversal |
47
+ | Explore file structure & dependencies | `explore_code` | `list_dir` | Understands imports, exports, relationships |
48
+ | Search in config/docs (YAML, JSON, .env, markdown) | `grep_search` | `code_search` | Non-code files, literal string match |
49
+ | "What breaks if I change this?" | `impact_analysis` | — | Blast radius — always update index first |
50
+ | Save a decision/bug-fix/convention | `remember` | — | Cross-session persistence |
51
+ | Recall what was decided about X | `recall` | — | Search by keyword |
52
+ | Load full knowledge graph | `read_knowledge` | — | Session start, get full context |
53
+
54
+ **Rule: DEFAULT to `code_search` for code. Fall back to `grep_search` ONLY for non-code files or literal strings.**
55
+
56
+ ---
57
+
58
+ ## 🎯 Auto-Trigger Skills (MANDATORY)
59
+
60
+ ### Workflow Skills
61
+
62
+ | Skill | Trigger Conditions | Agent Action |
63
+ |---|---|---|
64
+ | `spec-clarification` | Design decision, architecture choice, plan review | Load SKILL.md → Start alignment session |
65
+ | `bug-diagnostics` | Bug report, error log, "fails", "crashes" | Load SKILL.md → Reproduce → minimise → hypothesise → fix |
66
+ | `task-breakdown` | Plan/PRD completed, "break down", "create tickets" | Load SKILL.md → Convert plan to vertical-slice issues |
67
+ | `prd-gen` | New feature/product description with enough context | Load SKILL.md → Extract PRD from conversation context |
68
+ | `prototype` | "mockup", "explore options", unclear UI/logic | Load SKILL.md → Build throwaway prototype |
69
+ | `tdd-loop` | Feature implementation, bug fix, "write tests" | Load SKILL.md → Apply RED-GREEN-REFACTOR loop |
70
+
71
+ ### UI/UX Design Skills
72
+
73
+ | Skill | Trigger Conditions | Agent Action |
74
+ |---|---|---|
75
+ | `ui-style-rules` | Any web UI task: page layout, component styling | Load SKILL.md → Apply anti-slop design rules |
76
+ | `web-mockup-gen` | Web UI concept needed before coding | Load SKILL.md → Generate web design reference images |
77
+ | `mobile-mockup-gen` | Mobile UI concept needed before coding | Load SKILL.md → Generate mobile screen mockups |
78
+ | `mobile-rules` | Any mobile UI implementation: Flutter, touch interaction | Load SKILL.md → Apply platform conventions |
79
+ | `flutter-*` | Flutter-specific tasks: layout, routing, testing | Auto-select matching flutter skill |
80
+
81
+ ### Failure Conditions
82
+ - ❌ Writing UI code without loading design skill = **SLOP RISK**
83
+ - ❌ Creating mobile screen without `mobile-rules` = **PLATFORM VIOLATION**
84
+
85
+ ---
86
+
87
+ ## 🛑 Socratic Gate
88
+
89
+ Every user request must pass through the Socratic Gate before ANY implementation:
90
+
91
+ | Request Type | Strategy | Required Action |
92
+ |---|---|---|
93
+ | **New Feature / Build** | Deep Discovery | ASK minimum 3 strategic questions |
94
+ | **Code Edit / Bug Fix** | Context Check | Confirm understanding + ask impact questions |
95
+ | **Vague / Simple** | Clarification | Ask Purpose, Users, and Scope |
96
+
97
+ ---
98
+
99
+ ## Universal Rules
100
+
101
+ ### Clean Code (Global Mandatory)
102
+ - **Code**: Concise, direct, no over-engineering. Self-documenting.
103
+ - **Testing**: Mandatory. Pyramid (Unit > Int > E2E) + AAA Pattern.
104
+ - **Performance**: Measure first. Adhere to current Core Web Vitals standards.
105
+
106
+ ### Quick Reference
107
+ - **Masters**: `orchestrator`, `project-planner`, `security-auditor`, `backend-specialist`, `frontend-specialist`, `mobile-developer`, `debugger`
108
+ - **Key Skills**: `clean-code`, `brainstorming`, `ui-style-rules`, `mobile-rules`, `web-mockup-gen`, `mobile-mockup-gen`, `bug-diagnostics`, `tdd-loop`, `spec-clarification`, `prd-gen`, `task-breakdown`, `prototype`
@@ -0,0 +1,52 @@
1
+ # Design Tools Configuration
2
+
3
+ How the design-to-code skills connect to external design tools.
4
+
5
+ ## Figma (if configured)
6
+
7
+ | Setting | Value |
8
+ |---|---|
9
+ | **MCP Server** | `GLips/Figma-Context-MCP` |
10
+ | **Auth** | `FIGMA_ACCESS_TOKEN` env var (Personal Access Token, free) |
11
+ | **Mode** | Read-only — extracts layout, styles, assets |
12
+ | **Get token** | https://www.figma.com/developers/api#access-tokens |
13
+
14
+ ### Usage
15
+
16
+ Paste a Figma file or frame URL in chat:
17
+ ```
18
+ https://figma.com/file/{fileKey}/{fileName}
19
+ https://figma.com/file/{fileKey}?node-id={nodeId}
20
+ ```
21
+
22
+ Agent auto-detects → extracts design → generates code.
23
+
24
+ ## Stitch (if configured)
25
+
26
+ | Setting | Value |
27
+ |---|---|
28
+ | **MCP Server** | `@_davideast/stitch-mcp` |
29
+ | **Auth** | Google account (browser login) |
30
+ | **Mode** | Collaborative — agent creates → user tweaks → agent pulls code |
31
+ | **Cost** | Free (Google Labs Beta) |
32
+ | **Enable** | `STITCH_ENABLED=true` env var |
33
+
34
+ ### Usage
35
+
36
+ Ask agent to design a screen:
37
+ ```
38
+ "Design login page cho banking app"
39
+ "Tạo giao diện dashboard từ specs này"
40
+ ```
41
+
42
+ Agent creates on Stitch → shares link → user tweaks → says "pull code".
43
+
44
+ ## Environment Variables
45
+
46
+ ```bash
47
+ # Figma (free)
48
+ export FIGMA_ACCESS_TOKEN=figd_xxxxx
49
+
50
+ # Stitch (free beta)
51
+ export STITCH_ENABLED=true
52
+ ```
@@ -0,0 +1,52 @@
1
+ # Jira Configuration
2
+
3
+ PM preset connects to Jira for project management. This file defines connection details and conventions.
4
+
5
+ ## Primary Jira (Bank/Client)
6
+
7
+ - **URL:** ${JIRA_PRIMARY_URL}
8
+ - **Auth Method:** API Token (Cloud) / PAT (Server/Data Center)
9
+ - **Default Project:** ${JIRA_PRIMARY_PROJECT}
10
+ - **Type:** Cloud / Server / Data Center
11
+
12
+ ## Secondary Jira (Internal) — Optional
13
+
14
+ - **URL:** ${JIRA_SECONDARY_URL}
15
+ - **Auth Method:** PAT
16
+ - **Default Project:** ${JIRA_SECONDARY_PROJECT}
17
+
18
+ ## Credentials Storage
19
+
20
+ Credentials are stored as environment variables, **NOT** in this file:
21
+
22
+ | Variable | Description |
23
+ |---|---|
24
+ | `JIRA_PRIMARY_URL` | Primary Jira base URL |
25
+ | `JIRA_PRIMARY_USERNAME` | Email (Cloud) or username (Server) |
26
+ | `JIRA_PRIMARY_TOKEN` | API Token (Cloud) or PAT (Server) |
27
+ | `JIRA_SECONDARY_URL` | Secondary Jira base URL (optional) |
28
+ | `JIRA_SECONDARY_USERNAME` | Secondary Jira username (optional) |
29
+ | `JIRA_SECONDARY_TOKEN` | Secondary Jira token (optional) |
30
+
31
+ ## When a skill says "query Jira"
32
+
33
+ Use the `pm-search-tasks` tool with JQL syntax. Example:
34
+ ```
35
+ pm-search-tasks jql="status != Done AND dueDate < now() ORDER BY dueDate ASC"
36
+ ```
37
+
38
+ ## When a skill says "create task on Jira"
39
+
40
+ Use the `pm-create-task` tool. **Always confirm with user before executing write operations.**
41
+
42
+ ## When a skill says "update Jira"
43
+
44
+ Use the `pm-update-task` or `pm-change-status` tool. Show the change summary and ask for confirmation.
45
+
46
+ ## Switching between Jira instances
47
+
48
+ If two Jira instances are configured, specify which one when querying:
49
+ - Primary (default): bank/client Jira
50
+ - Secondary: internal company Jira
51
+
52
+ The agent defaults to the primary Jira unless the user explicitly asks for the internal one.
@@ -0,0 +1,98 @@
1
+ # AG Kit — Agent Rules
2
+
3
+ > This file defines how the AI (Windsurf Cascade) behaves in this workspace.
4
+
5
+ ## Agent skills
6
+
7
+ ### Support & issues
8
+
9
+ For bug reports, feature requests, or licensing questions, contact: `info.alphatechs.ai@gmail.com`
10
+
11
+ ### Issue tracker
12
+
13
+ Issues are tracked in GitLab Issues. See `docs/agents/issue-tracker.md`.
14
+
15
+ ### Triage labels
16
+
17
+ Default label vocabulary (needs-triage, needs-info, ready-for-agent, ready-for-human, wontfix). See `docs/agents/triage-labels.md`.
18
+
19
+ ### Domain docs
20
+
21
+ Single-context layout — one `CONTEXT.md` + `docs/adr/` at the repo root. See `docs/agents/domain.md`.
22
+
23
+ ---
24
+
25
+ ## Session Start Protocol (MANDATORY)
26
+
27
+ 1. Read `.agents/ARCHITECTURE.md` to understand Agents, Skills, and Scripts.
28
+ 2. Read `.agents/memory/MEMORY.md` to load persistent project conventions.
29
+ 3. Read `docs/agents/mcp-tools.md` to load MCP tool selection rules & memory conventions.
30
+ 4. Call `read_knowledge` to load dynamic knowledge graph from memory.
31
+
32
+ ---
33
+
34
+ ## MCP Tool Selection
35
+
36
+ | Situation | Use Tool | NOT | Why |
37
+ |---|---|---|---|
38
+ | Find symbol definition, function, class | `code_search` | `grep_search` | Semantic search, understands code structure |
39
+ | Find all callers of a function | `find_callers` | `grep_search` | Follows call graph, not just text match |
40
+ | Find all functions called by a function | `find_callees` | — | Call graph traversal |
41
+ | Explore file structure & dependencies | `explore_code` | `list_dir` | Understands imports, exports, relationships |
42
+ | Search in config/docs (YAML, JSON, .env, markdown) | `grep_search` | `code_search` | Non-code files, literal string match |
43
+ | "What breaks if I change this?" | `impact_analysis` | — | Blast radius — always update index first |
44
+ | Save a decision/bug-fix/convention | `remember` | — | Cross-session persistence |
45
+ | Recall what was decided about X | `recall` | — | Search by keyword |
46
+ | Load full knowledge graph | `read_knowledge` | — | Session start, get full context |
47
+
48
+ **Rule: DEFAULT to `code_search` for code. Fall back to `grep_search` ONLY for non-code files or literal strings.**
49
+
50
+ ---
51
+
52
+ ## Auto-Trigger Skills (MANDATORY)
53
+
54
+ ### Workflow Skills
55
+
56
+ | Skill | Trigger Conditions | Agent Action |
57
+ |---|---|---|
58
+ | `spec-clarification` | Design decision, architecture choice, plan review | Load SKILL.md → Start alignment session |
59
+ | `bug-diagnostics` | Bug report, error log, "fails", "crashes" | Load SKILL.md → Reproduce → minimise → hypothesise → fix |
60
+ | `task-breakdown` | Plan/PRD completed, "break down", "create tickets" | Load SKILL.md → Convert plan to vertical-slice issues |
61
+ | `prd-gen` | New feature/product description with enough context | Load SKILL.md → Extract PRD from conversation context |
62
+ | `prototype` | "mockup", "explore options", unclear UI/logic | Load SKILL.md → Build throwaway prototype |
63
+ | `tdd-loop` | Feature implementation, bug fix, "write tests" | Load SKILL.md → Apply RED-GREEN-REFACTOR loop |
64
+
65
+ ### UI/UX Design Skills
66
+
67
+ | Skill | Trigger Conditions | Agent Action |
68
+ |---|---|---|
69
+ | `ui-style-rules` | Any web UI task: page layout, component styling | Load SKILL.md → Apply anti-slop design rules |
70
+ | `web-mockup-gen` | Web UI concept needed before coding | Load SKILL.md → Generate web design reference images |
71
+ | `mobile-mockup-gen` | Mobile UI concept needed before coding | Load SKILL.md → Generate mobile screen mockups |
72
+ | `mobile-rules` | Any mobile UI implementation: Flutter, touch interaction | Load SKILL.md → Apply platform conventions |
73
+ | `flutter-*` | Flutter-specific tasks: layout, routing, testing | Auto-select matching flutter skill |
74
+
75
+ ---
76
+
77
+ ## Socratic Gate
78
+
79
+ Every user request must pass through the Socratic Gate before ANY implementation:
80
+
81
+ | Request Type | Strategy | Required Action |
82
+ |---|---|---|
83
+ | **New Feature / Build** | Deep Discovery | ASK minimum 3 strategic questions |
84
+ | **Code Edit / Bug Fix** | Context Check | Confirm understanding + ask impact questions |
85
+ | **Vague / Simple** | Clarification | Ask Purpose, Users, and Scope |
86
+
87
+ ---
88
+
89
+ ## Universal Rules
90
+
91
+ ### Clean Code (Global Mandatory)
92
+ - **Code**: Concise, direct, no over-engineering. Self-documenting.
93
+ - **Testing**: Mandatory. Pyramid (Unit > Int > E2E) + AAA Pattern.
94
+ - **Performance**: Measure first. Adhere to current Core Web Vitals standards.
95
+
96
+ ### Quick Reference
97
+ - **Masters**: `orchestrator`, `project-planner`, `security-auditor`, `backend-specialist`, `frontend-specialist`, `mobile-developer`, `debugger`
98
+ - **Key Skills**: `clean-code`, `brainstorming`, `ui-style-rules`, `mobile-rules`, `web-mockup-gen`, `mobile-mockup-gen`, `bug-diagnostics`, `tdd-loop`, `spec-clarification`, `prd-gen`, `task-breakdown`, `prototype`