@jhm1909/ag-kit 0.1.0 → 0.2.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.
- package/.agent/templates/AGENTS.md +33 -0
- package/README.md +9 -3
- package/cli/index.js +11 -3
- package/package.json +2 -1
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
This project uses [Antigravity Kit](https://github.com/jhm1909/antigravity-kit) for AI agent configuration.
|
|
2
|
+
|
|
3
|
+
## Structure
|
|
4
|
+
|
|
5
|
+
All agent capabilities are in `.agent/`:
|
|
6
|
+
|
|
7
|
+
- `skills/` — 21 domain expert skills (frontend, backend, AI, security, design, etc.)
|
|
8
|
+
- `workflows/` — 15 chainable task workflows (brainstorm, implement, test, commit, etc.)
|
|
9
|
+
- `rules/` — 10 always-on coding standards and guardrails
|
|
10
|
+
- `skills-manifest.json` — Skill routing, triggers, and profiles
|
|
11
|
+
|
|
12
|
+
## How to Use
|
|
13
|
+
|
|
14
|
+
1. Read `.agent/skills-manifest.json` to understand available skills and their triggers
|
|
15
|
+
2. When starting a new task, check `.agent/workflows/guide.md` for workflow discovery
|
|
16
|
+
3. Skills are loaded on-demand — only read `SKILL.md` when the task matches a skill's triggers
|
|
17
|
+
4. Follow rules in `.agent/rules/` at all times
|
|
18
|
+
|
|
19
|
+
## Workflow Chains
|
|
20
|
+
|
|
21
|
+
```
|
|
22
|
+
New Project: /brainstorm -> /documentation -> /break-tasks -> /implement-feature -> /commit
|
|
23
|
+
New Feature: /break-tasks -> /implement-feature -> /gen-tests -> /commit
|
|
24
|
+
Bug Fix: /development -> /gen-tests -> /commit
|
|
25
|
+
Debug: /debug -> /commit
|
|
26
|
+
```
|
|
27
|
+
|
|
28
|
+
## Key Rules
|
|
29
|
+
|
|
30
|
+
- Always check `.agent/rules/skill-loading.md` before loading any skill
|
|
31
|
+
- Follow `.agent/rules/git-workflow.md` for commits
|
|
32
|
+
- Follow `.agent/rules/testing.md` for test coverage
|
|
33
|
+
- Follow `.agent/rules/documents.md` for documentation conventions
|
package/README.md
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<p align="center">
|
|
2
|
-
<img src="https://img.shields.io/badge/Antigravity_Kit-
|
|
2
|
+
<img src="https://img.shields.io/badge/Antigravity_Kit-v0.2.0-8B5CF6?style=for-the-badge&labelColor=1a1a2e" alt="Antigravity Kit" />
|
|
3
3
|
</p>
|
|
4
4
|
|
|
5
5
|
<h1 align="center">Antigravity Kit</h1>
|
|
@@ -43,11 +43,15 @@ Most AI coding assistants have **zero memory** between sessions. They forget you
|
|
|
43
43
|
## Quick Start
|
|
44
44
|
|
|
45
45
|
```bash
|
|
46
|
-
#
|
|
46
|
+
# npm
|
|
47
47
|
npx @jhm1909/ag-kit init
|
|
48
48
|
|
|
49
|
-
#
|
|
49
|
+
# pnpm
|
|
50
|
+
pnpm dlx @jhm1909/ag-kit init
|
|
51
|
+
|
|
52
|
+
# With a profile
|
|
50
53
|
npx @jhm1909/ag-kit init --profile fullstack-saas
|
|
54
|
+
pnpm dlx @jhm1909/ag-kit init --profile fullstack-saas
|
|
51
55
|
```
|
|
52
56
|
|
|
53
57
|
That's it. Your `.agent/` directory is now populated with skills, workflows, and rules.
|
|
@@ -153,6 +157,8 @@ Install only what you need:
|
|
|
153
157
|
|
|
154
158
|
```bash
|
|
155
159
|
npx @jhm1909/ag-kit init --profile <name>
|
|
160
|
+
# or
|
|
161
|
+
pnpm dlx @jhm1909/ag-kit init --profile <name>
|
|
156
162
|
```
|
|
157
163
|
|
|
158
164
|
| Profile | Included Skills | Optional |
|
package/cli/index.js
CHANGED
|
@@ -14,7 +14,7 @@ const fs = require('fs');
|
|
|
14
14
|
const path = require('path');
|
|
15
15
|
|
|
16
16
|
// ─── Constants ───────────────────────────────────────────────────────
|
|
17
|
-
const VERSION = '0.
|
|
17
|
+
const VERSION = '0.2.0';
|
|
18
18
|
const KIT_NAME = '@jhm1909/ag-kit';
|
|
19
19
|
const AGENT_DIR = '.agent';
|
|
20
20
|
|
|
@@ -67,8 +67,8 @@ function copyDir(src, dest, allowedDirs = null, depth = 0) {
|
|
|
67
67
|
const srcPath = path.join(src, entry.name);
|
|
68
68
|
const destPath = path.join(dest, entry.name);
|
|
69
69
|
|
|
70
|
-
// Skip tmp/
|
|
71
|
-
if (entry.name === 'tmp') continue;
|
|
70
|
+
// Skip tmp/ and templates/ directories always
|
|
71
|
+
if (entry.name === 'tmp' || entry.name === 'templates') continue;
|
|
72
72
|
|
|
73
73
|
// At skills level (depth 1, parent is "skills"), filter by allowed dirs
|
|
74
74
|
if (depth === 1 && allowedDirs && entry.isDirectory()) {
|
|
@@ -181,6 +181,14 @@ function cmdInit(args) {
|
|
|
181
181
|
log(` ${c.cyan}|${c.reset} Workflows ${c.dim}Chainable task automations${c.reset}`);
|
|
182
182
|
log(` ${c.cyan}|${c.reset} Rules ${c.dim}Coding standards & guardrails${c.reset}`);
|
|
183
183
|
log(` ${c.cyan}|${c.reset} Manifest ${c.dim}Skill routing & profiles${c.reset}`);
|
|
184
|
+
// Copy AGENTS.md to project root for cross-platform discovery
|
|
185
|
+
const agentsMdSrc = path.join(SOURCE_AGENT_DIR, 'templates', 'AGENTS.md');
|
|
186
|
+
const agentsMdDest = path.join(targetDir, 'AGENTS.md');
|
|
187
|
+
if (fs.existsSync(agentsMdSrc) && (!fs.existsSync(agentsMdDest) || force)) {
|
|
188
|
+
fs.copyFileSync(agentsMdSrc, agentsMdDest);
|
|
189
|
+
success('Created AGENTS.md (cross-platform agent config)');
|
|
190
|
+
}
|
|
191
|
+
|
|
184
192
|
log();
|
|
185
193
|
log(`${c.dim} Works with: Claude Code, Cursor, Gemini CLI, GitHub Copilot${c.reset}`);
|
|
186
194
|
log();
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jhm1909/ag-kit",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.2.0",
|
|
4
4
|
"description": "AI Agent Kit — 21 skills, 15 workflows, manifest-driven routing for AI-powered coding",
|
|
5
5
|
"main": "cli/index.js",
|
|
6
6
|
"bin": {
|
|
@@ -15,6 +15,7 @@
|
|
|
15
15
|
".agent/ARCHITECTURE.md",
|
|
16
16
|
".agent/known-registries.json",
|
|
17
17
|
".agent/mcp_config.json",
|
|
18
|
+
".agent/templates/",
|
|
18
19
|
"README.md",
|
|
19
20
|
"LICENSE"
|
|
20
21
|
],
|