@votruongdanh/ai-agent-skills 3.2.1 → 3.3.2
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/.kiro/skills/_scripts/.ai-memory-template.md +55 -55
- package/.kiro/skills/_scripts/checklist.md +35 -34
- package/.kiro/skills/_scripts/memory-compact.md +142 -0
- package/.kiro/skills/_scripts/memory-dedupe.md +26 -26
- package/.kiro/skills/_scripts/pre-deploy.md +42 -42
- package/.kiro/skills/_scripts/verify-all.md +28 -28
- package/.kiro/skills/agents/SKILL.md +85 -85
- package/.kiro/skills/agents/agents/backend-specialist.md +29 -29
- package/.kiro/skills/agents/agents/database-architect.md +28 -28
- package/.kiro/skills/agents/agents/debugger.md +29 -29
- package/.kiro/skills/agents/agents/devops-engineer.md +30 -30
- package/.kiro/skills/agents/agents/documentation-writer.md +29 -29
- package/.kiro/skills/agents/agents/frontend-specialist.md +30 -30
- package/.kiro/skills/agents/agents/orchestrator.md +36 -36
- package/.kiro/skills/agents/agents/performance-optimizer.md +29 -29
- package/.kiro/skills/agents/agents/project-planner.md +30 -30
- package/.kiro/skills/agents/agents/security-auditor.md +30 -30
- package/.kiro/skills/agents/agents/test-engineer.md +29 -29
- package/.kiro/skills/brainstorm/SKILL.md +66 -66
- package/.kiro/skills/clean/SKILL.md +90 -90
- package/.kiro/skills/create/SKILL.md +63 -63
- package/.kiro/skills/debug/SKILL.md +71 -71
- package/.kiro/skills/deploy/SKILL.md +66 -66
- package/.kiro/skills/enhance/SKILL.md +58 -58
- package/.kiro/skills/explain/SKILL.md +69 -69
- package/.kiro/skills/instructions.md +95 -93
- package/.kiro/skills/integrate/SKILL.md +50 -50
- package/.kiro/skills/motion-ui/SKILL.md +492 -0
- package/.kiro/skills/orchestrate/SKILL.md +73 -73
- package/.kiro/skills/plan/SKILL.md +69 -69
- package/.kiro/skills/preview/SKILL.md +55 -55
- package/.kiro/skills/status/SKILL.md +57 -57
- package/.kiro/skills/test/SKILL.md +58 -58
- package/.kiro/skills/ui-ux-pro-max/SKILL.md +65 -65
- package/LICENSE +21 -21
- package/README.md +212 -208
- package/bin/cli.js +876 -876
- package/bin/install-skills.ps1 +30 -30
- package/index.js +23 -23
- package/lib/skill-bundle.js +741 -725
- package/package.json +62 -62
- package/scripts/render-targets.js +22 -22
|
@@ -1,55 +1,55 @@
|
|
|
1
|
-
# Project Memory
|
|
2
|
-
|
|
3
|
-
> This file is automatically maintained by AI Agent Skills.
|
|
4
|
-
> It persists project understanding across conversations.
|
|
5
|
-
> **Do NOT delete this file** — it helps AI give better, context-aware responses.
|
|
6
|
-
|
|
7
|
-
## Codex Memory Structure (when available)
|
|
8
|
-
- If the workspace has `memories/`, use it alongside this file.
|
|
9
|
-
- `memories/` = persistent user-level notes.
|
|
10
|
-
- `memories/session/` = temporary notes for current conversation.
|
|
11
|
-
- `memories/repo/` = repository-scoped technical facts and conventions.
|
|
12
|
-
- Keep `.ai-memory.md` as the cross-IDE source of truth; mirror only high-signal repo facts into `memories/repo/`.
|
|
13
|
-
|
|
14
|
-
## Memory Compaction Rules (IMPORTANT)
|
|
15
|
-
- **Write style**: concise bullets, no paragraphs. Prefer numbers, filenames, and nouns over prose.
|
|
16
|
-
- **No duplication**: if a new note repeats an existing one, update the existing bullet instead of appending.
|
|
17
|
-
- **Deduping rule (anti-duplicate)**:
|
|
18
|
-
- Before writing, **scan the target section** for a similar bullet.
|
|
19
|
-
- Consider bullets “similar” if they match after: lowercasing + trimming + collapsing whitespace + removing trailing punctuation.
|
|
20
|
-
- If similar: **merge into 1 bullet** (keep the most specific wording, add missing file paths/IDs).
|
|
21
|
-
- Never keep 2 bullets that describe the same decision/issue/work item.
|
|
22
|
-
- **Hard limits**:
|
|
23
|
-
- Tech Stack: max 6 bullets
|
|
24
|
-
- Architecture: max 8 bullets
|
|
25
|
-
- Conventions: max 8 bullets
|
|
26
|
-
- Decisions: keep last 12 items
|
|
27
|
-
- Known Issues: keep last 20 items (closed issues can be removed once stable)
|
|
28
|
-
- Recent Work: keep last 15 items
|
|
29
|
-
- **Per bullet**: aim ≤ 140 characters. If longer, split into 2 bullets.
|
|
30
|
-
- **Always include**: files touched (paths), and why (1 short phrase).
|
|
31
|
-
|
|
32
|
-
## Tech Stack
|
|
33
|
-
- Language: (auto-detected on first use)
|
|
34
|
-
- Framework: (auto-detected on first use)
|
|
35
|
-
- Database: (if any)
|
|
36
|
-
- Package manager: (auto-detected)
|
|
37
|
-
|
|
38
|
-
## Architecture
|
|
39
|
-
- Pattern: (discovered)
|
|
40
|
-
- Key directories: (discovered)
|
|
41
|
-
- Entry points: (discovered)
|
|
42
|
-
|
|
43
|
-
## Conventions
|
|
44
|
-
- Naming: (observed from codebase)
|
|
45
|
-
- File structure: (observed)
|
|
46
|
-
- Testing: (framework + patterns observed)
|
|
47
|
-
|
|
48
|
-
## Decisions
|
|
49
|
-
<!-- Format: - [YYYY-MM-DD] Decision description and rationale -->
|
|
50
|
-
|
|
51
|
-
## Known Issues
|
|
52
|
-
<!-- Format: - [status] Issue description -->
|
|
53
|
-
|
|
54
|
-
## Recent Work
|
|
55
|
-
<!-- Format: - [YYYY-MM-DD] What was done, files changed, outcome -->
|
|
1
|
+
# Project Memory
|
|
2
|
+
|
|
3
|
+
> This file is automatically maintained by AI Agent Skills.
|
|
4
|
+
> It persists project understanding across conversations.
|
|
5
|
+
> **Do NOT delete this file** — it helps AI give better, context-aware responses.
|
|
6
|
+
|
|
7
|
+
## Codex Memory Structure (when available)
|
|
8
|
+
- If the workspace has `memories/`, use it alongside this file.
|
|
9
|
+
- `memories/` = persistent user-level notes.
|
|
10
|
+
- `memories/session/` = temporary notes for current conversation.
|
|
11
|
+
- `memories/repo/` = repository-scoped technical facts and conventions.
|
|
12
|
+
- Keep `.ai-memory.md` as the cross-IDE source of truth; mirror only high-signal repo facts into `memories/repo/`.
|
|
13
|
+
|
|
14
|
+
## Memory Compaction Rules (IMPORTANT)
|
|
15
|
+
- **Write style**: concise bullets, no paragraphs. Prefer numbers, filenames, and nouns over prose.
|
|
16
|
+
- **No duplication**: if a new note repeats an existing one, update the existing bullet instead of appending.
|
|
17
|
+
- **Deduping rule (anti-duplicate)**:
|
|
18
|
+
- Before writing, **scan the target section** for a similar bullet.
|
|
19
|
+
- Consider bullets “similar” if they match after: lowercasing + trimming + collapsing whitespace + removing trailing punctuation.
|
|
20
|
+
- If similar: **merge into 1 bullet** (keep the most specific wording, add missing file paths/IDs).
|
|
21
|
+
- Never keep 2 bullets that describe the same decision/issue/work item.
|
|
22
|
+
- **Hard limits**:
|
|
23
|
+
- Tech Stack: max 6 bullets
|
|
24
|
+
- Architecture: max 8 bullets
|
|
25
|
+
- Conventions: max 8 bullets
|
|
26
|
+
- Decisions: keep last 12 items
|
|
27
|
+
- Known Issues: keep last 20 items (closed issues can be removed once stable)
|
|
28
|
+
- Recent Work: keep last 15 items
|
|
29
|
+
- **Per bullet**: aim ≤ 140 characters. If longer, split into 2 bullets.
|
|
30
|
+
- **Always include**: files touched (paths), and why (1 short phrase).
|
|
31
|
+
|
|
32
|
+
## Tech Stack
|
|
33
|
+
- Language: (auto-detected on first use)
|
|
34
|
+
- Framework: (auto-detected on first use)
|
|
35
|
+
- Database: (if any)
|
|
36
|
+
- Package manager: (auto-detected)
|
|
37
|
+
|
|
38
|
+
## Architecture
|
|
39
|
+
- Pattern: (discovered)
|
|
40
|
+
- Key directories: (discovered)
|
|
41
|
+
- Entry points: (discovered)
|
|
42
|
+
|
|
43
|
+
## Conventions
|
|
44
|
+
- Naming: (observed from codebase)
|
|
45
|
+
- File structure: (observed)
|
|
46
|
+
- Testing: (framework + patterns observed)
|
|
47
|
+
|
|
48
|
+
## Decisions
|
|
49
|
+
<!-- Format: - [YYYY-MM-DD] Decision description and rationale -->
|
|
50
|
+
|
|
51
|
+
## Known Issues
|
|
52
|
+
<!-- Format: - [status] Issue description -->
|
|
53
|
+
|
|
54
|
+
## Recent Work
|
|
55
|
+
<!-- Format: - [YYYY-MM-DD] What was done, files changed, outcome -->
|
|
@@ -1,34 +1,35 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: checklist
|
|
3
|
-
description: Reusable pre/post checklists for any skill execution
|
|
4
|
-
---
|
|
5
|
-
|
|
6
|
-
## Pre-Execution Checklist (Run before ANY skill)
|
|
7
|
-
- [ ] Read `.ai-memory.md` from project root
|
|
8
|
-
- [ ] Understand user intent (ask if unclear)
|
|
9
|
-
- [ ] Check if similar work was done before (from memory)
|
|
10
|
-
- [ ] Identify the correct agent for the domain
|
|
11
|
-
- [ ] Minimize blast radius: identify the smallest set of files that must change
|
|
12
|
-
- [ ] If any step is uncertain or could cause broad changes, ask before editing
|
|
13
|
-
|
|
14
|
-
## Post-Execution Checklist (Run after ANY skill)
|
|
15
|
-
- [ ] All checklist items from the skill are satisfied
|
|
16
|
-
- [ ] No regressions introduced
|
|
17
|
-
- [ ] Code follows existing project conventions
|
|
18
|
-
- [ ] Update `.ai-memory.md` with findings (follow
|
|
19
|
-
- [ ] Dedupe `.ai-memory.md` updates: merge similar bullets instead of appending duplicates
|
|
20
|
-
- [ ]
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
- [ ]
|
|
25
|
-
- [ ]
|
|
26
|
-
- [ ]
|
|
27
|
-
- [ ]
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
- [ ] No
|
|
32
|
-
- [ ] No
|
|
33
|
-
- [ ]
|
|
34
|
-
- [ ]
|
|
1
|
+
---
|
|
2
|
+
name: checklist
|
|
3
|
+
description: Reusable pre/post checklists for any skill execution
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
## Pre-Execution Checklist (Run before ANY skill)
|
|
7
|
+
- [ ] Read `.ai-memory.md` from project root
|
|
8
|
+
- [ ] Understand user intent (ask if unclear)
|
|
9
|
+
- [ ] Check if similar work was done before (from memory)
|
|
10
|
+
- [ ] Identify the correct agent for the domain
|
|
11
|
+
- [ ] Minimize blast radius: identify the smallest set of files that must change
|
|
12
|
+
- [ ] If any step is uncertain or could cause broad changes, ask before editing
|
|
13
|
+
|
|
14
|
+
## Post-Execution Checklist (Run after ANY skill)
|
|
15
|
+
- [ ] All checklist items from the skill are satisfied
|
|
16
|
+
- [ ] No regressions introduced
|
|
17
|
+
- [ ] Code follows existing project conventions
|
|
18
|
+
- [ ] Update `.ai-memory.md` with findings (follow "Memory Compaction Rules")
|
|
19
|
+
- [ ] Dedupe `.ai-memory.md` updates: merge similar bullets instead of appending duplicates
|
|
20
|
+
- [ ] If `.ai-memory.md` exceeds 500 lines or sections exceed limits, compact it (see `.kiro/skills/_scripts/memory-compact.md`)
|
|
21
|
+
- [ ] Suggest related next steps
|
|
22
|
+
|
|
23
|
+
## Code Quality Checklist
|
|
24
|
+
- [ ] No hardcoded secrets or credentials
|
|
25
|
+
- [ ] Error handling at system boundaries
|
|
26
|
+
- [ ] Input validation for user-facing code
|
|
27
|
+
- [ ] Existing tests still pass
|
|
28
|
+
- [ ] New code is covered by tests (if test framework exists)
|
|
29
|
+
|
|
30
|
+
## Security Checklist
|
|
31
|
+
- [ ] No SQL injection vectors
|
|
32
|
+
- [ ] No XSS vulnerabilities
|
|
33
|
+
- [ ] No exposed secrets in code or logs
|
|
34
|
+
- [ ] Dependencies are up to date
|
|
35
|
+
- [ ] Access controls are appropriate
|
|
@@ -0,0 +1,142 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: memory-compact
|
|
3
|
+
description: Procedure to compact `.ai-memory.md` when it grows too long
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
## When to compact
|
|
7
|
+
Run this procedure when `.ai-memory.md` exceeds **500 lines** or when you notice:
|
|
8
|
+
- Duplicate or near-duplicate bullets
|
|
9
|
+
- Outdated information (old decisions, resolved issues, ancient work items)
|
|
10
|
+
- Verbose bullets that could be shortened
|
|
11
|
+
- Sections exceeding their hard limits (see Memory Compaction Rules)
|
|
12
|
+
|
|
13
|
+
## Compaction procedure
|
|
14
|
+
|
|
15
|
+
### 1. Check section limits (from `.ai-memory-template.md`)
|
|
16
|
+
- **Tech Stack**: max 6 bullets
|
|
17
|
+
- **Architecture**: max 8 bullets
|
|
18
|
+
- **Conventions**: max 8 bullets
|
|
19
|
+
- **Decisions**: keep last 12 items
|
|
20
|
+
- **Known Issues**: keep last 20 items (remove resolved/closed)
|
|
21
|
+
- **Recent Work**: keep last 15 items
|
|
22
|
+
|
|
23
|
+
### 2. Dedupe within each section
|
|
24
|
+
For each section:
|
|
25
|
+
1. Read all bullets
|
|
26
|
+
2. Group similar bullets (same topic, same file, same decision)
|
|
27
|
+
3. Merge groups into single bullets:
|
|
28
|
+
- Keep most specific wording
|
|
29
|
+
- Preserve all file paths, dates, IDs
|
|
30
|
+
- Remove redundant phrases
|
|
31
|
+
|
|
32
|
+
**Example:**
|
|
33
|
+
```markdown
|
|
34
|
+
Before:
|
|
35
|
+
- [2024-01-15] Added auth middleware to protect routes
|
|
36
|
+
- [2024-01-16] Implemented authentication middleware in src/middleware/auth.js
|
|
37
|
+
- Auth middleware added for route protection
|
|
38
|
+
|
|
39
|
+
After:
|
|
40
|
+
- [2024-01-15] Added auth middleware (src/middleware/auth.js) to protect routes
|
|
41
|
+
```
|
|
42
|
+
|
|
43
|
+
### 3. Remove outdated items
|
|
44
|
+
- **Decisions**: Keep only decisions still relevant to current architecture
|
|
45
|
+
- **Known Issues**: Remove resolved/closed issues older than 30 days
|
|
46
|
+
- **Recent Work**: Keep only last 15 items (remove older)
|
|
47
|
+
|
|
48
|
+
### 4. Shorten verbose bullets
|
|
49
|
+
Target: ≤ 140 characters per bullet
|
|
50
|
+
|
|
51
|
+
**Techniques:**
|
|
52
|
+
- Remove filler words: "basically", "essentially", "in order to"
|
|
53
|
+
- Use abbreviations: "impl" for "implemented", "cfg" for "config"
|
|
54
|
+
- Use file paths instead of descriptions: `src/auth.js` not "the authentication file"
|
|
55
|
+
- Use symbols: `+` for "added", `~` for "updated", `-` for "removed"
|
|
56
|
+
|
|
57
|
+
**Example:**
|
|
58
|
+
```markdown
|
|
59
|
+
Before:
|
|
60
|
+
- [2024-01-15] We implemented a new authentication system that uses JWT tokens for user sessions in the backend API
|
|
61
|
+
|
|
62
|
+
After:
|
|
63
|
+
- [2024-01-15] + JWT auth system (src/api/auth.js) for user sessions
|
|
64
|
+
```
|
|
65
|
+
|
|
66
|
+
### 5. Enforce hard limits
|
|
67
|
+
If a section still exceeds limits after deduping and shortening:
|
|
68
|
+
- **Decisions**: Keep last 12, archive older ones in a comment
|
|
69
|
+
- **Known Issues**: Keep last 20, remove oldest resolved
|
|
70
|
+
- **Recent Work**: Keep last 15, remove oldest
|
|
71
|
+
|
|
72
|
+
**Archive pattern:**
|
|
73
|
+
```markdown
|
|
74
|
+
## Decisions
|
|
75
|
+
- [2024-03-01] Current decision 1
|
|
76
|
+
- [2024-02-28] Current decision 2
|
|
77
|
+
...
|
|
78
|
+
|
|
79
|
+
<!-- Archived decisions (for reference):
|
|
80
|
+
- [2024-01-15] Old decision that's no longer relevant
|
|
81
|
+
-->
|
|
82
|
+
```
|
|
83
|
+
|
|
84
|
+
### 6. Verify compaction
|
|
85
|
+
After compacting:
|
|
86
|
+
- [ ] No section exceeds hard limits
|
|
87
|
+
- [ ] No duplicate bullets
|
|
88
|
+
- [ ] All bullets ≤ 140 characters (or split into 2)
|
|
89
|
+
- [ ] File paths preserved
|
|
90
|
+
- [ ] Dates preserved
|
|
91
|
+
- [ ] Recent/important info retained
|
|
92
|
+
|
|
93
|
+
## Quick compaction (when in a hurry)
|
|
94
|
+
If you need to compact quickly:
|
|
95
|
+
1. **Recent Work**: Keep last 15, delete rest
|
|
96
|
+
2. **Known Issues**: Remove all resolved/closed, keep last 20
|
|
97
|
+
3. **Decisions**: Keep last 12
|
|
98
|
+
4. Run dedupe on remaining bullets (merge similar ones)
|
|
99
|
+
|
|
100
|
+
## Automation tip
|
|
101
|
+
When updating memory, always:
|
|
102
|
+
1. Check if section is at limit BEFORE adding
|
|
103
|
+
2. If at limit, remove oldest item OR merge with existing
|
|
104
|
+
3. Never append if it creates a duplicate
|
|
105
|
+
|
|
106
|
+
## Example: Full compaction
|
|
107
|
+
|
|
108
|
+
**Before (verbose, duplicates, over limits):**
|
|
109
|
+
```markdown
|
|
110
|
+
## Recent Work
|
|
111
|
+
- [2024-01-10] Added login page
|
|
112
|
+
- [2024-01-11] Created login component
|
|
113
|
+
- [2024-01-12] Implemented login functionality
|
|
114
|
+
- [2024-01-13] Fixed login bug
|
|
115
|
+
- [2024-01-14] Updated login styles
|
|
116
|
+
- [2024-01-15] Added logout button
|
|
117
|
+
- [2024-01-16] Implemented logout functionality
|
|
118
|
+
- [2024-01-17] Fixed logout bug
|
|
119
|
+
- [2024-01-18] Added user profile page
|
|
120
|
+
- [2024-01-19] Created user profile component
|
|
121
|
+
- [2024-01-20] Implemented profile edit
|
|
122
|
+
- [2024-01-21] Fixed profile bug
|
|
123
|
+
- [2024-01-22] Added settings page
|
|
124
|
+
- [2024-01-23] Created settings component
|
|
125
|
+
- [2024-01-24] Implemented settings save
|
|
126
|
+
- [2024-01-25] Fixed settings bug
|
|
127
|
+
- [2024-01-26] Added dashboard
|
|
128
|
+
- [2024-01-27] Created dashboard component
|
|
129
|
+
```
|
|
130
|
+
|
|
131
|
+
**After (compact, deduped, within limits):**
|
|
132
|
+
```markdown
|
|
133
|
+
## Recent Work
|
|
134
|
+
- [2024-01-27] + Dashboard (src/pages/Dashboard.jsx)
|
|
135
|
+
- [2024-01-26] + Settings page (src/pages/Settings.jsx) with save functionality
|
|
136
|
+
- [2024-01-22] + User profile page (src/pages/Profile.jsx) with edit feature
|
|
137
|
+
- [2024-01-15] + Login/logout (src/pages/Login.jsx, src/components/LogoutBtn.jsx)
|
|
138
|
+
```
|
|
139
|
+
|
|
140
|
+
## Related
|
|
141
|
+
- Read `.kiro/skills/_scripts/.ai-memory-template.md` for Memory Compaction Rules
|
|
142
|
+
- Read `.kiro/skills/_scripts/memory-dedupe.md` for dedupe procedure
|
|
@@ -1,26 +1,26 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: memory-dedupe
|
|
3
|
-
description: Lightweight dedupe procedure for `.ai-memory.md` updates
|
|
4
|
-
---
|
|
5
|
-
|
|
6
|
-
## When to use
|
|
7
|
-
Run mentally for every memory update, especially when adding items to **Decisions**, **Known Issues**, or **Recent Work**.
|
|
8
|
-
|
|
9
|
-
## Dedupe procedure (fast)
|
|
10
|
-
1. Pick the **target section** (Decisions / Known Issues / Recent Work / etc.).
|
|
11
|
-
2. Before adding a new bullet, scan existing bullets for a near-match.
|
|
12
|
-
3. Normalize both bullets and compare:
|
|
13
|
-
- lowercase
|
|
14
|
-
- trim
|
|
15
|
-
- collapse whitespace
|
|
16
|
-
- remove trailing punctuation (`.`, `;`, `,`)
|
|
17
|
-
4. If it’s the same idea:
|
|
18
|
-
- **merge** into the existing bullet
|
|
19
|
-
- keep the most concrete version (file paths, error codes, IDs, dates)
|
|
20
|
-
- remove the redundant one
|
|
21
|
-
5. Only append a new bullet if it’s clearly a new fact/event/decision.
|
|
22
|
-
|
|
23
|
-
## Examples
|
|
24
|
-
- Two bullets both say “Added auth middleware” → keep one, add the specific files touched.
|
|
25
|
-
- “Fix login bug” and “Fixed login issue” → merge into one with the root cause or PR/files.
|
|
26
|
-
|
|
1
|
+
---
|
|
2
|
+
name: memory-dedupe
|
|
3
|
+
description: Lightweight dedupe procedure for `.ai-memory.md` updates
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
## When to use
|
|
7
|
+
Run mentally for every memory update, especially when adding items to **Decisions**, **Known Issues**, or **Recent Work**.
|
|
8
|
+
|
|
9
|
+
## Dedupe procedure (fast)
|
|
10
|
+
1. Pick the **target section** (Decisions / Known Issues / Recent Work / etc.).
|
|
11
|
+
2. Before adding a new bullet, scan existing bullets for a near-match.
|
|
12
|
+
3. Normalize both bullets and compare:
|
|
13
|
+
- lowercase
|
|
14
|
+
- trim
|
|
15
|
+
- collapse whitespace
|
|
16
|
+
- remove trailing punctuation (`.`, `;`, `,`)
|
|
17
|
+
4. If it’s the same idea:
|
|
18
|
+
- **merge** into the existing bullet
|
|
19
|
+
- keep the most concrete version (file paths, error codes, IDs, dates)
|
|
20
|
+
- remove the redundant one
|
|
21
|
+
5. Only append a new bullet if it’s clearly a new fact/event/decision.
|
|
22
|
+
|
|
23
|
+
## Examples
|
|
24
|
+
- Two bullets both say “Added auth middleware” → keep one, add the specific files touched.
|
|
25
|
+
- “Fix login bug” and “Fixed login issue” → merge into one with the root cause or PR/files.
|
|
26
|
+
|
|
@@ -1,42 +1,42 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: pre-deploy
|
|
3
|
-
description: Pre-deployment verification checklist
|
|
4
|
-
---
|
|
5
|
-
|
|
6
|
-
## Pre-Deploy Checklist
|
|
7
|
-
|
|
8
|
-
### Code Readiness
|
|
9
|
-
- [ ] All tests pass
|
|
10
|
-
- [ ] No lint errors
|
|
11
|
-
- [ ] Build succeeds
|
|
12
|
-
- [ ] No TODO/FIXME in critical paths
|
|
13
|
-
- [ ] Version number updated (package.json, CHANGELOG)
|
|
14
|
-
|
|
15
|
-
### Security
|
|
16
|
-
- [ ] No secrets in source code
|
|
17
|
-
- [ ] Environment variables documented
|
|
18
|
-
- [ ] Dependencies audited (`npm audit`)
|
|
19
|
-
- [ ] No known critical vulnerabilities
|
|
20
|
-
|
|
21
|
-
### Configuration
|
|
22
|
-
- [ ] Environment config is correct for target
|
|
23
|
-
- [ ] Database migrations are ready (if applicable)
|
|
24
|
-
- [ ] API keys and secrets are in environment, not code
|
|
25
|
-
- [ ] Feature flags set appropriately
|
|
26
|
-
|
|
27
|
-
### Documentation
|
|
28
|
-
- [ ] CHANGELOG updated
|
|
29
|
-
- [ ] README reflects current state
|
|
30
|
-
- [ ] API docs updated (if applicable)
|
|
31
|
-
- [ ] Deployment instructions are current
|
|
32
|
-
|
|
33
|
-
### Rollback Plan
|
|
34
|
-
- [ ] Previous version tagged
|
|
35
|
-
- [ ] Rollback procedure documented
|
|
36
|
-
- [ ] Database rollback scripts ready (if applicable)
|
|
37
|
-
- [ ] Monitoring alerts configured
|
|
38
|
-
|
|
39
|
-
## After Deploy
|
|
40
|
-
- [ ] Smoke tests pass
|
|
41
|
-
- [ ] Monitoring shows healthy metrics
|
|
42
|
-
- [ ] Update `.ai-memory.md` with deploy details
|
|
1
|
+
---
|
|
2
|
+
name: pre-deploy
|
|
3
|
+
description: Pre-deployment verification checklist
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
## Pre-Deploy Checklist
|
|
7
|
+
|
|
8
|
+
### Code Readiness
|
|
9
|
+
- [ ] All tests pass
|
|
10
|
+
- [ ] No lint errors
|
|
11
|
+
- [ ] Build succeeds
|
|
12
|
+
- [ ] No TODO/FIXME in critical paths
|
|
13
|
+
- [ ] Version number updated (package.json, CHANGELOG)
|
|
14
|
+
|
|
15
|
+
### Security
|
|
16
|
+
- [ ] No secrets in source code
|
|
17
|
+
- [ ] Environment variables documented
|
|
18
|
+
- [ ] Dependencies audited (`npm audit`)
|
|
19
|
+
- [ ] No known critical vulnerabilities
|
|
20
|
+
|
|
21
|
+
### Configuration
|
|
22
|
+
- [ ] Environment config is correct for target
|
|
23
|
+
- [ ] Database migrations are ready (if applicable)
|
|
24
|
+
- [ ] API keys and secrets are in environment, not code
|
|
25
|
+
- [ ] Feature flags set appropriately
|
|
26
|
+
|
|
27
|
+
### Documentation
|
|
28
|
+
- [ ] CHANGELOG updated
|
|
29
|
+
- [ ] README reflects current state
|
|
30
|
+
- [ ] API docs updated (if applicable)
|
|
31
|
+
- [ ] Deployment instructions are current
|
|
32
|
+
|
|
33
|
+
### Rollback Plan
|
|
34
|
+
- [ ] Previous version tagged
|
|
35
|
+
- [ ] Rollback procedure documented
|
|
36
|
+
- [ ] Database rollback scripts ready (if applicable)
|
|
37
|
+
- [ ] Monitoring alerts configured
|
|
38
|
+
|
|
39
|
+
## After Deploy
|
|
40
|
+
- [ ] Smoke tests pass
|
|
41
|
+
- [ ] Monitoring shows healthy metrics
|
|
42
|
+
- [ ] Update `.ai-memory.md` with deploy details
|
|
@@ -1,28 +1,28 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: verify-all
|
|
3
|
-
description: Full verification pass — run all checks across the project
|
|
4
|
-
---
|
|
5
|
-
|
|
6
|
-
## Steps
|
|
7
|
-
1. **Read Memory** — Load `.ai-memory.md` for known issues
|
|
8
|
-
2. **Structure Check** — Verify project structure matches expectations
|
|
9
|
-
3. **Dependency Check** — Are all dependencies installed and up to date?
|
|
10
|
-
4. **Lint/Format Check** — Does code pass linting and formatting rules?
|
|
11
|
-
5. **Test Check** — Do all existing tests pass?
|
|
12
|
-
6. **Build Check** — Does the project build successfully?
|
|
13
|
-
7. **Security Check** — Run security audit (npm audit, etc.)
|
|
14
|
-
8. **Documentation Check** — Are README and docs up to date?
|
|
15
|
-
9. **Git Check** — Any uncommitted changes? Branch is clean?
|
|
16
|
-
10. **Report** — Summarize findings with pass/fail for each check
|
|
17
|
-
|
|
18
|
-
## Output Format
|
|
19
|
-
```
|
|
20
|
-
✅ Structure — OK
|
|
21
|
-
✅ Dependencies — OK
|
|
22
|
-
⚠️ Lint — 3 warnings
|
|
23
|
-
❌ Tests — 1 failure in test/auth.test.js
|
|
24
|
-
✅ Build — OK
|
|
25
|
-
⚠️ Security — 2 moderate vulnerabilities
|
|
26
|
-
✅ Docs — OK
|
|
27
|
-
✅ Git — Clean
|
|
28
|
-
```
|
|
1
|
+
---
|
|
2
|
+
name: verify-all
|
|
3
|
+
description: Full verification pass — run all checks across the project
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
## Steps
|
|
7
|
+
1. **Read Memory** — Load `.ai-memory.md` for known issues
|
|
8
|
+
2. **Structure Check** — Verify project structure matches expectations
|
|
9
|
+
3. **Dependency Check** — Are all dependencies installed and up to date?
|
|
10
|
+
4. **Lint/Format Check** — Does code pass linting and formatting rules?
|
|
11
|
+
5. **Test Check** — Do all existing tests pass?
|
|
12
|
+
6. **Build Check** — Does the project build successfully?
|
|
13
|
+
7. **Security Check** — Run security audit (npm audit, etc.)
|
|
14
|
+
8. **Documentation Check** — Are README and docs up to date?
|
|
15
|
+
9. **Git Check** — Any uncommitted changes? Branch is clean?
|
|
16
|
+
10. **Report** — Summarize findings with pass/fail for each check
|
|
17
|
+
|
|
18
|
+
## Output Format
|
|
19
|
+
```
|
|
20
|
+
✅ Structure — OK
|
|
21
|
+
✅ Dependencies — OK
|
|
22
|
+
⚠️ Lint — 3 warnings
|
|
23
|
+
❌ Tests — 1 failure in test/auth.test.js
|
|
24
|
+
✅ Build — OK
|
|
25
|
+
⚠️ Security — 2 moderate vulnerabilities
|
|
26
|
+
✅ Docs — OK
|
|
27
|
+
✅ Git — Clean
|
|
28
|
+
```
|