@votruongdanh/ai-agent-skills 3.3.2 → 3.3.4
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/.agents/.skills-version +1 -0
- package/{.kiro → .agents}/skills/agents/SKILL.md +3 -0
- package/{.kiro → .agents}/skills/brainstorm/SKILL.md +3 -0
- package/{.kiro → .agents}/skills/clean/SKILL.md +3 -0
- package/{.kiro → .agents}/skills/create/SKILL.md +3 -0
- package/{.kiro → .agents}/skills/debug/SKILL.md +12 -6
- package/{.kiro → .agents}/skills/deploy/SKILL.md +3 -0
- package/{.kiro → .agents}/skills/enhance/SKILL.md +3 -0
- package/{.kiro → .agents}/skills/explain/SKILL.md +3 -0
- package/{.kiro → .agents}/skills/integrate/SKILL.md +3 -0
- package/{.kiro → .agents}/skills/motion-ui/SKILL.md +3 -0
- package/{.kiro → .agents}/skills/orchestrate/SKILL.md +3 -0
- package/{.kiro → .agents}/skills/plan/SKILL.md +3 -0
- package/{.kiro → .agents}/skills/preview/SKILL.md +3 -0
- package/{.kiro → .agents}/skills/status/SKILL.md +3 -0
- package/{.kiro → .agents}/skills/test/SKILL.md +3 -0
- package/{.kiro → .agents}/skills/ui-ux-pro-max/SKILL.md +3 -0
- package/.kiro/.skills-version +1 -0
- package/README.md +13 -2
- package/bin/cli.js +3 -0
- package/lib/skill-bundle.js +8 -3
- package/package.json +3 -1
- package/scripts/sync-all.js +20 -0
- package/skills/_scripts/.ai-memory-template.md +55 -0
- package/skills/_scripts/checklist.md +35 -0
- package/skills/_scripts/memory-compact.md +142 -0
- package/skills/_scripts/memory-dedupe.md +26 -0
- package/skills/_scripts/pre-deploy.md +42 -0
- package/skills/_scripts/verify-all.md +28 -0
- package/skills/agents/SKILL.md +88 -0
- package/skills/agents/agents/backend-specialist.md +29 -0
- package/skills/agents/agents/database-architect.md +28 -0
- package/skills/agents/agents/debugger.md +29 -0
- package/skills/agents/agents/devops-engineer.md +30 -0
- package/skills/agents/agents/documentation-writer.md +29 -0
- package/skills/agents/agents/frontend-specialist.md +30 -0
- package/skills/agents/agents/orchestrator.md +36 -0
- package/skills/agents/agents/performance-optimizer.md +29 -0
- package/skills/agents/agents/project-planner.md +30 -0
- package/skills/agents/agents/security-auditor.md +30 -0
- package/skills/agents/agents/test-engineer.md +29 -0
- package/skills/brainstorm/SKILL.md +69 -0
- package/skills/clean/SKILL.md +93 -0
- package/skills/create/SKILL.md +66 -0
- package/skills/debug/SKILL.md +77 -0
- package/skills/deploy/SKILL.md +69 -0
- package/skills/enhance/SKILL.md +61 -0
- package/skills/explain/SKILL.md +72 -0
- package/skills/instructions.md +95 -0
- package/skills/integrate/SKILL.md +53 -0
- package/skills/motion-ui/SKILL.md +495 -0
- package/skills/orchestrate/SKILL.md +76 -0
- package/skills/plan/SKILL.md +72 -0
- package/skills/preview/SKILL.md +58 -0
- package/skills/status/SKILL.md +60 -0
- package/skills/test/SKILL.md +61 -0
- package/skills/ui-ux-pro-max/SKILL.md +68 -0
- /package/{.kiro → .agents}/skills/_scripts/.ai-memory-template.md +0 -0
- /package/{.kiro → .agents}/skills/_scripts/checklist.md +0 -0
- /package/{.kiro → .agents}/skills/_scripts/memory-compact.md +0 -0
- /package/{.kiro → .agents}/skills/_scripts/memory-dedupe.md +0 -0
- /package/{.kiro → .agents}/skills/_scripts/pre-deploy.md +0 -0
- /package/{.kiro → .agents}/skills/_scripts/verify-all.md +0 -0
- /package/{.kiro → .agents}/skills/agents/agents/backend-specialist.md +0 -0
- /package/{.kiro → .agents}/skills/agents/agents/database-architect.md +0 -0
- /package/{.kiro → .agents}/skills/agents/agents/debugger.md +0 -0
- /package/{.kiro → .agents}/skills/agents/agents/devops-engineer.md +0 -0
- /package/{.kiro → .agents}/skills/agents/agents/documentation-writer.md +0 -0
- /package/{.kiro → .agents}/skills/agents/agents/frontend-specialist.md +0 -0
- /package/{.kiro → .agents}/skills/agents/agents/orchestrator.md +0 -0
- /package/{.kiro → .agents}/skills/agents/agents/performance-optimizer.md +0 -0
- /package/{.kiro → .agents}/skills/agents/agents/project-planner.md +0 -0
- /package/{.kiro → .agents}/skills/agents/agents/security-auditor.md +0 -0
- /package/{.kiro → .agents}/skills/agents/agents/test-engineer.md +0 -0
- /package/{.kiro → .agents}/skills/instructions.md +0 -0
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: status
|
|
3
|
+
description: "Project status summary, progress snapshots, repo overview, and outstanding work tracking. Use when the user wants to know where a project stands. Triggers: status, progress, overview, what's done, dự án đang ở đâu, tiến độ, tổng quan."
|
|
4
|
+
agents: [project-planner, orchestrator]
|
|
5
|
+
related-skills: [plan, debug, deploy]
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
## Memory Protocol
|
|
9
|
+
**START**: Read `.ai-memory.md` from project root. This is the PRIMARY source for status — check all recorded history, decisions, tasks, bugs, and milestones.
|
|
10
|
+
**END**: Update `.ai-memory.md` using **Memory Compaction Rules** with: status snapshot, what's working, gaps, risks, and priorities.
|
|
11
|
+
|
|
12
|
+
## Goal
|
|
13
|
+
Summarize where things stand right now, leveraging the memory file for deep context.
|
|
14
|
+
|
|
15
|
+
## Agent Routing
|
|
16
|
+
- For project health overview → read `.kiro/skills/agents/agents/project-planner.md` and apply its knowledge
|
|
17
|
+
- For multi-workstream status → read `.kiro/skills/agents/agents/orchestrator.md` and apply its knowledge
|
|
18
|
+
- For technical debt assessment → read the relevant specialist agent file based on domain
|
|
19
|
+
|
|
20
|
+
## Workflow
|
|
21
|
+
1. **Read Memory** — Load `.ai-memory.md` as the primary context source.
|
|
22
|
+
2. Inspect the repository, relevant files, and any recent context from the chat.
|
|
23
|
+
3. Summarize what already exists.
|
|
24
|
+
4. Identify gaps, risks, TODOs, and likely next priorities.
|
|
25
|
+
5. Present a concise health/status view.
|
|
26
|
+
6. **Update Memory** — Save current status snapshot to `.ai-memory.md`.
|
|
27
|
+
|
|
28
|
+
## Output format
|
|
29
|
+
- Current state (from memory + repo scan)
|
|
30
|
+
- What is working
|
|
31
|
+
- What is incomplete
|
|
32
|
+
- Risks or blockers
|
|
33
|
+
- Recent changes (from memory)
|
|
34
|
+
- Recommended next step
|
|
35
|
+
|
|
36
|
+
## Checklist
|
|
37
|
+
- [ ] Memory file read for historical context
|
|
38
|
+
- [ ] Repository scanned for current state
|
|
39
|
+
- [ ] Working features identified
|
|
40
|
+
- [ ] Gaps and incomplete items listed
|
|
41
|
+
- [ ] Risks or blockers flagged
|
|
42
|
+
- [ ] Next priority recommended
|
|
43
|
+
- [ ] Memory file updated with status snapshot
|
|
44
|
+
|
|
45
|
+
- [ ] Clean code chuẩn (Standard clean code applied)
|
|
46
|
+
- [ ] Cập nhật đầy đủ tất cả các file liên quan (All related files fully updated)
|
|
47
|
+
|
|
48
|
+
## Rules
|
|
49
|
+
- Be specific and evidence-based.
|
|
50
|
+
- Separate facts from inference.
|
|
51
|
+
- Do not recommend broad refactors without confirming scope; ASK if the fix would touch many areas.
|
|
52
|
+
- Always read and update the memory file.
|
|
53
|
+
|
|
54
|
+
## Quality Gate
|
|
55
|
+
After completing, read `.kiro/skills/_scripts/verify-all.md` for full project verification checklist.
|
|
56
|
+
|
|
57
|
+
## Related Skills
|
|
58
|
+
- `/plan` → read `.kiro/skills/plan/SKILL.md` — Create plan for incomplete items
|
|
59
|
+
- `/debug` → read `.kiro/skills/debug/SKILL.md` — Investigate flagged risks
|
|
60
|
+
- `/deploy` → read `.kiro/skills/deploy/SKILL.md` — Deploy when ready
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: test
|
|
3
|
+
description: "Write tests, improve coverage, define test strategy, and add validation. Use when the user wants to test code, add unit/integration/e2e tests, or check coverage. Triggers: test, coverage, jest, vitest, playwright, spec, kiểm thử, viết test."
|
|
4
|
+
agents: [test-engineer, debugger]
|
|
5
|
+
related-skills: [debug, create, enhance]
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
## Memory Protocol
|
|
9
|
+
**START**: Read `.ai-memory.md` from project root. Check test framework in use, existing test coverage, known failing tests, testing patterns, and CI/CD test configuration.
|
|
10
|
+
**END**: Update `.ai-memory.md` using **Memory Compaction Rules** with: tests changed, coverage deltas (if known), patterns established, and gaps.
|
|
11
|
+
|
|
12
|
+
## Goal
|
|
13
|
+
Improve confidence in the system through targeted testing.
|
|
14
|
+
|
|
15
|
+
## Agent Routing
|
|
16
|
+
- Primary → read `.kiro/skills/agents/agents/test-engineer.md` and apply its knowledge
|
|
17
|
+
- If testing reveals bugs → read `.kiro/skills/agents/agents/debugger.md` and apply its knowledge
|
|
18
|
+
- For E2E/integration tests with UI → read `.kiro/skills/agents/agents/frontend-specialist.md` and apply its knowledge
|
|
19
|
+
- For API/backend tests → read `.kiro/skills/agents/agents/backend-specialist.md` and apply its knowledge
|
|
20
|
+
- For security testing → read `.kiro/skills/agents/agents/security-auditor.md` and apply its knowledge
|
|
21
|
+
|
|
22
|
+
## Socratic Gate
|
|
23
|
+
Before writing tests, verify:
|
|
24
|
+
1. What is the test scope? (unit, integration, E2E, API?)
|
|
25
|
+
2. Does a test framework already exist in the project?
|
|
26
|
+
3. What are the critical paths that must be tested?
|
|
27
|
+
If any answer is unclear, ASK before proceeding.
|
|
28
|
+
|
|
29
|
+
## Workflow
|
|
30
|
+
1. **Read Memory** — Load `.ai-memory.md` for testing history and patterns.
|
|
31
|
+
2. Identify the unit, integration, API, UI, or regression scope.
|
|
32
|
+
3. Enumerate critical paths, edge cases, and failure modes.
|
|
33
|
+
4. Add or propose tests that cover the most important risks first.
|
|
34
|
+
5. Explain how to run the tests and what passing means.
|
|
35
|
+
6. **Quality Gate** — Read `.kiro/skills/_scripts/checklist.md` and run test suite after writing tests.
|
|
36
|
+
7. **Update Memory** — Save test details and coverage notes to `.ai-memory.md`.
|
|
37
|
+
|
|
38
|
+
## Checklist
|
|
39
|
+
- [ ] Test scope identified
|
|
40
|
+
- [ ] Test framework confirmed/proposed
|
|
41
|
+
- [ ] Critical paths covered
|
|
42
|
+
- [ ] Edge cases included
|
|
43
|
+
- [ ] Failure modes tested
|
|
44
|
+
- [ ] Tests are stable (not brittle)
|
|
45
|
+
- [ ] Run instructions provided
|
|
46
|
+
- [ ] Memory file updated
|
|
47
|
+
|
|
48
|
+
- [ ] Clean code chuẩn (Standard clean code applied)
|
|
49
|
+
- [ ] Cập nhật đầy đủ tất cả các file liên quan (All related files fully updated)
|
|
50
|
+
|
|
51
|
+
## Rules
|
|
52
|
+
- Prefer stable tests over brittle tests.
|
|
53
|
+
- Cover both happy path and key edge cases.
|
|
54
|
+
- If no test framework exists, propose the lightest practical option.
|
|
55
|
+
- Avoid changing unrelated production code; if tests require refactors, ASK before widening scope.
|
|
56
|
+
- Always read and update the memory file.
|
|
57
|
+
|
|
58
|
+
## Related Skills
|
|
59
|
+
- `/debug` → read `.kiro/skills/debug/SKILL.md` — Fix failing tests or bugs found
|
|
60
|
+
- `/create` → read `.kiro/skills/create/SKILL.md` — Create test fixtures or helpers
|
|
61
|
+
- `/enhance` → read `.kiro/skills/enhance/SKILL.md` — Improve test quality and coverage
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: ui-ux-pro-max
|
|
3
|
+
description: "Advanced UI/UX improvements — layout, design critique, copy refinement, interaction design, accessibility, and responsive patterns. Use when the user wants professional-grade UI/UX upgrades. Triggers: ui, ux, design, layout, responsive, giao diện, thiết kế, cải thiện UI."
|
|
4
|
+
agents: [frontend-specialist, performance-optimizer]
|
|
5
|
+
related-skills: [create, preview, enhance]
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
## Memory Protocol
|
|
9
|
+
**START**: Read `.ai-memory.md` from project root. Check design system, brand guidelines, component library, past UI decisions, accessibility notes, and responsive design patterns.
|
|
10
|
+
**END**: Update `.ai-memory.md` using **Memory Compaction Rules** with: UI/UX changes, patterns used, a11y improvements, and brand consistency notes.
|
|
11
|
+
|
|
12
|
+
## Goal
|
|
13
|
+
Upgrade the product experience with clear, practical UI/UX improvements.
|
|
14
|
+
|
|
15
|
+
## Agent Routing
|
|
16
|
+
- Primary → read `.kiro/skills/agents/agents/frontend-specialist.md` and apply its knowledge
|
|
17
|
+
- For performance of UI (load time, animations) → read `.kiro/skills/agents/agents/performance-optimizer.md` and apply its knowledge
|
|
18
|
+
- For accessibility compliance → apply WCAG knowledge from frontend-specialist
|
|
19
|
+
- For mobile responsiveness → apply mobile patterns from frontend-specialist
|
|
20
|
+
|
|
21
|
+
## Socratic Gate
|
|
22
|
+
Before improving UI/UX, verify:
|
|
23
|
+
1. What screen, flow, or component is being improved?
|
|
24
|
+
2. What is the current pain point? (visual, usability, accessibility, performance?)
|
|
25
|
+
3. Are there existing design guidelines or component library?
|
|
26
|
+
If any answer is unclear, ASK before proceeding.
|
|
27
|
+
|
|
28
|
+
## Workflow
|
|
29
|
+
1. **Read Memory** — Load `.ai-memory.md` for design history and UI patterns.
|
|
30
|
+
2. Identify the screen, flow, or component being improved.
|
|
31
|
+
3. Evaluate hierarchy, spacing, clarity, accessibility, states, feedback, and conversion friction.
|
|
32
|
+
4. Recommend concrete improvements with rationale.
|
|
33
|
+
5. When asked to implement, favor polished but maintainable UI.
|
|
34
|
+
6. **Quality Gate** — Read `.kiro/skills/_scripts/checklist.md` and verify all states and accessibility.
|
|
35
|
+
7. **Update Memory** — Save UI/UX decisions and patterns to `.ai-memory.md`.
|
|
36
|
+
|
|
37
|
+
## Output format
|
|
38
|
+
- UX issues found
|
|
39
|
+
- Visual issues found
|
|
40
|
+
- Recommended changes (prioritized)
|
|
41
|
+
- Accessibility notes (WCAG compliance)
|
|
42
|
+
- Implementation priorities
|
|
43
|
+
- Component states covered (empty, loading, error, success)
|
|
44
|
+
|
|
45
|
+
## Checklist
|
|
46
|
+
- [ ] Target screen/component identified
|
|
47
|
+
- [ ] Hierarchy and spacing evaluated
|
|
48
|
+
- [ ] Accessibility checked (WCAG)
|
|
49
|
+
- [ ] All states covered (empty, loading, error, success)
|
|
50
|
+
- [ ] Mobile responsiveness considered
|
|
51
|
+
- [ ] Performance impact assessed
|
|
52
|
+
- [ ] Brand consistency maintained
|
|
53
|
+
- [ ] Memory file updated
|
|
54
|
+
|
|
55
|
+
- [ ] Clean code chuẩn (Standard clean code applied)
|
|
56
|
+
- [ ] Cập nhật đầy đủ tất cả các file liên quan (All related files fully updated)
|
|
57
|
+
|
|
58
|
+
## Rules
|
|
59
|
+
- Optimize for clarity before decoration.
|
|
60
|
+
- Respect existing brand and component patterns when present.
|
|
61
|
+
- Include empty, loading, error, and success states when relevant.
|
|
62
|
+
- Avoid widespread redesigns unless asked; prioritize small, safe diffs and ASK before large UI rewrites.
|
|
63
|
+
- Always read and update the memory file.
|
|
64
|
+
|
|
65
|
+
## Related Skills
|
|
66
|
+
- `/create` → read `.kiro/skills/create/SKILL.md` — Implement UI components
|
|
67
|
+
- `/preview` → read `.kiro/skills/preview/SKILL.md` — Preview design before implementation
|
|
68
|
+
- `/enhance` → read `.kiro/skills/enhance/SKILL.md` — Improve existing UI code
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|