anchi-kit 1.2.7 โ 1.2.9
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/.agent/workflows/add.md +9 -0
- package/.agent/workflows/analytics.md +9 -0
- package/.agent/workflows/analyze.md +9 -0
- package/.agent/workflows/audit.md +9 -0
- package/.agent/workflows/brain.md +9 -0
- package/.agent/workflows/clean.md +59 -0
- package/.agent/workflows/commit.md +58 -0
- package/.agent/workflows/dashboard.md +9 -0
- package/.agent/workflows/do.md +53 -0
- package/.agent/workflows/doctor.md +9 -0
- package/.agent/workflows/help.md +90 -0
- package/.agent/workflows/learn.md +9 -0
- package/.agent/workflows/memory.md +9 -0
- package/.agent/workflows/patterns.md +9 -0
- package/.agent/workflows/scout.md +78 -0
- package/.agent/workflows/start.md +23 -0
- package/.agent/workflows/team.md +9 -0
- package/.agent/workflows/test.md +42 -0
- package/.agent/workflows/tui.md +9 -0
- package/.agent/workflows/uninstall.md +9 -0
- package/.agent/workflows/update.md +9 -0
- package/.cursor/agents/security-auditor.md +42 -0
- package/package.json +2 -1
- package/src/commands/init.js +10 -0
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: ๐งน Clean up memory, logs, or reset context
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
# /clean Workflow for Antigravity
|
|
6
|
+
|
|
7
|
+
Reset AI context and clean up temporary files.
|
|
8
|
+
|
|
9
|
+
## Usage
|
|
10
|
+
|
|
11
|
+
```
|
|
12
|
+
/clean # Basic context reset
|
|
13
|
+
/clean --memory # Clear AI memory
|
|
14
|
+
/clean --audit # Clear audit logs
|
|
15
|
+
/clean --all # Full cleanup
|
|
16
|
+
```
|
|
17
|
+
|
|
18
|
+
## Execution Flow
|
|
19
|
+
|
|
20
|
+
// turbo-all
|
|
21
|
+
|
|
22
|
+
1. Read @ANTIGRAVITY.md to ensure context
|
|
23
|
+
2. Determine cleanup scope from flags
|
|
24
|
+
3. Execute cleanup:
|
|
25
|
+
- Default: Reset current session context
|
|
26
|
+
- --memory: Clear `.ai-memory/` contents
|
|
27
|
+
- --audit: Clear `.ai-audit/` logs
|
|
28
|
+
- --all: Both memory and audit
|
|
29
|
+
4. Confirm cleanup completed
|
|
30
|
+
5. Ready for fresh `/start`
|
|
31
|
+
|
|
32
|
+
## When to Use
|
|
33
|
+
|
|
34
|
+
| Situation | Command |
|
|
35
|
+
| ---------------------- | ----------------- |
|
|
36
|
+
| AI seems confused | `/clean` |
|
|
37
|
+
| AI repeating mistakes | `/clean` |
|
|
38
|
+
| Starting fresh project | `/clean --all` |
|
|
39
|
+
| Privacy cleanup | `/clean --memory` |
|
|
40
|
+
| Disk space | `/clean --audit` |
|
|
41
|
+
|
|
42
|
+
## Output Format
|
|
43
|
+
|
|
44
|
+
```
|
|
45
|
+
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
|
|
46
|
+
โ ๐งน CLEANUP COMPLETE โ
|
|
47
|
+
โฃโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโซ
|
|
48
|
+
โ โ Session context cleared โ
|
|
49
|
+
โ โ [Additional items if --flags] โ
|
|
50
|
+
โฃโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโซ
|
|
51
|
+
โ Run /start to begin fresh session โ
|
|
52
|
+
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
|
|
53
|
+
```
|
|
54
|
+
|
|
55
|
+
## Safety
|
|
56
|
+
|
|
57
|
+
- Memory cleanup is NON-REVERSIBLE
|
|
58
|
+
- Consider `/memory snapshot` before cleaning
|
|
59
|
+
- Audit logs may be needed for compliance
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: ๐ Git commit with conventional message
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
# /commit Workflow for Antigravity
|
|
6
|
+
|
|
7
|
+
Create conventional commits easily.
|
|
8
|
+
|
|
9
|
+
## Usage
|
|
10
|
+
|
|
11
|
+
```
|
|
12
|
+
/commit "message" # Auto-detect type
|
|
13
|
+
/commit "feat: add login" # Explicit type
|
|
14
|
+
/commit --amend # Amend last commit
|
|
15
|
+
```
|
|
16
|
+
|
|
17
|
+
## Execution Flow
|
|
18
|
+
|
|
19
|
+
// turbo-all
|
|
20
|
+
|
|
21
|
+
1. Read @ANTIGRAVITY.md for context
|
|
22
|
+
2. Stage changed files
|
|
23
|
+
3. Parse commit message
|
|
24
|
+
4. Apply conventional commit format
|
|
25
|
+
5. Execute git commit
|
|
26
|
+
6. Report result
|
|
27
|
+
|
|
28
|
+
## Commit Types
|
|
29
|
+
|
|
30
|
+
| Type | Description | Example |
|
|
31
|
+
| ---------- | ------------- | -------------------------- |
|
|
32
|
+
| `feat` | New feature | `feat: add user dashboard` |
|
|
33
|
+
| `fix` | Bug fix | `fix: resolve login error` |
|
|
34
|
+
| `docs` | Documentation | `docs: update readme` |
|
|
35
|
+
| `refactor` | Code refactor | `refactor: extract utils` |
|
|
36
|
+
| `test` | Add tests | `test: add user tests` |
|
|
37
|
+
| `chore` | Maintenance | `chore: update deps` |
|
|
38
|
+
|
|
39
|
+
## Output Format
|
|
40
|
+
|
|
41
|
+
```
|
|
42
|
+
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
|
|
43
|
+
โ ๐ COMMIT CREATED โ
|
|
44
|
+
โฃโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโซ
|
|
45
|
+
โ Type: feat โ
|
|
46
|
+
โ Message: add user authentication โ
|
|
47
|
+
โ Hash: abc1234 โ
|
|
48
|
+
โ Files: 4 changed โ
|
|
49
|
+
โฃโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโซ
|
|
50
|
+
โ Ready to push: git push origin main โ
|
|
51
|
+
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
|
|
52
|
+
```
|
|
53
|
+
|
|
54
|
+
## Safety
|
|
55
|
+
|
|
56
|
+
- Always shows changed files before commit
|
|
57
|
+
- Requires confirmation for large commits (>10 files)
|
|
58
|
+
- Never auto-pushes without explicit command
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: ๐ฏ Execute any task with AI orchestration
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
# /do Workflow for Antigravity
|
|
6
|
+
|
|
7
|
+
Universal command that routes to the right agent and skills.
|
|
8
|
+
|
|
9
|
+
## Usage
|
|
10
|
+
|
|
11
|
+
```
|
|
12
|
+
/do "Mรด tแบฃ task cแปงa bแบกn"
|
|
13
|
+
/do "Task" --careful # Extra validation
|
|
14
|
+
/do "Task" --fast # Skip reviews
|
|
15
|
+
```
|
|
16
|
+
|
|
17
|
+
## Execution Flow
|
|
18
|
+
|
|
19
|
+
// turbo-all
|
|
20
|
+
|
|
21
|
+
1. **ORCHESTRATION**: Parse intent, analyze risk (Low/Medium/High).
|
|
22
|
+
2. **GROUNDING**: Auto-scan Knowledge Graph for related files (`/scout`).
|
|
23
|
+
3. **PACKS**: Load domain context (Backend, Quality, Blockchain...).
|
|
24
|
+
4. **AGENTS**: Select specialized role (Fullstack, Tester, Architect...).
|
|
25
|
+
5. **SKILLS**: Execute using canonical patterns.
|
|
26
|
+
6. **REPORT**: Verify results overlap with audit logs.
|
|
27
|
+
7. **TRANSPARENCY**: Explain decisions via `/why`.
|
|
28
|
+
|
|
29
|
+
## Agent Selection
|
|
30
|
+
|
|
31
|
+
| Keywords | Primary Agent |
|
|
32
|
+
| ----------------------- | --------------------- |
|
|
33
|
+
| UI, design, style | ui-ux-designer |
|
|
34
|
+
| API, backend, database | fullstack-developer |
|
|
35
|
+
| test, spec, coverage | tester |
|
|
36
|
+
| bug, error, fix | debugger |
|
|
37
|
+
| docs, readme | docs-manager |
|
|
38
|
+
| security, auth, payment | security-auditor |
|
|
39
|
+
| performance, optimize | performance-optimizer |
|
|
40
|
+
|
|
41
|
+
## Output Format
|
|
42
|
+
|
|
43
|
+
```
|
|
44
|
+
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
|
|
45
|
+
โ ๐ /do "Task Description" โ
|
|
46
|
+
โฃโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโซ
|
|
47
|
+
โ Agent: [selected-agent] โ
|
|
48
|
+
โ Skills: [activated-skills] โ
|
|
49
|
+
โ Risk: [LOW/MEDIUM/HIGH] โ
|
|
50
|
+
โฃโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโซ
|
|
51
|
+
โ [Execution steps and results] โ
|
|
52
|
+
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
|
|
53
|
+
```
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: โ Show available commands and usage
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
# /help Workflow for Antigravity
|
|
6
|
+
|
|
7
|
+
Display available commands and quick reference.
|
|
8
|
+
|
|
9
|
+
## Usage
|
|
10
|
+
|
|
11
|
+
```
|
|
12
|
+
/help # Show all commands
|
|
13
|
+
/help do # Help for specific command
|
|
14
|
+
/help agents # List available agents
|
|
15
|
+
/help skills # List available skills
|
|
16
|
+
```
|
|
17
|
+
|
|
18
|
+
## Execution Flow
|
|
19
|
+
|
|
20
|
+
// turbo-all
|
|
21
|
+
|
|
22
|
+
1. Read @ANTIGRAVITY.md for command reference
|
|
23
|
+
2. Display requested help section
|
|
24
|
+
3. Format as structured table
|
|
25
|
+
|
|
26
|
+
## Command Reference
|
|
27
|
+
|
|
28
|
+
### Core Trinity
|
|
29
|
+
|
|
30
|
+
| Command | Description |
|
|
31
|
+
| ----------- | -------------------------------- |
|
|
32
|
+
| `/start` | Initialize session, load context |
|
|
33
|
+
| `/do "..."` | Execute any task |
|
|
34
|
+
| `/clean` | Reset context, cleanup |
|
|
35
|
+
|
|
36
|
+
### Development
|
|
37
|
+
|
|
38
|
+
| Command | Description |
|
|
39
|
+
| ----------- | ------------------------------ |
|
|
40
|
+
| `/generate` | Generate code from description |
|
|
41
|
+
| `/test` | Run tests |
|
|
42
|
+
| `/review` | Code review |
|
|
43
|
+
| `/commit` | Git commit with message |
|
|
44
|
+
|
|
45
|
+
### Discovery
|
|
46
|
+
|
|
47
|
+
| Command | Description |
|
|
48
|
+
| -------- | --------------------------- |
|
|
49
|
+
| `/scout` | Semantic search in codebase |
|
|
50
|
+
| `/why` | Explain AI's decisions |
|
|
51
|
+
| `/audit` | View decision history |
|
|
52
|
+
|
|
53
|
+
### Design
|
|
54
|
+
|
|
55
|
+
| Command | Description |
|
|
56
|
+
| --------- | --------------------- |
|
|
57
|
+
| `/design` | UI/UX design tasks |
|
|
58
|
+
| `/theme` | Theme/styling changes |
|
|
59
|
+
| `/docs` | Documentation tasks |
|
|
60
|
+
|
|
61
|
+
### System
|
|
62
|
+
|
|
63
|
+
| Command | Description |
|
|
64
|
+
| --------- | ------------------- |
|
|
65
|
+
| `/status` | Project status |
|
|
66
|
+
| `/memory` | Memory management |
|
|
67
|
+
| `/config` | Configuration |
|
|
68
|
+
| `/health` | System health check |
|
|
69
|
+
|
|
70
|
+
## CLI Commands
|
|
71
|
+
|
|
72
|
+
```bash
|
|
73
|
+
npx anchi-kit # Setup wizard
|
|
74
|
+
npx anchi-kit doctor # Health check
|
|
75
|
+
npx anchi-kit dashboard # Web dashboard
|
|
76
|
+
npx anchi-kit brain # Memory management
|
|
77
|
+
npx anchi-kit scout # Semantic search
|
|
78
|
+
```
|
|
79
|
+
|
|
80
|
+
## Output Format
|
|
81
|
+
|
|
82
|
+
```
|
|
83
|
+
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
|
|
84
|
+
โ ๐ ANCHI-KIT HELP v1.2.0 โ
|
|
85
|
+
โฃโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโซ
|
|
86
|
+
โ 23 Commands | 22 Agents | 61 Skills โ
|
|
87
|
+
โฃโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโซ
|
|
88
|
+
โ [Command tables as above] โ
|
|
89
|
+
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
|
|
90
|
+
```
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: ๐ Semantic search and codebase exploration
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
# /scout Workflow for Antigravity
|
|
6
|
+
|
|
7
|
+
Find code by meaning, not just text.
|
|
8
|
+
|
|
9
|
+
## Usage
|
|
10
|
+
|
|
11
|
+
```
|
|
12
|
+
/scout "query" # Semantic search
|
|
13
|
+
/scout --ingest # Index codebase into graph
|
|
14
|
+
/scout --stats # Show index statistics
|
|
15
|
+
```
|
|
16
|
+
|
|
17
|
+
## Execution Flow
|
|
18
|
+
|
|
19
|
+
// turbo-all
|
|
20
|
+
|
|
21
|
+
1. Read @ANTIGRAVITY.md for context
|
|
22
|
+
2. Parse search query or flags
|
|
23
|
+
3. Execute:
|
|
24
|
+
- Query mode: Search vector store
|
|
25
|
+
- Ingest mode: Scan and index files
|
|
26
|
+
- Stats mode: Show graph statistics
|
|
27
|
+
4. Return results with file locations
|
|
28
|
+
|
|
29
|
+
## Examples
|
|
30
|
+
|
|
31
|
+
```
|
|
32
|
+
/scout "function that handles user login"
|
|
33
|
+
/scout "where is the payment processing logic"
|
|
34
|
+
/scout "component that displays user profile"
|
|
35
|
+
/scout "database connection setup"
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
## Output Format
|
|
39
|
+
|
|
40
|
+
### Search Results
|
|
41
|
+
|
|
42
|
+
```
|
|
43
|
+
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
|
|
44
|
+
โ ๐ SCOUT: "payment processing" โ
|
|
45
|
+
โฃโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโซ
|
|
46
|
+
โ Found 3 matches: โ
|
|
47
|
+
โ โ
|
|
48
|
+
โ 1. src/lib/payment.ts (0.92) โ
|
|
49
|
+
โ โ processPayment(), refund() โ
|
|
50
|
+
โ โ
|
|
51
|
+
โ 2. src/api/stripe/route.ts (0.87) โ
|
|
52
|
+
โ โ POST handler for payments โ
|
|
53
|
+
โ โ
|
|
54
|
+
โ 3. src/hooks/usePayment.ts (0.81) โ
|
|
55
|
+
โ โ React hook for payment state โ
|
|
56
|
+
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
|
|
57
|
+
```
|
|
58
|
+
|
|
59
|
+
### Ingest Results
|
|
60
|
+
|
|
61
|
+
```
|
|
62
|
+
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
|
|
63
|
+
โ ๐ SCOUT INGEST COMPLETE โ
|
|
64
|
+
โฃโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโซ
|
|
65
|
+
โ Files indexed: 127 โ
|
|
66
|
+
โ Nodes created: 543 โ
|
|
67
|
+
โ Edges created: 892 โ
|
|
68
|
+
โ Time: 4.2s โ
|
|
69
|
+
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
|
|
70
|
+
```
|
|
71
|
+
|
|
72
|
+
## Benefits over grep
|
|
73
|
+
|
|
74
|
+
| grep | /scout |
|
|
75
|
+
| ---------------- | --------------------------------- |
|
|
76
|
+
| Exact text match | Semantic meaning |
|
|
77
|
+
| "login" only | Finds "authentication", "sign in" |
|
|
78
|
+
| No context | Understands code structure |
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: ๐ Initialize Anchi-Kit session (auto-loads ANTIGRAVITY.md)
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
# /start Workflow for Antigravity
|
|
6
|
+
|
|
7
|
+
This workflow auto-loads the ANTIGRAVITY.md system instructions.
|
|
8
|
+
|
|
9
|
+
## Steps
|
|
10
|
+
|
|
11
|
+
// turbo-all
|
|
12
|
+
|
|
13
|
+
1. Read @ANTIGRAVITY.md to load system instructions
|
|
14
|
+
2. Run /start command to initialize project context
|
|
15
|
+
|
|
16
|
+
## Result
|
|
17
|
+
|
|
18
|
+
After running this workflow, AI will:
|
|
19
|
+
|
|
20
|
+
- Understand your project structure
|
|
21
|
+
- Know available commands (/do, /clean, /help, etc.)
|
|
22
|
+
- Follow Agent/Skill activation rules
|
|
23
|
+
- Use box-style output format
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: โ
Run tests and verify code
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
# /test Workflow for Antigravity
|
|
6
|
+
|
|
7
|
+
Run tests and fix issues.
|
|
8
|
+
|
|
9
|
+
## Usage
|
|
10
|
+
|
|
11
|
+
```
|
|
12
|
+
/test # Run all tests
|
|
13
|
+
/test --fix # Run tests + auto-fix failures
|
|
14
|
+
/test --watch # Watch mode
|
|
15
|
+
/test --coverage # With coverage report
|
|
16
|
+
/test [file] # Specific file
|
|
17
|
+
```
|
|
18
|
+
|
|
19
|
+
## Execution Flow
|
|
20
|
+
|
|
21
|
+
// turbo-all
|
|
22
|
+
|
|
23
|
+
1. Read @ANTIGRAVITY.md for context
|
|
24
|
+
2. Detect test framework (vitest, jest, playwright)
|
|
25
|
+
3. Run tests with specified flags
|
|
26
|
+
4. Parse and format results
|
|
27
|
+
5. If --fix: Attempt to fix failing tests
|
|
28
|
+
|
|
29
|
+
## Output Format
|
|
30
|
+
|
|
31
|
+
```
|
|
32
|
+
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
|
|
33
|
+
โ โ
TEST RESULTS โ
|
|
34
|
+
โฃโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโซ
|
|
35
|
+
โ Total: 42 | Pass: 40 | Fail: 2 โ
|
|
36
|
+
โ Coverage: 78.5% โ
|
|
37
|
+
โฃโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโซ
|
|
38
|
+
โ โ user.service.test.ts:45 โ
|
|
39
|
+
โ Expected: "active" โ
|
|
40
|
+
โ Received: "pending" โ
|
|
41
|
+
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
|
|
42
|
+
```
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: security-auditor
|
|
3
|
+
description: Specialized agent for security reviews, vulnerability assessments, and compliance checks. Focuses on OWASP Top 10, sensitive data handling, and secure coding practices.
|
|
4
|
+
model: sonnet
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
You are a **Security Auditor**, an expert in application security and compliance.
|
|
8
|
+
|
|
9
|
+
## Core Responsibilities
|
|
10
|
+
|
|
11
|
+
1. **Vulnerability Assessment**: Identify potential security flaws (XSS, CSRF, Injection, etc.).
|
|
12
|
+
2. **Code Review**: Analyze code changes for security implications.
|
|
13
|
+
3. **Compliance Check**: Ensure adherence to data protection rules (GDPR, PII handling).
|
|
14
|
+
4. **Configuration Audit**: Verify secure configuration of infrastructure and dependencies.
|
|
15
|
+
|
|
16
|
+
## Security Standards
|
|
17
|
+
|
|
18
|
+
- **OWASP Top 10**: Always check for common web vulnerabilities.
|
|
19
|
+
- **Least Privilege**: Ensure permissions are scoped correctly.
|
|
20
|
+
- **Data Protection**: Verify encryption of sensitive data at rest and in transit.
|
|
21
|
+
- **Input Validation**: Ensure all user inputs are sanitized.
|
|
22
|
+
|
|
23
|
+
## Execution Process
|
|
24
|
+
|
|
25
|
+
1. **Analyze**: Read the code/plan focusing purely on security aspects.
|
|
26
|
+
2. **Identify**: Flag any lines of code that pose a security risk.
|
|
27
|
+
3. **Verify**: Check against `deploy-guard.yaml` and `data-classification.yaml` rules.
|
|
28
|
+
4. **Report**: valid/invalid status with specific remediation steps.
|
|
29
|
+
|
|
30
|
+
## Tools & Skills
|
|
31
|
+
|
|
32
|
+
- Activate `skills/security` or relevant security packs if available.
|
|
33
|
+
- Use `patterns` to detect known security anti-patterns.
|
|
34
|
+
|
|
35
|
+
## Output Format
|
|
36
|
+
|
|
37
|
+
Provide a structured Security Review:
|
|
38
|
+
|
|
39
|
+
- **Risk Level**: [Low/Medium/High/Critical]
|
|
40
|
+
- **Findings**: List of specific issues.
|
|
41
|
+
- **Recommendations**: Concrete steps to fix.
|
|
42
|
+
- **Approval**: [Approved/Rejected]
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "anchi-kit",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.9",
|
|
4
4
|
"description": "The Ultimate AI-Native Toolkit for Cursor & Gemini. Installs into any existing project. Includes commands, agents, skills, and architecture presets.",
|
|
5
5
|
"main": "src/cli.js",
|
|
6
6
|
"bin": {
|
|
@@ -63,6 +63,7 @@
|
|
|
63
63
|
".antigravity/data-classification.yaml",
|
|
64
64
|
".antigravity/deploy-guard.yaml",
|
|
65
65
|
".antigravity/compliance/",
|
|
66
|
+
".agent/workflows/",
|
|
66
67
|
"presets/",
|
|
67
68
|
"docs/",
|
|
68
69
|
".cursorrules",
|
package/src/commands/init.js
CHANGED
|
@@ -435,6 +435,16 @@ async function init() {
|
|
|
435
435
|
}
|
|
436
436
|
}
|
|
437
437
|
|
|
438
|
+
// 5. Install .agent/workflows (Enables slash commands in Antigravity)
|
|
439
|
+
log.info(' ๐ฏ Installing Slash Commands...');
|
|
440
|
+
const agentWfSource = path.join(kitPath, '.agent/workflows');
|
|
441
|
+
const agentWfDest = path.join(targetPath, '.agent/workflows');
|
|
442
|
+
if (fs.existsSync(agentWfSource)) {
|
|
443
|
+
copyDirRecursive(agentWfSource, agentWfDest);
|
|
444
|
+
const wfCount = fs.readdirSync(agentWfSource).filter(f => f.endsWith('.md')).length;
|
|
445
|
+
log.success(` + .agent/workflows/ (${wfCount} commands)`);
|
|
446
|
+
}
|
|
447
|
+
|
|
438
448
|
// Copy MODEL_COSTS.md
|
|
439
449
|
const modelCostsPath = path.join(kitPath, '.cursor/MODEL_COSTS.md');
|
|
440
450
|
if (fs.existsSync(modelCostsPath)) {
|