@hanhnd/agent-kit 1.0.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/README.md +133 -0
- package/dist/kit-server.d.ts +8 -0
- package/dist/kit-server.js +21573 -0
- package/dist/tools/agent.d.ts +9 -0
- package/dist/tools/agent.js +188 -0
- package/dist/tools/config.d.ts +25 -0
- package/dist/tools/config.js +60 -0
- package/dist/tools/core.d.ts +10 -0
- package/dist/tools/core.js +76 -0
- package/dist/tools/gemini.d.ts +9 -0
- package/dist/tools/gemini.js +111 -0
- package/dist/tools/integration.d.ts +6 -0
- package/dist/tools/integration.js +310 -0
- package/dist/tools/orchestration.d.ts +9 -0
- package/dist/tools/orchestration.js +168 -0
- package/dist/tools/security.d.ts +41 -0
- package/dist/tools/security.js +131 -0
- package/dist/utils.d.ts +10 -0
- package/dist/utils.js +26 -0
- package/dist/workflows.d.ts +2 -0
- package/dist/workflows.js +268 -0
- package/package.json +32 -0
package/README.md
ADDED
|
@@ -0,0 +1,133 @@
|
|
|
1
|
+
# Agent-Kit
|
|
2
|
+
|
|
3
|
+
**Super Engineer** — a team of specialized AI agents for software development. Brainstorm ideas, plan implementations, write code, and review PRs using a structured multi-agent workflow powered by Claude Code.
|
|
4
|
+
|
|
5
|
+
## What It Does
|
|
6
|
+
|
|
7
|
+
### Commands
|
|
8
|
+
|
|
9
|
+
| Command | Description |
|
|
10
|
+
| -------------------------------- | ------------------------------------------------------------------ |
|
|
11
|
+
| `/ak:brainstorm [idea]` | Strategic architectural analysis |
|
|
12
|
+
| `/ak:plan [file or idea]` | Create an implementation blueprint |
|
|
13
|
+
| `/ak:code [file or task]` | Implement from a plan |
|
|
14
|
+
| `/ak:review-pr [PR URL]` | Review a pull request |
|
|
15
|
+
| `/ak:review-changes` | Review uncommitted local changes |
|
|
16
|
+
| `/ak:ticket [ID]` | Fetch a Jira ticket and plan from it |
|
|
17
|
+
| `/ak:git` | Git commit, branch, and PR workflow |
|
|
18
|
+
| `/ak:init` | Create the project overview file |
|
|
19
|
+
| `/ak:orchestrate [file or idea]` | Orchestrate agents to solve problems span across multiple projects |
|
|
20
|
+
| `/ak:delegate <agent> <task>` | Delegate a task to Gemini or Claude CLI |
|
|
21
|
+
|
|
22
|
+
---
|
|
23
|
+
|
|
24
|
+
## Installation
|
|
25
|
+
|
|
26
|
+
### Option 1: Install via GitHub (Recommended)
|
|
27
|
+
|
|
28
|
+
```bash
|
|
29
|
+
claude plugin marketplace add https://github.com/hanh-nd/agent-kit
|
|
30
|
+
claude plugin install agent-kit
|
|
31
|
+
```
|
|
32
|
+
|
|
33
|
+
The plugin fetches from GitHub, registers the MCP server automatically, and makes all commands available immediately.
|
|
34
|
+
|
|
35
|
+
**Add credentials** to your shell profile (`~/.zshrc` or `~/.bashrc`):
|
|
36
|
+
|
|
37
|
+
```bash
|
|
38
|
+
export ATLASSIAN_CLOUD_ID="your-atlassian-cloud-id"
|
|
39
|
+
export ATLASSIAN_USER_EMAIL="you@yourcompany.com"
|
|
40
|
+
export ATLASSIAN_API_TOKEN="your-atlassian-api-token"
|
|
41
|
+
export BITBUCKET_USER_EMAIL="you@yourcompany.com"
|
|
42
|
+
export BITBUCKET_API_TOKEN="your-atlassian-api-token"
|
|
43
|
+
export BITBUCKET_DEFAULT_WORKSPACE="your-default-workspace-slug"
|
|
44
|
+
```
|
|
45
|
+
|
|
46
|
+
To update: `claude plugin update agent-kit`
|
|
47
|
+
To uninstall: `claude plugin uninstall agent-kit`
|
|
48
|
+
|
|
49
|
+
---
|
|
50
|
+
|
|
51
|
+
### Option 2: Clone and Install Locally
|
|
52
|
+
|
|
53
|
+
Use this if you want to modify the plugin or develop against it.
|
|
54
|
+
|
|
55
|
+
**1. Clone and build**
|
|
56
|
+
|
|
57
|
+
```bash
|
|
58
|
+
git clone https://github.com/hanh-nd/agent-kit.git
|
|
59
|
+
cd agent-kit
|
|
60
|
+
npm install
|
|
61
|
+
npm run build
|
|
62
|
+
```
|
|
63
|
+
|
|
64
|
+
**2. Register the plugin**
|
|
65
|
+
|
|
66
|
+
```bash
|
|
67
|
+
claude plugin marketplace add /absolute/path/to/agent-kit
|
|
68
|
+
claude plugin install agent-kit
|
|
69
|
+
```
|
|
70
|
+
|
|
71
|
+
This registers the MCP server automatically (pointing to your local build). Do **not** manually add a `kit-agents` entry to `settings.json` — the plugin handles that.
|
|
72
|
+
|
|
73
|
+
**3. Add credentials** to your shell profile (`~/.zshrc` or `~/.bashrc`):
|
|
74
|
+
|
|
75
|
+
```bash
|
|
76
|
+
export ATLASSIAN_CLOUD_ID="your-atlassian-cloud-id"
|
|
77
|
+
export ATLASSIAN_USER_EMAIL="you@yourcompany.com"
|
|
78
|
+
export ATLASSIAN_API_TOKEN="your-atlassian-api-token"
|
|
79
|
+
export BITBUCKET_USER_EMAIL="you@yourcompany.com"
|
|
80
|
+
export BITBUCKET_API_TOKEN="your-atlassian-api-token"
|
|
81
|
+
export BITBUCKET_DEFAULT_WORKSPACE="your-default-workspace-slug"
|
|
82
|
+
```
|
|
83
|
+
|
|
84
|
+
**4. Verify**
|
|
85
|
+
|
|
86
|
+
```
|
|
87
|
+
/ak:brainstorm test idea
|
|
88
|
+
```
|
|
89
|
+
|
|
90
|
+
---
|
|
91
|
+
|
|
92
|
+
## Development
|
|
93
|
+
|
|
94
|
+
```bash
|
|
95
|
+
# Build once
|
|
96
|
+
npm run build
|
|
97
|
+
|
|
98
|
+
# Watch mode (rebuilds on file changes)
|
|
99
|
+
npm run dev
|
|
100
|
+
```
|
|
101
|
+
|
|
102
|
+
The MCP server source is in `src/`. Agent personas are in `agents/`. Skill modules are in `skills/`.
|
|
103
|
+
|
|
104
|
+
---
|
|
105
|
+
|
|
106
|
+
## Requirements
|
|
107
|
+
|
|
108
|
+
- Node.js 18+
|
|
109
|
+
- Claude Code (latest)
|
|
110
|
+
|
|
111
|
+
---
|
|
112
|
+
|
|
113
|
+
## Integrations
|
|
114
|
+
|
|
115
|
+
### Jira (via Atlassian REST API)
|
|
116
|
+
|
|
117
|
+
Used by `/ak:ticket` and `/ak:review-pr`.
|
|
118
|
+
|
|
119
|
+
| Variable | Description |
|
|
120
|
+
| ---------------------- | ---------------------------------------------------------------------------------------------------------------------------------------- |
|
|
121
|
+
| `ATLASSIAN_CLOUD_ID` | Your Atlassian Cloud ID — find it at [admin.atlassian.com](https://admin.atlassian.com) under your site settings |
|
|
122
|
+
| `ATLASSIAN_USER_EMAIL` | Your Atlassian account email |
|
|
123
|
+
| `ATLASSIAN_API_TOKEN` | API token — create at [id.atlassian.com/manage-profile/security/api-tokens](https://id.atlassian.com/manage-profile/security/api-tokens) |
|
|
124
|
+
|
|
125
|
+
### Bitbucket Cloud (via Bitbucket REST API)
|
|
126
|
+
|
|
127
|
+
Used by `/ak:review-pr`.
|
|
128
|
+
|
|
129
|
+
| Variable | Description |
|
|
130
|
+
| ----------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------- |
|
|
131
|
+
| `BITBUCKET_USER_EMAIL` | Your Atlassian account email (same as Jira) |
|
|
132
|
+
| `BITBUCKET_API_TOKEN` | API token — create at [id.atlassian.com/manage-profile/security/api-tokens](https://id.atlassian.com/manage-profile/security/api-tokens) |
|
|
133
|
+
| `BITBUCKET_DEFAULT_WORKSPACE` | Default workspace slug — used when passing a numeric PR ID without a `workspace` param |
|