@neyugn/agent-kits 0.3.9 β†’ 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,310 +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
140
-
141
- ---
142
-
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 |
153
-
154
- ---
155
-
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 - see ARCHITECTURE.md)
190
-
191
- Key skills: `api-patterns`, `database-design`, `react-patterns`, `typescript-patterns`, `docker-patterns`, `kubernetes-patterns`, `terraform-patterns`, `auth-patterns`, `graphql-patterns`, `redis-patterns`, `realtime-patterns`, `queue-patterns`, `multi-tenancy`, `ai-rag-patterns`, `prompt-engineering`, `monitoring-observability`, `frontend-design`, `mobile-design`, `tailwind-patterns`, `e2e-testing`, `performance-profiling`, `github-actions`, `gitlab-ci-patterns`
192
-
193
- > πŸ”΄ Full skill list: See `ARCHITECTURE.md` β†’ Skills section
25
+ [INCLUDE:workflows.md]
194
26
 
195
27
  ---
196
28
 
197
- ## TIER 0: UNIVERSAL RULES
198
-
199
- ### 🌐 Language
200
-
201
- - Non-English prompt β†’ Respond in user's language
202
- - Code comments/variables β†’ Always English
203
- - File names β†’ Always English (kebab-case)
204
-
205
- ### 🧹 Clean Code
206
-
207
- - Concise, no over-engineering, self-documenting
208
- - Testing: Pyramid (Unit > Int > E2E) + AAA
209
- - Performance: Measure first, Core Web Vitals
210
-
211
- ### πŸ—ΊοΈ System Map
212
-
213
- > πŸ”΄ Read `ARCHITECTURE.md` at session start.
214
-
215
- **Paths:** Agents `.agent/agents/`, Skills `.agent/skills/`, Workflows `.agent/workflows/`
216
-
217
- ### 🧠 Read β†’ Understand β†’ Apply
218
-
219
- Before coding: 1) What is the GOAL? 2) What PRINCIPLES? 3) How does this DIFFER from generic?
29
+ [INCLUDE:skill.md]
220
30
 
221
31
  ---
222
32
 
223
- ## TIER 1: CODE RULES
224
-
225
- ### πŸ“± Project Routing
226
-
227
- | Type | Agent | Skills |
228
- | ---------------------------------- | ------------------- | ----------------------------- |
229
- | MOBILE (iOS, Android, RN, Flutter) | mobile-developer | mobile-design |
230
- | WEB (Next.js, React) | frontend-specialist | frontend-design |
231
- | BACKEND (API, DB) | backend-specialist | api-patterns, database-design |
232
-
233
- > πŸ”΄ Mobile + frontend-specialist = WRONG.
234
-
235
- ### πŸ›‘ Socratic Gate
236
-
237
- For complex requests, STOP and ASK first:
238
-
239
- | Request Type | Action |
240
- | ------------------- | ------------------------------------- |
241
- | New Feature / Build | Ask 3+ strategic questions |
242
- | Code Edit / Bug Fix | Confirm understanding first |
243
- | Vague Request | Ask Purpose, Users, Scope |
244
- | Full Orchestration | User must confirm plan before Phase 2 |
245
-
246
- **Never Assume.** If 1% unclear β†’ ASK.
247
-
248
- ### 🎭 Mode Mapping
249
-
250
- | Mode | Agent | Behavior |
251
- | ---- | --------------- | ------------------------------- |
252
- | plan | project-planner | 4-phase, NO CODE before Phase 4 |
253
- | ask | - | Questions only |
254
- | edit | orchestrator | Check {task-slug}.md first |
33
+ [INCLUDE:universal.md]
255
34
 
256
35
  ---
257
36
 
258
- ## TIER 2: DESIGN RULES
259
-
260
- > Rules in specialist agents: Web β†’ `frontend-specialist.md`, Mobile β†’ `mobile-developer.md`
37
+ [INCLUDE:code.md]
261
38
 
262
39
  ---
263
40
 
264
- ## πŸ“œ SCRIPTS (Automation)
265
-
266
- ### When to Run Scripts
267
-
268
- | Trigger | Script | Purpose |
269
- | ---------------- | -------------------------- | ---------------------------------------- |
270
- | Before PR/commit | `checklist.py` | Quick validation (Security, Lint, Tests) |
271
- | Before deploy | `verify_all.py` | Full pre-deployment suite |
272
- | Kit maintenance | `kit_status.py --validate` | Check kit integrity |
273
- | Managing skills | `skills_manager.py` | Enable/disable/search skills |
274
-
275
- ### Master Scripts
276
-
277
- ```bash
278
- # Quick check during development
279
- python3 .agent/scripts/checklist.py .
280
-
281
- # Full check with performance audits
282
- python3 .agent/scripts/checklist.py . --url http://localhost:3000
283
-
284
- # Pre-deployment verification
285
- python3 .agent/scripts/verify_all.py . --url http://localhost:3000
286
-
287
- # Kit status
288
- python3 .agent/scripts/kit_status.py --validate
289
-
290
- # Skill management
291
- python3 .agent/scripts/skills_manager.py list
292
- python3 .agent/scripts/skills_manager.py search <query>
293
- ```
294
-
295
- ### Skill-Specific Scripts
296
-
297
- | Skill | Script | When to Use |
298
- | ------------------------ | --------------------- | -------------------------------- |
299
- | `clean-code` | `lint_runner.py` | After code changes |
300
- | `testing-patterns` | `test_runner.py` | After logic changes |
301
- | `security-fundamentals` | `security_scan.py` | Before deploy, after deps change |
302
- | `database-design` | `schema_validator.py` | After schema changes |
303
- | `api-patterns` | `api_validator.py` | After API changes |
304
- | `i18n-localization` | `i18n_checker.py` | After UI text changes |
305
- | `seo-patterns` | `seo_checker.py` | After page changes |
306
- | `accessibility-patterns` | `a11y_checker.py` | After UI changes |
307
-
308
- ### AI Script Protocol
309
-
310
- 1. **Security changes** β†’ Run `security_scan.py`
311
- 2. **Database changes** β†’ Run `schema_validator.py`
312
- 3. **API changes** β†’ Run `api_validator.py`
313
- 4. **UI changes** β†’ Run `a11y_checker.py`
314
- 5. **Before suggesting deploy** β†’ Run `verify_all.py`
315
-
316
- > πŸ”΄ Full script documentation: See `ARCHITECTURE.md` β†’ Scripts section
41
+ [INCLUDE:design.md]
317
42
 
318
43
  ---
319
44
 
320
- ## πŸ“Š Kit Statistics
321
-
322
- | Metric | Count |
323
- | --------- | ----- |
324
- | Agents | 22 |
325
- | Skills | 40 |
326
- | Workflows | 7 |
327
- | Scripts | 19 |
45
+ [INCLUDE:scripts.md]
328
46
 
329
47
  ---
330
48
 
331
- > **Philosophy:** Modular agents + reusable skills + clear workflows + automated scripts = scalable AI assistance.
49
+ [INCLUDE:footer.md]