@zenku/agent-kit 0.1.4 → 0.1.6
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 +138 -0
- package/agents/code-architect.agent +0 -0
- package/agents/code-explorer.agent +0 -0
- package/agents/code-reviewer.agent +0 -0
- package/agents/code-simplifier.agent +0 -0
- package/agents/silent-failure-hunter.agent +0 -0
- package/agents/skill-reviewer.agent +0 -0
- package/manifest.json +63 -0
- package/package.json +5 -3
- package/personas/zenku.persona +0 -0
- package/skills/frontend-design.skill +0 -0
- package/skills/skill-creator.skill +0 -0
- package/skills/zenku-kanban.skill +0 -0
package/README.md
ADDED
|
@@ -0,0 +1,138 @@
|
|
|
1
|
+
# @zenku/agent-kit
|
|
2
|
+
|
|
3
|
+
Skills, agents, and personas for the Zenku ecosystem. Works with Claude Code, OpenCode, and Codex CLI.
|
|
4
|
+
|
|
5
|
+
## Contents
|
|
6
|
+
|
|
7
|
+
### Skills
|
|
8
|
+
|
|
9
|
+
| Name | Description |
|
|
10
|
+
| ----------------- | --------------------------------------------------------------------------------- |
|
|
11
|
+
| `frontend-design` | Create distinctive, production-grade frontend interfaces with high design quality |
|
|
12
|
+
| `skill-creator` | Guide for creating effective skills that extend agent capabilities |
|
|
13
|
+
| `zenku-kanban` | Manage kanban projects, issues, labels, and comments via the zenku CLI |
|
|
14
|
+
|
|
15
|
+
### Agents
|
|
16
|
+
|
|
17
|
+
| Name | Description |
|
|
18
|
+
| ----------------------- | ------------------------------------------------------------------------------------- |
|
|
19
|
+
| `code-architect` | Designs feature architectures by analyzing codebase patterns and conventions |
|
|
20
|
+
| `code-explorer` | Deeply analyzes codebase features by tracing execution paths and mapping architecture |
|
|
21
|
+
| `code-reviewer` | Reviews code for bugs, security vulnerabilities, and quality issues |
|
|
22
|
+
| `code-simplifier` | Simplifies code for clarity and maintainability while preserving functionality |
|
|
23
|
+
| `silent-failure-hunter` | Identifies silent failures, inadequate error handling, and suppressed errors |
|
|
24
|
+
| `skill-reviewer` | Reviews skill quality and ensures skills follow best practices |
|
|
25
|
+
|
|
26
|
+
### Personas
|
|
27
|
+
|
|
28
|
+
| Name | Description |
|
|
29
|
+
| ------- | ----------------------------------------------------------------- |
|
|
30
|
+
| `zenku` | A focused, minimal coding assistant with a Japanese zen aesthetic |
|
|
31
|
+
|
|
32
|
+
## Installation
|
|
33
|
+
|
|
34
|
+
Install the package globally:
|
|
35
|
+
|
|
36
|
+
```bash
|
|
37
|
+
npm install -g @zenku/agent-kit
|
|
38
|
+
```
|
|
39
|
+
|
|
40
|
+
Then copy the artifacts you want into your project.
|
|
41
|
+
|
|
42
|
+
### Claude Code
|
|
43
|
+
|
|
44
|
+
```bash
|
|
45
|
+
KIT=$(npm root -g)/@zenku/agent-kit
|
|
46
|
+
|
|
47
|
+
# Skills → .claude/skills/
|
|
48
|
+
mkdir -p .claude/skills
|
|
49
|
+
unzip -o "$KIT/skills/frontend-design.skill" -d .claude/skills/frontend-design/
|
|
50
|
+
|
|
51
|
+
# Agents → .claude/agents/
|
|
52
|
+
mkdir -p .claude/agents
|
|
53
|
+
unzip -o "$KIT/agents/code-reviewer.agent" -d .claude/agents/
|
|
54
|
+
|
|
55
|
+
# Personas → .claude/agents/ (personas are used as main thread agents)
|
|
56
|
+
unzip -o "$KIT/personas/zenku.persona" -d .claude/agents/
|
|
57
|
+
```
|
|
58
|
+
|
|
59
|
+
To use a persona as your default agent:
|
|
60
|
+
|
|
61
|
+
```bash
|
|
62
|
+
# Via CLI flag
|
|
63
|
+
claude --agent zenku
|
|
64
|
+
|
|
65
|
+
# Or set in .claude/settings.json
|
|
66
|
+
{
|
|
67
|
+
"agent": "zenku"
|
|
68
|
+
}
|
|
69
|
+
```
|
|
70
|
+
|
|
71
|
+
### OpenCode
|
|
72
|
+
|
|
73
|
+
```bash
|
|
74
|
+
KIT=$(npm root -g)/@zenku/agent-kit
|
|
75
|
+
|
|
76
|
+
# Skills → .opencode/skills/
|
|
77
|
+
mkdir -p .opencode/skills
|
|
78
|
+
unzip -o "$KIT/skills/frontend-design.skill" -d .opencode/skills/frontend-design/
|
|
79
|
+
|
|
80
|
+
# Agents → .opencode/agents/
|
|
81
|
+
mkdir -p .opencode/agents
|
|
82
|
+
unzip -o "$KIT/agents/code-reviewer.agent" -d .opencode/agents/
|
|
83
|
+
unzip -o "$KIT/personas/zenku.persona" -d .opencode/agents/
|
|
84
|
+
```
|
|
85
|
+
|
|
86
|
+
### Manual
|
|
87
|
+
|
|
88
|
+
Each `.skill`, `.agent`, and `.persona` file is a standard zip archive. You can unzip them with any tool:
|
|
89
|
+
|
|
90
|
+
```bash
|
|
91
|
+
unzip frontend-design.skill -d frontend-design/
|
|
92
|
+
unzip code-reviewer.agent
|
|
93
|
+
unzip zenku.persona
|
|
94
|
+
```
|
|
95
|
+
|
|
96
|
+
Inside each archive is one or more `.md` files with YAML frontmatter and a markdown body.
|
|
97
|
+
|
|
98
|
+
## Usage
|
|
99
|
+
|
|
100
|
+
**Skills** are invoked with slash commands (e.g., `/frontend-design`) or triggered automatically when the agent detects a matching task.
|
|
101
|
+
|
|
102
|
+
**Agents** are specialized sub-agents spawned for specific tasks. They appear in agent selection when placed in the agents directory.
|
|
103
|
+
|
|
104
|
+
**Personas** replace the default AI identity for the entire session. Set one as your main thread agent to change the assistant's personality, tone, and behavior.
|
|
105
|
+
|
|
106
|
+
## Uninstall
|
|
107
|
+
|
|
108
|
+
Remove the files you copied:
|
|
109
|
+
|
|
110
|
+
```bash
|
|
111
|
+
# Claude Code
|
|
112
|
+
rm -rf .claude/skills/frontend-design/
|
|
113
|
+
rm -f .claude/agents/code-reviewer.md
|
|
114
|
+
rm -f .claude/agents/zenku.md
|
|
115
|
+
|
|
116
|
+
# OpenCode
|
|
117
|
+
rm -rf .opencode/skills/frontend-design/
|
|
118
|
+
rm -f .opencode/agents/code-reviewer.md
|
|
119
|
+
rm -f .opencode/agents/zenku.md
|
|
120
|
+
```
|
|
121
|
+
|
|
122
|
+
## Update
|
|
123
|
+
|
|
124
|
+
When a new version is published:
|
|
125
|
+
|
|
126
|
+
```bash
|
|
127
|
+
npm update -g @zenku/agent-kit
|
|
128
|
+
```
|
|
129
|
+
|
|
130
|
+
Then re-copy the artifacts you use (see Installation above). New versions may add, update, or remove artifacts — check the manifest for changes:
|
|
131
|
+
|
|
132
|
+
```bash
|
|
133
|
+
cat $(npm root -g)/@zenku/agent-kit/manifest.json
|
|
134
|
+
```
|
|
135
|
+
|
|
136
|
+
## Manifest
|
|
137
|
+
|
|
138
|
+
The `manifest.json` file at the package root lists all included artifacts with their frontmatter metadata. Use it to programmatically discover available skills, agents, and personas.
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/manifest.json
ADDED
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
{
|
|
2
|
+
"skills": {
|
|
3
|
+
"frontend-design": {
|
|
4
|
+
"name": "frontend-design",
|
|
5
|
+
"description": "Create distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics."
|
|
6
|
+
},
|
|
7
|
+
"skill-creator": {
|
|
8
|
+
"name": "skill-creator",
|
|
9
|
+
"description": "Guide for creating effective skills. This skill should be used when users want to create a new skill (or update an existing skill) that extends the agent's capabilities with specialized knowledge, workflows, or tool integrations."
|
|
10
|
+
},
|
|
11
|
+
"zenku-kanban": {
|
|
12
|
+
"name": "zenku-kanban",
|
|
13
|
+
"description": "Manage kanban projects, issues, labels, comments, and links via the zenku CLI. Use when the user wants to create/update/list kanban issues, manage projects, track work items, add comments, link issues, or manage labels. Also covers CLI installation and authentication (login/logout/whoami/profiles) as prerequisites. Trigger when user mentions zenku, kanban, issues, sprints, project boards, or task tracking via CLI."
|
|
14
|
+
}
|
|
15
|
+
},
|
|
16
|
+
"agents": {
|
|
17
|
+
"code-architect": {
|
|
18
|
+
"name": "code-architect",
|
|
19
|
+
"description": "Designs feature architectures by analyzing existing codebase patterns and conventions, then providing comprehensive implementation blueprints with specific files to create/modify, component designs, data flows, and build sequences",
|
|
20
|
+
"model": "inherit",
|
|
21
|
+
"color": "green"
|
|
22
|
+
},
|
|
23
|
+
"code-explorer": {
|
|
24
|
+
"name": "code-explorer",
|
|
25
|
+
"description": "Deeply analyzes existing codebase features by tracing execution paths, mapping architecture layers, understanding patterns and abstractions, and documenting dependencies to inform new development",
|
|
26
|
+
"model": "inherit",
|
|
27
|
+
"color": "yellow"
|
|
28
|
+
},
|
|
29
|
+
"code-reviewer": {
|
|
30
|
+
"name": "code-reviewer",
|
|
31
|
+
"description": "Reviews code for bugs, logic errors, security vulnerabilities, code quality issues, and adherence to project conventions, using confidence-based filtering to report only high-priority issues that truly matter",
|
|
32
|
+
"model": "inherit",
|
|
33
|
+
"color": "red"
|
|
34
|
+
},
|
|
35
|
+
"code-simplifier": {
|
|
36
|
+
"name": "code-simplifier",
|
|
37
|
+
"description": "Use this agent when code has been written or modified and needs to be simplified for clarity, consistency, and maintainability while preserving all functionality. This agent should be triggered automatically after completing a coding task or writing a logical chunk of code. It simplifies code by following project best practices while retaining all functionality. The agent focuses only on recently modified code unless instructed otherwise.\n\nExamples:\n\n<example>\nContext: The assistant has just implemented a new feature that adds user authentication to an API endpoint.\nuser: \"Please add authentication to the /api/users endpoint\"\nassistant: \"I've implemented the authentication for the /api/users endpoint. Here's the code:\"\n<commentary>\nSince a logical chunk of code has been written (authentication feature), use the code-simplifier agent to improve the code's clarity and maintainability while preserving functionality.\n</commentary>\nassistant: \"Now let me use the code-simplifier agent to refine this implementation for better clarity and maintainability\"\n</example>\n\n<example>\nContext: The assistant has just fixed a bug by adding several conditional checks.\nuser: \"Fix the null pointer exception in the data processor\"\nassistant: \"I've added the necessary null checks to prevent the exception:\"\n<commentary>\nAfter modifying code to fix a bug, use the code-simplifier agent to ensure the fix follows best practices and maintains code quality.\n</commentary>\nassistant: \"Let me refine this bug fix using the code-simplifier agent to ensure it follows our best practices\"\n</example>\n\n<example>\nContext: The assistant has just refactored a function to improve performance.\nuser: \"Optimize the data sorting algorithm for better performance\"\nassistant: \"I've optimized the sorting algorithm. Here's the updated implementation:\"\n<commentary>\nAfter completing a performance optimization task, use the code-simplifier agent to ensure the optimized code is also clear and maintainable.\n</commentary>\nassistant: \"Now I'll use the code-simplifier agent to ensure the optimized code is also clear and follows our coding standards\"\n</example>",
|
|
38
|
+
"model": "inherit",
|
|
39
|
+
"color": "magenta"
|
|
40
|
+
},
|
|
41
|
+
"silent-failure-hunter": {
|
|
42
|
+
"name": "silent-failure-hunter",
|
|
43
|
+
"description": "Use this agent when reviewing code changes to identify silent failures, inadequate error handling, and inappropriate fallback behavior. This agent should be invoked proactively after completing a logical chunk of work that involves error handling, catch blocks, fallback logic, or any code that could potentially suppress errors.\n\n<example>\nContext: The user has just finished implementing a new feature that fetches data from an API with fallback behavior.\nuser: \"I've added error handling to the API client. Can you review it?\"\nassistant: \"Let me use the silent-failure-hunter agent to thoroughly examine the error handling in your changes.\"\n</example>\n\n<example>\nContext: The user has created a PR with changes that include try-catch blocks.\nuser: \"Please review PR #1234\"\nassistant: \"I'll use the silent-failure-hunter agent to check for any silent failures or inadequate error handling in this PR.\"\n</example>\n\n<example>\nContext: The user has just refactored error handling code.\nuser: \"I've updated the error handling in the authentication module\"\nassistant: \"Let me proactively use the silent-failure-hunter agent to ensure the error handling changes don't introduce silent failures.\"\n</example>",
|
|
44
|
+
"model": "inherit",
|
|
45
|
+
"color": "yellow"
|
|
46
|
+
},
|
|
47
|
+
"skill-reviewer": {
|
|
48
|
+
"name": "skill-reviewer",
|
|
49
|
+
"description": "Use this agent when the user has created or modified a skill and needs quality review, asks to \"review my skill\", \"check skill quality\", \"improve skill description\", or wants to ensure skill follows best practices. Trigger proactively after skill creation. Examples:\n\n<example>\nContext: User just created a new skill\nuser: \"I've created a PDF processing skill\"\nassistant: \"Great! Let me review the skill quality.\"\n<commentary>\nSkill created, proactively trigger skill-reviewer to ensure it follows best practices.\n</commentary>\nassistant: \"I'll use the skill-reviewer agent to review the skill.\"\n</example>\n\n<example>\nContext: User requests skill review\nuser: \"Review my skill and tell me how to improve it\"\nassistant: \"I'll use the skill-reviewer agent to analyze the skill quality.\"\n<commentary>\nExplicit skill review request triggers the agent.\n</commentary>\n</example>\n\n<example>\nContext: User modified skill description\nuser: \"I updated the skill description, does it look good?\"\nassistant: \"I'll use the skill-reviewer agent to review the changes.\"\n<commentary>\nSkill description modified, review for triggering effectiveness.\n</commentary>\n</example>",
|
|
50
|
+
"model": "inherit",
|
|
51
|
+
"color": "cyan",
|
|
52
|
+
"tools": "[\"Read\", \"Grep\", \"Glob\"]"
|
|
53
|
+
}
|
|
54
|
+
},
|
|
55
|
+
"personas": {
|
|
56
|
+
"zenku": {
|
|
57
|
+
"name": "zenku",
|
|
58
|
+
"description": "A focused, minimal coding assistant with a Japanese zen aesthetic",
|
|
59
|
+
"model": "inherit",
|
|
60
|
+
"color": "cyan"
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
}
|
package/package.json
CHANGED
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zenku/agent-kit",
|
|
3
|
-
"version": "0.1.
|
|
4
|
-
"description": "Agent kit (skills, agents,
|
|
3
|
+
"version": "0.1.6",
|
|
4
|
+
"description": "Agent kit (skills, agents, personas) for the Zenku ecosystem — works with Claude Code, OpenCode, and Codex CLI.",
|
|
5
5
|
"files": [
|
|
6
6
|
"skills",
|
|
7
|
-
"agents"
|
|
7
|
+
"agents",
|
|
8
|
+
"personas",
|
|
9
|
+
"manifest.json"
|
|
8
10
|
],
|
|
9
11
|
"license": "SEE LICENSE IN LICENSE"
|
|
10
12
|
}
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|