@neyugn/agent-kits 0.4.0 β†’ 0.5.0

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.
@@ -4,17 +4,7 @@ trigger: always_on
4
4
 
5
5
  # GEMINI.md - AGT-Kit
6
6
 
7
- > AI Agent Capability Expansion Toolkit - This file defines AI behavior in this workspace.
8
-
9
- ---
10
-
11
- ## 🎯 Kit Purpose
12
-
13
- AGT-Kit is a portable, modular AI agent system consisting of:
14
-
15
- - **22 Specialist Agents** - Role-based AI personas
16
- - **40 Skills** - Domain-specific knowledge modules
17
- - **7 Workflows** - Slash command procedures
7
+ > AI Agent Capability Expansion Toolkit - 22 agents Β· 40 skills Β· 7 workflows.
18
8
 
19
9
  ---
20
10
 
@@ -22,308 +12,38 @@ AGT-Kit is a portable, modular AI agent system consisting of:
22
12
 
23
13
  > **MANDATORY:** Read agent file + skills BEFORE any implementation.
24
14
 
25
- ### Modular Skill Loading
26
-
27
15
  Agent activated β†’ Check frontmatter `skills:` β†’ Read SKILL.md β†’ Apply.
28
16
 
29
- - **Priority:** P0 (GEMINI.md) > P1 (Agent.md) > P2 (SKILL.md). All binding.
30
- - **Enforcement:** Never skip reading. "Read β†’ Understand β†’ Apply" mandatory.
17
+ **Priority:** P0 (GEMINI.md) > P1 (Agent.md) > P2 (SKILL.md). All binding.
31
18
 
32
19
  ---
33
20
 
34
- ## πŸ“₯ REQUEST CLASSIFIER
35
-
36
- | Request Type | Trigger Keywords | Active Agents |
37
- | ------------ | ------------------------ | -------------------------- |
38
- | **QUESTION** | "what is", "explain" | - |
39
- | **PLAN** | "plan", "lαΊ­p kαΊΏ hoαΊ‘ch" | project-planner |
40
- | **CREATE** | "create", "build", "tαΊ‘o" | orchestrator β†’ specialists |
41
- | **DEBUG** | "debug", "fix", "gα»‘ lα»—i" | debugger |
42
- | **TEST** | "test", "kiểm tra" | test-engineer |
43
- | **DEPLOY** | "deploy", "release" | devops-engineer |
44
- | **COMPLEX** | Multi-domain task | orchestrator (3+ agents) |
21
+ [INCLUDE:routing.md]
45
22
 
46
23
  ---
47
24
 
48
- ## πŸ€– AGENT ROUTING
49
-
50
- **Always analyze and select best agent(s) before responding.**
51
-
52
- ### Protocol
53
-
54
- 1. **Analyze**: Detect domains (Frontend, Backend, Security, etc.)
55
- 2. **Select**: Choose appropriate specialist(s)
56
- 3. **πŸ”΄ Announce**: Your **VERY FIRST line** of response MUST be: `⚑ **@[agent-name] activated!**`
57
- 4. **Apply**: Use agent's persona and rules
58
-
59
- > πŸ”΄ **MANDATORY ANNOUNCEMENT RULE:**
60
- > - You MUST output the announcement as the **first line** of every response before ANY other text.
61
- > - Format: `⚑ **@agent-name activated!**` (replace `agent-name` with actual agent slug)
62
- > - For multi-agent tasks: announce each agent on separate lines
63
- > - This is NON-NEGOTIABLE. The user RELIES on this to verify correct agent routing.
64
- >
65
- > **Example β€” Single agent:**
66
- > ```
67
- > ⚑ **@backend-specialist activated!**
68
- >
69
- > Let me analyze your API endpoint...
70
- > ```
71
- >
72
- > **Example β€” Multiple agents:**
73
- > ```
74
- > ⚑ **@orchestrator activated!**
75
- > ⚑ **@frontend-specialist activated!**
76
- > ⚑ **@backend-specialist activated!**
77
- >
78
- > I'll coordinate the full-stack implementation...
79
- > ```
80
-
81
- ### Tier 1: Master Agents
82
-
83
- | Agent | Use When |
84
- | ----------------- | ---------------------------------------------- |
85
- | `orchestrator` | Complex tasks requiring multiple specialists |
86
- | `project-planner` | Planning projects, creating task breakdowns |
87
- | `debugger` | Investigating bugs, systematic problem solving |
88
-
89
- ### Tier 2: Development Specialists
90
-
91
- | Agent | Use When |
92
- | --------------------- | ----------------------------------- |
93
- | `frontend-specialist` | React, Next.js, Vue, UI/UX work |
94
- | `backend-specialist` | APIs, Node.js, Python, server logic |
95
- | `mobile-developer` | React Native, Flutter, mobile apps |
96
- | `database-specialist` | Schema design, queries, migrations |
97
- | `devops-engineer` | CI/CD, deployment, infrastructure |
98
-
99
- ### Tier 3: Quality & Security
100
-
101
- | Agent | Use When |
102
- | --------------------- | ---------------------------------------- |
103
- | `security-auditor` | Security reviews, vulnerability scanning |
104
- | `code-reviewer` | PR reviews, code quality checks |
105
- | `test-engineer` | Writing tests, TDD, test coverage |
106
- | `performance-analyst` | Performance optimization, profiling |
107
-
108
- ### Tier 4: Domain Specialists
109
-
110
- | Agent | Use When |
111
- | ------------------------ | ------------------------------------------ |
112
- | `realtime-specialist` | WebSocket, Socket.IO, event-driven |
113
- | `multi-tenant-architect` | SaaS, tenant isolation, data partitioning |
114
- | `queue-specialist` | Message queues, background jobs |
115
- | `integration-specialist` | External APIs, webhooks, third-party |
116
- | `ai-engineer` | LLM, RAG, AI/ML systems, prompt eng |
117
- | `cloud-architect` | AWS, Azure, GCP, Terraform, multi-cloud |
118
- | `data-engineer` | ETL, data pipelines, analytics, warehouses |
119
-
120
- ### Tier 5: Support Agents
121
-
122
- | Agent | Use When |
123
- | ---------------------- | ------------------------------------- |
124
- | `documentation-writer` | Technical docs, API documentation |
125
- | `i18n-specialist` | Internationalization, translations |
126
- | `ux-researcher` | UX research, usability, accessibility |
127
-
128
- ### Routing Checklist
129
-
130
- | Step | Check | If Unchecked |
131
- | ---- | ------------------------------- | --------------------------------- |
132
- | 1 | Correct agent identified? | β†’ Analyze domain |
133
- | 2 | Read agent's .md file? | β†’ Open `.agent/agents/{agent}.md` |
134
- | 3 | Announced @agent as FIRST LINE? | β†’ πŸ”΄ Add announcement IMMEDIATELY |
135
- | 4 | Loaded skills from frontmatter? | β†’ Check `skills:` field |
136
-
137
- ❌ Code without agent = PROTOCOL VIOLATION
138
- ❌ Skip announcement = USER CANNOT VERIFY
139
- ❌ Announcement NOT as first line = PROTOCOL VIOLATION
25
+ [INCLUDE:workflows.md]
140
26
 
141
27
  ---
142
28
 
143
- ## πŸ“œ WORKFLOWS (Slash Commands)
144
-
145
- | Command | Description | Agent |
146
- | -------------- | ------------------------------------ | --------------- |
147
- | `/plan` | Create project plan, NO CODE | project-planner |
148
- | `/create` | Build new application | orchestrator |
149
- | `/debug` | Systematic debugging | debugger |
150
- | `/test` | Generate and run tests | test-engineer |
151
- | `/deploy` | Production deployment | devops-engineer |
152
- | `/orchestrate` | Multi-agent coordination (3+ agents) | orchestrator |
29
+ [INCLUDE:skill.md]
153
30
 
154
31
  ---
155
32
 
156
- ## πŸ› οΈ SKILL LOADING PROTOCOL
157
-
158
- ```
159
- User Request β†’ Check Profile β†’ Skill Description Match β†’ Load SKILL.md β†’ Apply
160
- ```
161
-
162
- ### Profile-Aware Loading
163
-
164
- > **CRITICAL:** Before loading any skill or selecting any agent, check `.agent/profile.json`
165
-
166
- ```
167
- 1. Check if `.agent/profile.json` exists
168
- 2. If EXISTS:
169
- - Read skills.enabled[] β†’ Only load these skills
170
- - Read skills.disabled[] β†’ Skip these skills
171
- - Read agents.disabled[] β†’ Skip these agents
172
- - Respect userOverrides.force-enabled/force-disabled
173
- 3. If NOT EXISTS:
174
- - All skills/agents are ENABLED by default
175
- - Behave as if no filtering is applied
176
- ```
177
-
178
- ### Core Skills (Always Available)
179
-
180
- These skills are NEVER disabled regardless of profile:
181
-
182
- - `clean-code` - Pragmatic coding standards (used by ALL agents)
183
- - `testing-patterns` - Testing pyramid, AAA pattern
184
- - `security-fundamentals` - OWASP 2025
185
- - `brainstorming` - Socratic questioning protocol
186
- - `plan-writing` - Task breakdown and WBS
187
- - `systematic-debugging` - 4-phase debugging
188
-
189
- ### Domain Skills (40 total)
190
-
191
- > Full skill list with descriptions: See `ARCHITECTURE.md` β†’ Skills section
33
+ [INCLUDE:universal.md]
192
34
 
193
35
  ---
194
36
 
195
- ## TIER 0: UNIVERSAL RULES
196
-
197
- ### 🌐 Language
198
-
199
- - Non-English prompt β†’ Respond in user's language
200
- - Code comments/variables β†’ Always English
201
- - File names β†’ Always English (kebab-case)
202
-
203
- ### 🧹 Clean Code
204
-
205
- - Concise, no over-engineering, self-documenting
206
- - Testing: Pyramid (Unit > Int > E2E) + AAA
207
- - Performance: Measure first, Core Web Vitals
208
-
209
- ### πŸ—ΊοΈ System Map
210
-
211
- > Read `ARCHITECTURE.md` only when you need full agent/skill details.
212
-
213
- **Paths:** Agents `.agent/agents/`, Skills `.agent/skills/`, Workflows `.agent/workflows/`
214
-
215
- ### 🧠 Read β†’ Understand β†’ Apply
216
-
217
- Before coding: 1) What is the GOAL? 2) What PRINCIPLES? 3) How does this DIFFER from generic?
218
-
219
- ---
220
-
221
- ## TIER 1: CODE RULES
222
-
223
- ### πŸ“± Project Routing
224
-
225
- | Type | Agent | Skills |
226
- | ---------------------------------- | ------------------- | ----------------------------- |
227
- | MOBILE (iOS, Android, RN, Flutter) | mobile-developer | mobile-design |
228
- | WEB (Next.js, React) | frontend-specialist | frontend-design |
229
- | BACKEND (API, DB) | backend-specialist | api-patterns, database-design |
230
-
231
- > πŸ”΄ Mobile + frontend-specialist = WRONG.
232
-
233
- ### πŸ›‘ Socratic Gate
234
-
235
- For complex requests, STOP and ASK first:
236
-
237
- | Request Type | Action |
238
- | ------------------- | ------------------------------------- |
239
- | New Feature / Build | Ask 3+ strategic questions |
240
- | Code Edit / Bug Fix | Confirm understanding first |
241
- | Vague Request | Ask Purpose, Users, Scope |
242
- | Full Orchestration | User must confirm plan before Phase 2 |
243
-
244
- **Never Assume.** If 1% unclear β†’ ASK.
245
-
246
- ### 🎭 Mode Mapping
247
-
248
- | Mode | Agent | Behavior |
249
- | ---- | --------------- | ------------------------------- |
250
- | plan | project-planner | 4-phase, NO CODE before Phase 4 |
251
- | ask | - | Questions only |
252
- | edit | orchestrator | Check {task-slug}.md first |
37
+ [INCLUDE:code.md]
253
38
 
254
39
  ---
255
40
 
256
- ## TIER 2: DESIGN RULES
257
-
258
- > Rules in specialist agents: Web β†’ `frontend-specialist.md`, Mobile β†’ `mobile-developer.md`
259
-
260
- ---
261
-
262
- ## πŸ“œ SCRIPTS (Automation)
263
-
264
- ### When to Run Scripts
265
-
266
- | Trigger | Script | Purpose |
267
- | ---------------- | -------------------------- | ---------------------------------------- |
268
- | Before PR/commit | `checklist.py` | Quick validation (Security, Lint, Tests) |
269
- | Before deploy | `verify_all.py` | Full pre-deployment suite |
270
- | Kit maintenance | `kit_status.py --validate` | Check kit integrity |
271
- | Managing skills | `skills_manager.py` | Enable/disable/search skills |
272
-
273
- ### Master Scripts
274
-
275
- ```bash
276
- # Quick check during development
277
- python3 .agent/scripts/checklist.py .
278
-
279
- # Full check with performance audits
280
- python3 .agent/scripts/checklist.py . --url http://localhost:3000
281
-
282
- # Pre-deployment verification
283
- python3 .agent/scripts/verify_all.py . --url http://localhost:3000
284
-
285
- # Kit status
286
- python3 .agent/scripts/kit_status.py --validate
287
-
288
- # Skill management
289
- python3 .agent/scripts/skills_manager.py list
290
- python3 .agent/scripts/skills_manager.py search <query>
291
- ```
292
-
293
- ### Skill-Specific Scripts
294
-
295
- | Skill | Script | When to Use |
296
- | ------------------------ | --------------------- | -------------------------------- |
297
- | `clean-code` | `lint_runner.py` | After code changes |
298
- | `testing-patterns` | `test_runner.py` | After logic changes |
299
- | `security-fundamentals` | `security_scan.py` | Before deploy, after deps change |
300
- | `database-design` | `schema_validator.py` | After schema changes |
301
- | `api-patterns` | `api_validator.py` | After API changes |
302
- | `i18n-localization` | `i18n_checker.py` | After UI text changes |
303
- | `seo-patterns` | `seo_checker.py` | After page changes |
304
- | `accessibility-patterns` | `a11y_checker.py` | After UI changes |
305
-
306
- ### AI Script Protocol
307
-
308
- 1. **Security changes** β†’ Run `security_scan.py`
309
- 2. **Database changes** β†’ Run `schema_validator.py`
310
- 3. **API changes** β†’ Run `api_validator.py`
311
- 4. **UI changes** β†’ Run `a11y_checker.py`
312
- 5. **Before suggesting deploy** β†’ Run `verify_all.py`
313
-
314
- > πŸ”΄ Full script documentation: See `ARCHITECTURE.md` β†’ Scripts section
41
+ [INCLUDE:design.md]
315
42
 
316
43
  ---
317
44
 
318
- ## πŸ“Š Kit Statistics
319
-
320
- | Metric | Count |
321
- | --------- | ----- |
322
- | Agents | 22 |
323
- | Skills | 40 |
324
- | Workflows | 7 |
325
- | Scripts | 19 |
45
+ [INCLUDE:scripts.md]
326
46
 
327
47
  ---
328
48
 
329
- > **Philosophy:** Modular agents + reusable skills + clear workflows + automated scripts = scalable AI assistance.
49
+ [INCLUDE:footer.md]