@neyugn/agent-kits 0.5.5 → 0.5.6

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/dist/cli.js CHANGED
@@ -298,38 +298,11 @@ async function copyCommonAssets(kitTargetPath, aiTool, workflowsFolderName = "wo
298
298
  [],
299
299
  aiTool.path
300
300
  );
301
- const commonArchitecturePath = path2.join(COMMON_DIR, "architecture");
302
- if (await isDirectory(commonArchitecturePath)) {
303
- const targetArchitecturePath = path2.join(kitTargetPath, "architecture");
304
- await fs.mkdir(targetArchitecturePath, { recursive: true });
305
- await copyDirectory(commonArchitecturePath, targetArchitecturePath, [], aiTool.path);
306
- }
307
- const commonRoutingPath = path2.join(COMMON_DIR, "routing.json");
308
- if (await fileExists(commonRoutingPath)) {
309
- const targetRoutingPath = path2.join(kitTargetPath, "routing.json");
310
- await fs.copyFile(commonRoutingPath, targetRoutingPath);
311
- }
312
301
  const targetCommonDoc = path2.join(kitTargetPath, "COMMON.md");
313
302
  const commonContent = await fs.readFile(commonDocPath, "utf-8");
314
303
  const updatedCommonContent = replaceToolPaths(commonContent, aiTool.path);
315
304
  await fs.writeFile(targetCommonDoc, updatedCommonContent);
316
305
  }
317
- async function fileExists(filePath) {
318
- try {
319
- await fs.access(filePath);
320
- return true;
321
- } catch {
322
- return false;
323
- }
324
- }
325
- async function isDirectory(dirPath) {
326
- try {
327
- const stats = await fs.stat(dirPath);
328
- return stats.isDirectory();
329
- } catch {
330
- return false;
331
- }
332
- }
333
306
 
334
307
  // src/installers/antigravity.ts
335
308
  var AntigravityInstaller = class {
@@ -1,289 +1,50 @@
1
- # AGT-Kit Architecture
1
+ # AGT-Kit Architecture Index
2
2
 
3
- > AI Agent Capability Expansion Toolkit
3
+ > Compact index use this first. Load full sections only when needed.
4
4
 
5
5
  ---
6
6
 
7
- ## 📋 Overview
7
+ ## 🏗️ Quick Reference
8
8
 
9
- AGT-Kit is a modular system consisting of:
9
+ | Component | Count | Full Reference |
10
+ |---|---|---|
11
+ | Agents | 22 | `.agent/architecture/agents.md` |
12
+ | Skills | 43 | `.agent/architecture/skills.md` |
13
+ | Workflows | 7 | `.agent/architecture/workflows.md` |
14
+ | Scripts | 8 | `.agent/architecture/scripts.md` |
10
15
 
11
- - **Specialist Agents** - Role-based AI personas
12
- - **Skills** - Domain-specific knowledge modules
13
- - **Workflows** - Slash command procedures
14
- - **Common Skills** - Universal skills shared across all kits
16
+ **Routing:** See `.agent/routing.json` for fast agent/skill lookup by intent + domain.
15
17
 
16
18
  ---
17
19
 
18
- ## 🔗 Common Skills
20
+ ## 🤖 Agent Tiers (Summary)
19
21
 
20
- This kit inherits from the **Common Skills Layer**. See `COMMON.md` for full documentation.
21
-
22
- | Skill | Description | Workflow |
23
- | -------------- | -------------------------------------------------------- | --------- |
24
- | `filter-skill` | Analyze workspace and enable/disable skills by techstack | `/filter` |
25
-
26
- ### Usage
27
-
28
- ```bash
29
- /filter # Analyze workspace and recommend skill filtering
30
- ```
31
-
32
- Common skills are automatically installed and available in all kits.
22
+ - **T1 Master:** orchestrator · project-planner · debugger
23
+ - **T2 Dev:** frontend-specialist · backend-specialist · mobile-developer · database-specialist · devops-engineer
24
+ - **T3 Quality:** security-auditor · code-reviewer · test-engineer · performance-analyst
25
+ - **T4 Domain:** realtime-specialist · multi-tenant-architect · queue-specialist · integration-specialist · ai-engineer · cloud-architect · data-engineer
26
+ - **T5 Support:** documentation-writer · i18n-specialist · ux-researcher
33
27
 
34
28
  ---
35
29
 
36
- ## 🏗️ Directory Structure
30
+ ## 🧩 Skill Categories (Summary)
37
31
 
38
- ```plaintext
39
- .agent/
40
- ├── ARCHITECTURE.md # This file
41
- ├── agents/ # Specialist Agents
42
- ├── skills/ # Skills (knowledge modules)
43
- ├── workflows/ # Slash Commands
44
- ├── rules/ # Global Rules
45
- └── scripts/ # Master Validation Scripts
46
- ```
32
+ - **Core (always on):** clean-code · testing-patterns · security-fundamentals · brainstorming · plan-writing · systematic-debugging
33
+ - **Frontend:** react-patterns · typescript-patterns · tailwind-patterns · frontend-design · seo-patterns · accessibility-patterns · ui-ux-pro-max
34
+ - **Backend:** api-patterns · nodejs-best-practices · auth-patterns · graphql-patterns
35
+ - **Database:** database-design · postgres-patterns · redis-patterns
36
+ - **Mobile:** flutter-patterns · react-native-patterns · mobile-design
37
+ - **DevOps:** docker-patterns · kubernetes-patterns · terraform-patterns · github-actions · gitlab-ci-patterns · monitoring-observability · aws-patterns
38
+ - **AI:** ai-rag-patterns · prompt-engineering
39
+ - **Realtime/Queue:** realtime-patterns · queue-patterns · multi-tenancy
40
+ - **Support:** i18n-localization · documentation-templates · mermaid-diagrams · performance-profiling
47
41
 
48
42
  ---
49
43
 
50
- ## 🤖 Agents
51
-
52
- Specialist AI personas for different domains.
53
-
54
- ### Tier 1: Master Agents
55
-
56
- | Agent | Focus | Skills Used |
57
- | ----------------- | ------------------------ | ------------------------------------------------------ |
58
- | `orchestrator` | Multi-agent coordination | clean-code, brainstorming, plan-writing, ui-ux-pro-max |
59
- | `project-planner` | Smart project planning | clean-code, plan-writing, brainstorming |
60
- | `debugger` | Systematic debugging | clean-code, systematic-debugging, testing-patterns |
61
-
62
- ### Tier 2: Development Specialists
63
-
64
- | Agent | Focus | Skills Used |
65
- | --------------------- | ------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------ |
66
- | `frontend-specialist` | React/Next.js/Vue, UI/UX | clean-code, react-patterns, typescript-patterns, tailwind-patterns, frontend-design, testing-patterns, seo-patterns, ui-ux-pro-max |
67
- | `backend-specialist` | APIs, server logic, databases | clean-code, nodejs-best-practices, api-patterns, database-design, graphql-patterns, redis-patterns |
68
- | `mobile-developer` | React Native, Flutter, cross-platform | clean-code, mobile-design, testing-patterns, flutter-patterns, react-native-patterns, ui-ux-pro-max |
69
- | `database-specialist` | Schema design, queries, migrations | clean-code, database-design, postgres-patterns, api-patterns |
70
- | `devops-engineer` | CI/CD, deployment, infrastructure | clean-code, docker-patterns, kubernetes-patterns, github-actions, gitlab-ci-patterns, monitoring-observability, terraform-patterns, aws-patterns |
71
-
72
- ### Tier 3: Quality & Security
73
-
74
- | Agent | Focus | Skills Used |
75
- | --------------------- | -------------------------------- | -------------------------------------------------------------- |
76
- | `security-auditor` | OWASP 2025, supply chain, GenAI | clean-code, security-fundamentals, api-patterns, auth-patterns |
77
- | `code-reviewer` | PR reviews, AI code validation | clean-code, testing-patterns, security-fundamentals |
78
- | `test-engineer` | TDD, testing pyramid, automation | clean-code, testing-patterns, e2e-testing |
79
- | `performance-analyst` | Core Web Vitals, profiling | clean-code, performance-profiling |
80
-
81
- ### Tier 4: Domain Specialists
82
-
83
- | Agent | Focus | Skills Used |
84
- | ------------------------ | ----------------------------------- | --------------------------------------------------------------------------------------------------------------- |
85
- | `realtime-specialist` | WebSocket, Socket.IO, event-driven | clean-code, api-patterns, realtime-patterns |
86
- | `multi-tenant-architect` | Tenant isolation, SaaS partitioning | multi-tenancy, clean-code, database-design, api-patterns |
87
- | `queue-specialist` | Message queues, background jobs | queue-patterns, clean-code, api-patterns |
88
- | `integration-specialist` | External APIs, webhooks | clean-code, api-patterns |
89
- | `ai-engineer` | LLM, RAG, AI/ML systems | clean-code, ai-rag-patterns, prompt-engineering, api-patterns, database-design |
90
- | `cloud-architect` | AWS, Azure, GCP, multi-cloud | clean-code, kubernetes-patterns, docker-patterns, monitoring-observability, security-fundamentals, aws-patterns |
91
- | `data-engineer` | ETL, data pipelines, analytics | clean-code, database-design, postgres-patterns, api-patterns |
92
-
93
- ### Tier 5: Support Agents
94
-
95
- | Agent | Focus | Skills Used |
96
- | ---------------------- | ---------------------------------- | ------------------------------------------------------------------ |
97
- | `documentation-writer` | Technical docs, API docs, ADRs | clean-code, documentation-templates, mermaid-diagrams |
98
- | `i18n-specialist` | Internationalization, localization | clean-code, i18n-localization |
99
- | `ux-researcher` | UX research, usability, a11y | clean-code, frontend-design, accessibility-patterns, ui-ux-pro-max |
100
-
101
- ---
102
-
103
- ## 🧩 Skills (40)
104
-
105
- Modular knowledge domains that agents can load on-demand based on task context.
106
-
107
- ### Core Skills
108
-
109
- | Skill | Description |
110
- | -------------------------- | ------------------------------------------------------------------------------------------------------------ |
111
- | `clean-code` | Pragmatic coding standards. Naming, functions, structure, AI coding style. Used by ALL agents. |
112
- | `api-patterns` | API design principles. REST/GraphQL/tRPC decision, response formats, versioning, pagination. |
113
- | `database-design` | Database design principles. Schema design, indexing strategy, ORM selection, migrations. |
114
- | `testing-patterns` | Testing patterns and principles. Unit, integration, mocking, TDD. Used by ALL agents. |
115
- | `security-fundamentals` | Security coding principles. OWASP 2025, input validation/sanitization, secure architecture. |
116
- | `performance-profiling` | Performance profiling principles. Core Web Vitals, measurement-first optimization, bottleneck analysis. |
117
- | `brainstorming` | Socratic questioning protocol. User communication, requirements discovery, edge case exploration. |
118
- | `plan-writing` | Structured task planning. WBS, task decomposition, estimation, plan file formats. |
119
- | `systematic-debugging` | 4-phase debugging methodology. Root cause analysis, hypothesis testing, evidence-based verification. |
120
- | `realtime-patterns` | WebSocket, Socket.IO, event-driven architecture. Connection management, rooms, scaling. |
121
- | `multi-tenancy` | Multi-tenant architecture principles. Database isolation, context propagation, compliance patterns. |
122
- | `queue-patterns` | Message queue and background job processing. Retry strategies, DLQ, idempotency, worker pools. |
123
- | `docker-patterns` | Docker containerization principles. Multi-stage builds, security hardening, orchestration patterns. |
124
- | `kubernetes-patterns` | Kubernetes orchestration principles. Manifests, Helm, deployments, services, GitOps patterns. |
125
- | `auth-patterns` | Authentication and authorization principles. JWT, OAuth2, session management, RBAC, API security. |
126
- | `github-actions` | GitHub Actions CI/CD patterns. Workflows, matrix builds, caching, secrets, security scanning. |
127
- | `gitlab-ci-patterns` | GitLab CI/CD pipeline patterns. Multi-stage pipelines, caching, artifacts, security scanning, GitOps. |
128
- | `prompt-engineering` | Prompt engineering principles for AI systems. Few-shot, chain-of-thought, agent personas, optimization. |
129
- | `react-patterns` | React/Next.js performance and design patterns. Hooks, composition, Server Components, Vercel best practices. |
130
- | `typescript-patterns` | TypeScript advanced patterns. Branded types, conditional types, generics, monorepo config, tooling. |
131
- | `e2e-testing` | E2E testing with Playwright/Cypress. Test design, reliability, CI integration, visual regression. |
132
- | `postgres-patterns` | PostgreSQL-specific optimization. RLS, partitioning, JSONB, indexing, safe schema evolution. |
133
- | `redis-patterns` | Redis caching, pub/sub, sessions, rate limiting, distributed locking, leaderboards, memory management. |
134
- | `graphql-patterns` | GraphQL API design. Schema patterns, DataLoader, N+1 prevention, subscriptions, federation, authorization. |
135
- | `ai-rag-patterns` | RAG patterns for LLM apps. Vector DBs, chunking, retrieval, reranking, embeddings, evaluation. |
136
- | `monitoring-observability` | SRE patterns. Prometheus, Grafana, SLI/SLO, alerting, structured logging, distributed tracing. |
137
- | `terraform-patterns` | Infrastructure as Code. Terraform/OpenTofu modules, state management, testing, CI/CD, security patterns. |
138
- | `flutter-patterns` | Flutter with Dart 3, widget composition, state management (Riverpod, Bloc), multi-platform deployment. |
139
- | `react-native-patterns` | React Native with Expo, navigation, native modules, offline-first architecture, EAS Build. |
140
- | `seo-patterns` | SEO fundamentals. E-E-A-T, Core Web Vitals, technical SEO, structured data, content optimization. |
141
- | `accessibility-patterns` | WCAG compliance, inclusive design, keyboard navigation, screen readers, a11y testing. |
142
- | `mermaid-diagrams` | Mermaid diagram patterns. Flowcharts, sequence diagrams, ERDs, state diagrams, architecture visualization. |
143
- | `i18n-localization` | Internationalization and localization. ICU format, RTL support, translation workflows, locale handling. |
144
- | `mobile-design` | Mobile-first design thinking. Touch interaction, platform conventions, responsive layouts, gestures. |
145
- | `documentation-templates` | Documentation templates. README, API docs, ADRs, changelog, code comments, technical writing. |
146
- | `tailwind-patterns` | Tailwind CSS v4 patterns. Utility-first CSS, component patterns, responsive design, dark mode. |
147
- | `frontend-design` | Web UI design thinking. Color theory, typography, spacing, layouts, micro-interactions, visual hierarchy. |
148
- | `ui-ux-pro-max` | UI/UX design intelligence. 50+ styles, 97 color palettes, 57 font pairings, 99 UX guidelines, 9 tech stacks. |
149
- | `nodejs-best-practices` | Node.js development principles. Express/Fastify patterns, async handling, error management, security. |
150
- | `aws-patterns` | AWS CLI and Console patterns. IAM, S3, EC2, Lambda, CloudFormation, security best practices, automation. |
151
-
152
- ---
153
-
154
- ## 🔄 Workflows (7)
155
-
156
- Slash command procedures. Invoke with `/command`.
157
-
158
- | Command | Description |
159
- | ---------------- | -------------------------------------------------------------- |
160
- | `/plan` | Project planning using project-planner agent. NO CODE output. |
161
- | `/create` | Create new application with multi-agent orchestration. |
162
- | `/debug` | Systematic debugging with 4-phase methodology. |
163
- | `/test` | Test generation and execution with test-engineer agent. |
164
- | `/deploy` | Production deployment with pre-flight checks and verification. |
165
- | `/orchestrate` | Multi-agent coordination for complex tasks (minimum 3 agents). |
166
- | `/ui-ux-pro-max` | UI/UX design intelligence with design system generation. |
167
-
168
- ---
169
-
170
- ## 🎯 Skill Loading Protocol
171
-
172
- ```plaintext
173
- User Request → Skill Description Match → Load SKILL.md
174
-
175
- Read references/
176
-
177
- Execute scripts/ (if needed)
178
- ```
179
-
180
- ### Skill Structure
44
+ ## 🔄 Workflows
181
45
 
182
- ```plaintext
183
- skill-name/
184
- ├── SKILL.md # (Required) Metadata & instructions
185
- ├── scripts/ # (Optional) Python/Bash scripts
186
- ├── references/ # (Optional) Templates, docs
187
- └── assets/ # (Optional) Images, logos
188
- ```
46
+ `/plan` · `/create` · `/debug` · `/test` · `/deploy` · `/orchestrate` · `/ui-ux-pro-max` · `/filter`
189
47
 
190
48
  ---
191
49
 
192
- ## 📜 Scripts
193
-
194
- ### Master Scripts (Global)
195
-
196
- | Script | Purpose | When to Use |
197
- | ---------------------------------- | -------------------------------- | ----------------------------- |
198
- | `.agent/scripts/checklist.py` | Run priority-ordered validations | Development, before PR |
199
- | `.agent/scripts/verify_all.py` | Complete pre-deployment suite | Before deploy, major releases |
200
- | `.agent/scripts/kit_status.py` | Report kit status & validation | Kit health check, debugging |
201
- | `.agent/scripts/skills_manager.py` | Enable/disable/search skills | Kit management |
202
-
203
- **Usage Examples:**
204
-
205
- ```bash
206
- # Quick development check
207
- python3 .agent/scripts/checklist.py .
208
-
209
- # Full check with URL for performance
210
- python3 .agent/scripts/checklist.py . --url http://localhost:3000
211
-
212
- # Quick mode (Security, Lint, Tests only)
213
- python3 .agent/scripts/checklist.py . --quick
214
-
215
- # Full verification before deploy
216
- python3 .agent/scripts/verify_all.py . --url http://localhost:3000
217
-
218
- # Check kit status
219
- python3 .agent/scripts/kit_status.py --validate
220
-
221
- # Manage skills
222
- python3 .agent/scripts/skills_manager.py list
223
- python3 .agent/scripts/skills_manager.py search auth
224
- python3 .agent/scripts/skills_manager.py info api-patterns
225
- ```
226
-
227
- ### Skill Scripts
228
-
229
- | Skill | Script | Purpose |
230
- | ------------------------ | ------------------------------------------------------- | -------------------------------- |
231
- | `clean-code` | `skills/clean-code/scripts/lint_runner.py` | Unified linting (ESLint, Ruff) |
232
- | `testing-patterns` | `skills/testing-patterns/scripts/test_runner.py` | Test execution (Jest, Pytest) |
233
- | `security-fundamentals` | `skills/security-fundamentals/scripts/security_scan.py` | OWASP-based security scan |
234
- | `database-design` | `skills/database-design/scripts/schema_validator.py` | Prisma/Drizzle schema validation |
235
- | `api-patterns` | `skills/api-patterns/scripts/api_validator.py` | OpenAPI & API code validation |
236
- | `i18n-localization` | `skills/i18n-localization/scripts/i18n_checker.py` | Hardcoded strings & locale check |
237
- | `seo-patterns` | `skills/seo-patterns/scripts/seo_checker.py` | SEO & GEO (AI citation) audit |
238
- | `accessibility-patterns` | `skills/accessibility-patterns/scripts/a11y_checker.py` | WCAG 2.2 compliance check |
239
-
240
- ### Adding New Scripts
241
-
242
- When adding scripts to skills:
243
-
244
- 1. Create in `skills/<skill-name>/scripts/`
245
- 2. Follow naming: `<action>_<target>.py` (e.g., `lint_runner.py`)
246
- 3. Include standard output (JSON + summary)
247
- 4. Return exit code 0 (pass) or 1 (fail)
248
- 5. Update this table and `checklist.py` if it's a core check
249
-
250
- ---
251
-
252
- ## 📊 Statistics
253
-
254
- | Metric | Value |
255
- | ------------------- | ----- |
256
- | **Total Agents** | 22 |
257
- | **Total Skills** | 40 |
258
- | **Total Workflows** | 7 |
259
-
260
- ---
261
-
262
- ## 🔗 Quick Reference
263
-
264
- ---
265
-
266
- ## 📝 Adding Components
267
-
268
- ### Add a Skill
269
-
270
- 1. Run `init_skill.py` or create manually
271
- 2. Complete SKILL.md with proper frontmatter
272
- 3. Add to this file's Skills table
273
- 4. Assign to relevant agent(s)
274
- 5. Run `test_skill.py` to verify (Grade B+)
275
- 6. Update Statistics
276
-
277
- ### Add an Agent
278
-
279
- 1. Create `.agent/agents/[agent-name].md`
280
- 2. Define skills in frontmatter
281
- 3. Add to this file's Agents table
282
- 4. Update GEMINI.md if major agent
283
- 5. Update Statistics
284
-
285
- ### Add a Workflow
286
-
287
- 1. Create `.agent/workflows/[workflow-name].md`
288
- 2. Add to this file's Workflows table
289
- 3. Update Statistics
50
+ > For full details on any component, load `.agent/architecture/<section>.md`
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@neyugn/agent-kits",
3
- "version": "0.5.5",
3
+ "version": "0.5.6",
4
4
  "description": "Universal AI Agent Toolkit - Skills, Agents, and Workflows for any AI coding assistant",
5
5
  "type": "module",
6
6
  "bin": {
File without changes
File without changes
File without changes