liteagents 2.4.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/CHANGELOG.md +441 -0
- package/LICENSE +21 -0
- package/README.md +179 -0
- package/cli.js +230 -0
- package/docs/.gitkeep +1 -0
- package/docs/CONTRIBUTING.md +739 -0
- package/docs/DUAL_PUBLISH_SUMMARY.md +177 -0
- package/docs/ERROR_HANDLING_IMPLEMENTATION.md +327 -0
- package/docs/GITHUB_PACKAGES.md +181 -0
- package/docs/GITHUB_SETUP.md +158 -0
- package/docs/INSTALLATION_DEMO.md +691 -0
- package/docs/INSTALLATION_LOCATIONS.md +299 -0
- package/docs/INSTALLER_GUIDE.md +1586 -0
- package/docs/INTEGRATION_ISSUES_9.1.md +341 -0
- package/docs/KNOWLEDGE_BASE.md +727 -0
- package/docs/MIGRATION.md +384 -0
- package/docs/PACKAGE_BASELINE.md +557 -0
- package/docs/PACKAGE_VALIDATION_REPORT.md +427 -0
- package/docs/PASS_INTEGRATION.md +307 -0
- package/docs/PASS_QUICK_START.md +150 -0
- package/docs/PRIVACY.md +203 -0
- package/docs/PUBLISHING.md +494 -0
- package/docs/QUICK-START.md +318 -0
- package/docs/RELEASE_NOTES_1.2.0.md +323 -0
- package/docs/SECURITY.md +317 -0
- package/docs/SILENT_MODE_GUIDE.md +526 -0
- package/docs/SKILLS_CONVERSION.md +154 -0
- package/docs/TESTING.md +582 -0
- package/docs/TEST_COVERAGE.md +347 -0
- package/docs/TROUBLESHOOTING.md +788 -0
- package/docs/UPDATED_VARIANT_CONFIGURATION.md +274 -0
- package/docs/VARIANT_CONFIGURATION.md +440 -0
- package/installer/cli.js +761 -0
- package/installer/installation-engine.js +1536 -0
- package/installer/package-manager.js +640 -0
- package/installer/path-manager.js +427 -0
- package/installer/report-template.js +298 -0
- package/installer/verification-system.js +274 -0
- package/package.json +83 -0
- package/packages/ampcode/AGENT.md +58 -0
- package/packages/ampcode/README.md +17 -0
- package/packages/ampcode/agents/1-create-prd.md +175 -0
- package/packages/ampcode/agents/2-generate-tasks.md +190 -0
- package/packages/ampcode/agents/3-process-task-list.md +225 -0
- package/packages/ampcode/agents/code-developer.md +198 -0
- package/packages/ampcode/agents/context-builder.md +142 -0
- package/packages/ampcode/agents/feature-planner.md +199 -0
- package/packages/ampcode/agents/market-researcher.md +89 -0
- package/packages/ampcode/agents/orchestrator.md +116 -0
- package/packages/ampcode/agents/quality-assurance.md +115 -0
- package/packages/ampcode/agents/system-architect.md +135 -0
- package/packages/ampcode/agents/ui-designer.md +184 -0
- package/packages/ampcode/commands/brainstorming.md +56 -0
- package/packages/ampcode/commands/code-review.md +107 -0
- package/packages/ampcode/commands/condition-based-waiting/example.ts +158 -0
- package/packages/ampcode/commands/condition-based-waiting.md +122 -0
- package/packages/ampcode/commands/debug.md +20 -0
- package/packages/ampcode/commands/docs-builder/templates.md +572 -0
- package/packages/ampcode/commands/docs-builder.md +106 -0
- package/packages/ampcode/commands/explain.md +18 -0
- package/packages/ampcode/commands/git-commit.md +14 -0
- package/packages/ampcode/commands/optimize.md +20 -0
- package/packages/ampcode/commands/refactor.md +21 -0
- package/packages/ampcode/commands/review.md +18 -0
- package/packages/ampcode/commands/root-cause-tracing/find-polluter.sh +63 -0
- package/packages/ampcode/commands/root-cause-tracing.md +176 -0
- package/packages/ampcode/commands/security.md +21 -0
- package/packages/ampcode/commands/ship.md +18 -0
- package/packages/ampcode/commands/skill-creator/scripts/init_skill.py +303 -0
- package/packages/ampcode/commands/skill-creator/scripts/package_skill.py +110 -0
- package/packages/ampcode/commands/skill-creator/scripts/quick_validate.py +65 -0
- package/packages/ampcode/commands/skill-creator.md +211 -0
- package/packages/ampcode/commands/stash.md +45 -0
- package/packages/ampcode/commands/systematic-debugging.md +297 -0
- package/packages/ampcode/commands/test-driven-development.md +390 -0
- package/packages/ampcode/commands/test-generate.md +18 -0
- package/packages/ampcode/commands/testing-anti-patterns.md +304 -0
- package/packages/ampcode/commands/verification-before-completion.md +152 -0
- package/packages/ampcode/settings.json +13 -0
- package/packages/ampcode/variants.json +8 -0
- package/packages/claude/CLAUDE.md +58 -0
- package/packages/claude/README.md +23 -0
- package/packages/claude/agents/1-create-prd.md +175 -0
- package/packages/claude/agents/2-generate-tasks.md +190 -0
- package/packages/claude/agents/3-process-task-list.md +225 -0
- package/packages/claude/agents/code-developer.md +198 -0
- package/packages/claude/agents/context-builder.md +142 -0
- package/packages/claude/agents/feature-planner.md +199 -0
- package/packages/claude/agents/market-researcher.md +89 -0
- package/packages/claude/agents/orchestrator.md +117 -0
- package/packages/claude/agents/quality-assurance.md +115 -0
- package/packages/claude/agents/system-architect.md +135 -0
- package/packages/claude/agents/ui-designer.md +184 -0
- package/packages/claude/commands/debug.md +20 -0
- package/packages/claude/commands/explain.md +18 -0
- package/packages/claude/commands/git-commit.md +14 -0
- package/packages/claude/commands/optimize.md +20 -0
- package/packages/claude/commands/refactor.md +21 -0
- package/packages/claude/commands/review.md +18 -0
- package/packages/claude/commands/security.md +21 -0
- package/packages/claude/commands/ship.md +18 -0
- package/packages/claude/commands/stash.md +45 -0
- package/packages/claude/commands/test-generate.md +18 -0
- package/packages/claude/skills/brainstorming/SKILL.md +56 -0
- package/packages/claude/skills/code-review/SKILL.md +107 -0
- package/packages/claude/skills/code-review/code-reviewer.md +146 -0
- package/packages/claude/skills/condition-based-waiting/SKILL.md +122 -0
- package/packages/claude/skills/condition-based-waiting/example.ts +158 -0
- package/packages/claude/skills/docs-builder/SKILL.md +106 -0
- package/packages/claude/skills/docs-builder/references/templates.md +572 -0
- package/packages/claude/skills/root-cause-tracing/SKILL.md +176 -0
- package/packages/claude/skills/root-cause-tracing/find-polluter.sh +63 -0
- package/packages/claude/skills/skill-creator/LICENSE.txt +202 -0
- package/packages/claude/skills/skill-creator/SKILL.md +211 -0
- package/packages/claude/skills/skill-creator/scripts/init_skill.py +303 -0
- package/packages/claude/skills/skill-creator/scripts/package_skill.py +110 -0
- package/packages/claude/skills/skill-creator/scripts/quick_validate.py +65 -0
- package/packages/claude/skills/systematic-debugging/CREATION-LOG.md +119 -0
- package/packages/claude/skills/systematic-debugging/SKILL.md +296 -0
- package/packages/claude/skills/systematic-debugging/test-academic.md +14 -0
- package/packages/claude/skills/systematic-debugging/test-pressure-1.md +58 -0
- package/packages/claude/skills/systematic-debugging/test-pressure-2.md +68 -0
- package/packages/claude/skills/systematic-debugging/test-pressure-3.md +69 -0
- package/packages/claude/skills/test-driven-development/SKILL.md +392 -0
- package/packages/claude/skills/testing-anti-patterns/SKILL.md +304 -0
- package/packages/claude/skills/verification-before-completion/SKILL.md +152 -0
- package/packages/claude/variants.json +9 -0
- package/packages/droid/AGENTS.md +52 -0
- package/packages/droid/README.md +17 -0
- package/packages/droid/change_settings.json +61 -0
- package/packages/droid/commands/brainstorming.md +56 -0
- package/packages/droid/commands/code-review.md +107 -0
- package/packages/droid/commands/condition-based-waiting/example.ts +158 -0
- package/packages/droid/commands/condition-based-waiting.md +122 -0
- package/packages/droid/commands/debug.md +20 -0
- package/packages/droid/commands/docs-builder/templates.md +572 -0
- package/packages/droid/commands/docs-builder.md +106 -0
- package/packages/droid/commands/explain.md +18 -0
- package/packages/droid/commands/git-commit.md +14 -0
- package/packages/droid/commands/optimize.md +20 -0
- package/packages/droid/commands/refactor.md +21 -0
- package/packages/droid/commands/review.md +18 -0
- package/packages/droid/commands/root-cause-tracing/find-polluter.sh +63 -0
- package/packages/droid/commands/root-cause-tracing.md +176 -0
- package/packages/droid/commands/security.md +21 -0
- package/packages/droid/commands/ship.md +18 -0
- package/packages/droid/commands/skill-creator/scripts/init_skill.py +303 -0
- package/packages/droid/commands/skill-creator/scripts/package_skill.py +110 -0
- package/packages/droid/commands/skill-creator/scripts/quick_validate.py +65 -0
- package/packages/droid/commands/skill-creator.md +211 -0
- package/packages/droid/commands/stash.md +45 -0
- package/packages/droid/commands/systematic-debugging.md +297 -0
- package/packages/droid/commands/test-driven-development.md +390 -0
- package/packages/droid/commands/test-generate.md +18 -0
- package/packages/droid/commands/testing-anti-patterns.md +304 -0
- package/packages/droid/commands/verification-before-completion.md +152 -0
- package/packages/droid/droids/1-create-prd.md +170 -0
- package/packages/droid/droids/2-generate-tasks.md +190 -0
- package/packages/droid/droids/3-process-task-list.md +225 -0
- package/packages/droid/droids/code-developer.md +198 -0
- package/packages/droid/droids/context-builder.md +142 -0
- package/packages/droid/droids/feature-planner.md +199 -0
- package/packages/droid/droids/market-researcher.md +89 -0
- package/packages/droid/droids/orchestrator.md +116 -0
- package/packages/droid/droids/quality-assurance.md +115 -0
- package/packages/droid/droids/system-architect.md +135 -0
- package/packages/droid/droids/ui-designer.md +184 -0
- package/packages/droid/variants.json +8 -0
- package/packages/opencode/AGENTS.md +52 -0
- package/packages/opencode/README.md +17 -0
- package/packages/opencode/agent/1-create-prd.md +179 -0
- package/packages/opencode/agent/2-generate-tasks.md +194 -0
- package/packages/opencode/agent/3-process-task-list.md +229 -0
- package/packages/opencode/agent/code-developer.md +202 -0
- package/packages/opencode/agent/context-builder.md +146 -0
- package/packages/opencode/agent/feature-planner.md +203 -0
- package/packages/opencode/agent/market-researcher.md +93 -0
- package/packages/opencode/agent/orchestrator.md +120 -0
- package/packages/opencode/agent/quality-assurance.md +119 -0
- package/packages/opencode/agent/system-architect.md +139 -0
- package/packages/opencode/agent/ui-designer.md +188 -0
- package/packages/opencode/command/brainstorming.md +56 -0
- package/packages/opencode/command/code-review.md +107 -0
- package/packages/opencode/command/condition-based-waiting/example.ts +158 -0
- package/packages/opencode/command/condition-based-waiting.md +122 -0
- package/packages/opencode/command/debug.md +20 -0
- package/packages/opencode/command/docs-builder/templates.md +572 -0
- package/packages/opencode/command/docs-builder.md +106 -0
- package/packages/opencode/command/explain.md +18 -0
- package/packages/opencode/command/git-commit.md +14 -0
- package/packages/opencode/command/optimize.md +20 -0
- package/packages/opencode/command/refactor.md +21 -0
- package/packages/opencode/command/review.md +18 -0
- package/packages/opencode/command/root-cause-tracing/find-polluter.sh +63 -0
- package/packages/opencode/command/root-cause-tracing.md +176 -0
- package/packages/opencode/command/security.md +21 -0
- package/packages/opencode/command/ship.md +18 -0
- package/packages/opencode/command/skill-creator/scripts/init_skill.py +303 -0
- package/packages/opencode/command/skill-creator/scripts/package_skill.py +110 -0
- package/packages/opencode/command/skill-creator/scripts/quick_validate.py +65 -0
- package/packages/opencode/command/skill-creator.md +211 -0
- package/packages/opencode/command/stash.md +45 -0
- package/packages/opencode/command/systematic-debugging.md +297 -0
- package/packages/opencode/command/test-driven-development.md +390 -0
- package/packages/opencode/command/test-generate.md +18 -0
- package/packages/opencode/command/testing-anti-patterns.md +304 -0
- package/packages/opencode/command/verification-before-completion.md +152 -0
- package/packages/opencode/opencode.jsonc +201 -0
- package/packages/opencode/variants.json +8 -0
- package/packages/subagentic-manual.md +349 -0
- package/postinstall.js +21 -0
- package/tools/ampcode/manifest-template.json +14 -0
- package/tools/claude/manifest-template.json +14 -0
- package/tools/droid/manifest-template.json +14 -0
- package/tools/opencode/manifest-template.json +14 -0
|
@@ -0,0 +1,739 @@
|
|
|
1
|
+
# Contributing Guide
|
|
2
|
+
|
|
3
|
+
How to contribute to the Agentic Toolkit by adding custom agents, skills, and improvements.
|
|
4
|
+
|
|
5
|
+
## Table of Contents
|
|
6
|
+
|
|
7
|
+
- [Getting Started](#getting-started)
|
|
8
|
+
- [Contribution Types](#contribution-types)
|
|
9
|
+
- [Adding Custom Agents](#adding-custom-agents)
|
|
10
|
+
- [Adding Custom Skills](#adding-custom-skills)
|
|
11
|
+
- [Code Style & Standards](#code-style--standards)
|
|
12
|
+
- [Testing Requirements](#testing-requirements)
|
|
13
|
+
- [Submission Process](#submission-process)
|
|
14
|
+
- [Community Guidelines](#community-guidelines)
|
|
15
|
+
|
|
16
|
+
## Getting Started
|
|
17
|
+
|
|
18
|
+
### Prerequisites
|
|
19
|
+
|
|
20
|
+
- Familiarity with Markdown and YAML
|
|
21
|
+
- Basic understanding of agents and skills
|
|
22
|
+
- Read [ARCHITECTURE.md](ARCHITECTURE.md)
|
|
23
|
+
- Read [AGENTS.md](AGENTS.md) and [SKILLS.md](SKILLS.md)
|
|
24
|
+
- Git knowledge (for submission)
|
|
25
|
+
|
|
26
|
+
### Development Setup
|
|
27
|
+
|
|
28
|
+
```bash
|
|
29
|
+
# Clone repository
|
|
30
|
+
git clone https://github.com/anthropic/agentic-toolkit.git
|
|
31
|
+
cd agentic-kit
|
|
32
|
+
|
|
33
|
+
# Install dependencies (if any)
|
|
34
|
+
npm install
|
|
35
|
+
|
|
36
|
+
# Link locally for testing
|
|
37
|
+
npm link
|
|
38
|
+
|
|
39
|
+
# Verify installation
|
|
40
|
+
@Master: *help
|
|
41
|
+
```
|
|
42
|
+
|
|
43
|
+
### Understanding the Architecture
|
|
44
|
+
|
|
45
|
+
Before contributing, understand:
|
|
46
|
+
|
|
47
|
+
1. **Ultra-Lean Design** - See [ARCHITECTURE.md](ARCHITECTURE.md)
|
|
48
|
+
2. **Agent Format** - See [AGENTS.md](AGENTS.md)
|
|
49
|
+
3. **Skill Format** - See [SKILLS.md](SKILLS.md)
|
|
50
|
+
4. **Manifest System** - See [ARCHITECTURE.md - Plugin Manifest System](ARCHITECTURE.md#plugin-manifest-system)
|
|
51
|
+
|
|
52
|
+
## Contribution Types
|
|
53
|
+
|
|
54
|
+
We welcome contributions in several areas:
|
|
55
|
+
|
|
56
|
+
| Type | Effort | Impact | Example |
|
|
57
|
+
|------|--------|--------|---------|
|
|
58
|
+
| **New Agent** | High | High | "Enterprise Compliance Agent" |
|
|
59
|
+
| **New Skill** | High | High | "Database Integration Skill" |
|
|
60
|
+
| **Bug Fix** | Low | Medium | "Fix PDFMerge timeout" |
|
|
61
|
+
| **Documentation** | Low | Medium | "Add examples to agent docs" |
|
|
62
|
+
| **Improvement** | Medium | Medium | "Optimize agent startup time" |
|
|
63
|
+
| **Test** | Medium | Medium | "Add comprehensive tests" |
|
|
64
|
+
|
|
65
|
+
### Choosing a Contribution
|
|
66
|
+
|
|
67
|
+
**If you want to help but don't know how:**
|
|
68
|
+
1. Look at open issues
|
|
69
|
+
2. Pick a "good first issue"
|
|
70
|
+
3. Comment "I'd like to work on this"
|
|
71
|
+
4. Maintainer assigns it
|
|
72
|
+
5. Follow submission process
|
|
73
|
+
|
|
74
|
+
**If you have your own idea:**
|
|
75
|
+
1. Open an issue first
|
|
76
|
+
2. Describe what and why
|
|
77
|
+
3. Wait for feedback
|
|
78
|
+
4. Start work once approved
|
|
79
|
+
|
|
80
|
+
## Adding Custom Agents
|
|
81
|
+
|
|
82
|
+
### Agent File Structure
|
|
83
|
+
|
|
84
|
+
Create a new file in `agents/`:
|
|
85
|
+
|
|
86
|
+
```markdown
|
|
87
|
+
---
|
|
88
|
+
name: your-agent-name
|
|
89
|
+
description: "Clear description of what this agent does"
|
|
90
|
+
model: inherit
|
|
91
|
+
color: color-name
|
|
92
|
+
---
|
|
93
|
+
|
|
94
|
+
# Agent Persona and Purpose
|
|
95
|
+
|
|
96
|
+
Clear description of the agent's role, expertise, and how it helps users.
|
|
97
|
+
|
|
98
|
+
## Core Operating Principles
|
|
99
|
+
|
|
100
|
+
1. **Principle One** - Explanation
|
|
101
|
+
2. **Principle Two** - Explanation
|
|
102
|
+
3. **Principle Three** - Explanation
|
|
103
|
+
|
|
104
|
+
## Commands (if applicable)
|
|
105
|
+
|
|
106
|
+
- **\*command-name** - Description of what command does
|
|
107
|
+
- **\*another-command** - Description
|
|
108
|
+
|
|
109
|
+
## Resource Dependencies
|
|
110
|
+
|
|
111
|
+
List any resources the agent uses:
|
|
112
|
+
- **Templates** (~/.claude/templates): list templates
|
|
113
|
+
- **Data** (~/.claude/data): list data files
|
|
114
|
+
- **Checklists** (~/.claude/checklists): list checklists
|
|
115
|
+
|
|
116
|
+
## Workflow Patterns
|
|
117
|
+
|
|
118
|
+
Description of typical workflows and usage patterns.
|
|
119
|
+
|
|
120
|
+
## Execution Guidelines
|
|
121
|
+
|
|
122
|
+
How the agent should execute and behave.
|
|
123
|
+
|
|
124
|
+
---
|
|
125
|
+
|
|
126
|
+
[Rest of agent definition with detailed instructions]
|
|
127
|
+
```
|
|
128
|
+
|
|
129
|
+
### Naming Conventions
|
|
130
|
+
|
|
131
|
+
**Agent Names:**
|
|
132
|
+
- Use lowercase with hyphens: `data-analyst`, `api-designer`
|
|
133
|
+
- Be descriptive: `api-designer` not `dev2`
|
|
134
|
+
- Avoid generic: `architect` is better than `design-person`
|
|
135
|
+
|
|
136
|
+
**File Names:**
|
|
137
|
+
- Use agent name as filename: `agents/data-analyst.md`
|
|
138
|
+
- Use hyphens not underscores
|
|
139
|
+
- Numbered prefix if workflow dependent: `1-prepare-data.md`
|
|
140
|
+
|
|
141
|
+
**Agent ID (in frontmatter):**
|
|
142
|
+
- Must match filename (without .md)
|
|
143
|
+
- Lowercase with hyphens
|
|
144
|
+
- Used in manifests and @ mentions
|
|
145
|
+
|
|
146
|
+
### Agent Quality Checklist
|
|
147
|
+
|
|
148
|
+
Before submitting an agent, ensure:
|
|
149
|
+
|
|
150
|
+
- [ ] **Clear Purpose** - Agent's role is immediately clear
|
|
151
|
+
- [ ] **Unique Value** - Doesn't duplicate existing agents
|
|
152
|
+
- [ ] **Well-Documented** - Instructions are clear and complete
|
|
153
|
+
- [ ] **Follows Format** - Uses standard markdown + YAML structure
|
|
154
|
+
- [ ] **Has Commands** - If applicable, includes command interface
|
|
155
|
+
- [ ] **Error Handling** - Describes how agent handles errors
|
|
156
|
+
- [ ] **Examples** - Includes usage examples
|
|
157
|
+
- [ ] **Dependencies** - Lists all resources used
|
|
158
|
+
- [ ] **No Secrets** - No API keys, passwords, or credentials in agent definition
|
|
159
|
+
- [ ] **Tested** - Tested in actual Claude conversations
|
|
160
|
+
|
|
161
|
+
### Example Custom Agent
|
|
162
|
+
|
|
163
|
+
```markdown
|
|
164
|
+
---
|
|
165
|
+
name: data-analyst
|
|
166
|
+
description: Specialized agent for data analysis, visualization, and insight generation from datasets
|
|
167
|
+
model: inherit
|
|
168
|
+
color: purple
|
|
169
|
+
---
|
|
170
|
+
|
|
171
|
+
# Data Analyst Agent
|
|
172
|
+
|
|
173
|
+
An expert data analyst who transforms raw datasets into actionable insights through visualization, statistical analysis, and trend identification.
|
|
174
|
+
|
|
175
|
+
## Core Operating Principles
|
|
176
|
+
|
|
177
|
+
1. **Data-Driven Decision Making** - All recommendations backed by data and analysis
|
|
178
|
+
2. **Clear Communication** - Explain findings in non-technical language
|
|
179
|
+
3. **Pattern Recognition** - Identify trends, outliers, and opportunities
|
|
180
|
+
4. **Best Practices** - Apply statistical and analytical best practices
|
|
181
|
+
|
|
182
|
+
## Commands
|
|
183
|
+
|
|
184
|
+
- **\*analyze {filename}** - Analyze dataset from file
|
|
185
|
+
- **\*visualize {data}** - Create visualization of data
|
|
186
|
+
- **\*trend-analysis** - Identify trends and patterns
|
|
187
|
+
- **\*anomaly-detection** - Find outliers and anomalies
|
|
188
|
+
- **\*summary {filename}** - Generate analysis summary
|
|
189
|
+
- **\*help** - Show all commands
|
|
190
|
+
- **\*exit** - Exit agent
|
|
191
|
+
|
|
192
|
+
## Resource Dependencies
|
|
193
|
+
|
|
194
|
+
- **Templates** (~/.claude/templates): analysis-tmpl.yaml, report-tmpl.yaml
|
|
195
|
+
- **Data** (~/.claude/data): statistical-methods.md
|
|
196
|
+
- **Checklists** (~/.claude/checklists): analysis-checklist.md
|
|
197
|
+
|
|
198
|
+
## Workflow Patterns
|
|
199
|
+
|
|
200
|
+
**Typical Analysis Workflow:**
|
|
201
|
+
1. User provides dataset (file, paste, describe)
|
|
202
|
+
2. Agent asks clarifying questions
|
|
203
|
+
3. Agent performs analysis
|
|
204
|
+
4. Agent creates visualizations
|
|
205
|
+
5. Agent generates insights
|
|
206
|
+
6. Agent creates report
|
|
207
|
+
|
|
208
|
+
**Commands Used:**
|
|
209
|
+
- `*analyze [filename]` - Initial analysis
|
|
210
|
+
- `*visualize` - Create charts
|
|
211
|
+
- `*trend-analysis` - Find patterns
|
|
212
|
+
- `*summary` - Export findings
|
|
213
|
+
|
|
214
|
+
## Execution Guidelines
|
|
215
|
+
|
|
216
|
+
1. Always ask for clarification about data goals
|
|
217
|
+
2. Provide data dictionary (column explanations)
|
|
218
|
+
3. Identify and address data quality issues
|
|
219
|
+
4. Use appropriate statistical methods
|
|
220
|
+
5. Explain findings in business language
|
|
221
|
+
6. Provide actionable recommendations
|
|
222
|
+
|
|
223
|
+
[Rest of agent definition continues...]
|
|
224
|
+
```
|
|
225
|
+
|
|
226
|
+
### Testing Your Agent
|
|
227
|
+
|
|
228
|
+
1. **Installation:**
|
|
229
|
+
```bash
|
|
230
|
+
npm link
|
|
231
|
+
```
|
|
232
|
+
|
|
233
|
+
2. **Launch Claude** with toolkit
|
|
234
|
+
|
|
235
|
+
3. **Test in conversation:**
|
|
236
|
+
```
|
|
237
|
+
@Your Agent Name: [test request]
|
|
238
|
+
```
|
|
239
|
+
|
|
240
|
+
4. **Verify:**
|
|
241
|
+
- Agent responds appropriately
|
|
242
|
+
- No errors in console
|
|
243
|
+
- All commands work
|
|
244
|
+
- Resources load correctly
|
|
245
|
+
|
|
246
|
+
5. **Test edge cases:**
|
|
247
|
+
- Empty input
|
|
248
|
+
- Invalid parameters
|
|
249
|
+
- Missing resources
|
|
250
|
+
- Long responses
|
|
251
|
+
|
|
252
|
+
## Adding Custom Skills
|
|
253
|
+
|
|
254
|
+
### Skill Directory Structure
|
|
255
|
+
|
|
256
|
+
Create new directory in `skills/`:
|
|
257
|
+
|
|
258
|
+
```
|
|
259
|
+
skills/your-skill-name/
|
|
260
|
+
├── SKILL.md (Required) Skill definition
|
|
261
|
+
├── SKILL.yaml (Optional) Manifest
|
|
262
|
+
├── examples/ (Optional) Example files
|
|
263
|
+
│ └── example1.md
|
|
264
|
+
├── templates/ (Optional) Templates
|
|
265
|
+
│ └── template.yaml
|
|
266
|
+
├── reference.md (Optional) Reference guide
|
|
267
|
+
└── LICENSE.txt (Optional) License
|
|
268
|
+
```
|
|
269
|
+
|
|
270
|
+
### SKILL.md Format
|
|
271
|
+
|
|
272
|
+
```markdown
|
|
273
|
+
---
|
|
274
|
+
name: your-skill-name
|
|
275
|
+
description: "What this skill does and when to use it"
|
|
276
|
+
license: "License information"
|
|
277
|
+
---
|
|
278
|
+
|
|
279
|
+
# Skill Overview
|
|
280
|
+
|
|
281
|
+
Clear description of the skill's purpose and capabilities.
|
|
282
|
+
|
|
283
|
+
## What It Enables
|
|
284
|
+
|
|
285
|
+
List of key capabilities:
|
|
286
|
+
- Capability one
|
|
287
|
+
- Capability two
|
|
288
|
+
- Capability three
|
|
289
|
+
|
|
290
|
+
## Use Cases
|
|
291
|
+
|
|
292
|
+
Example use cases for this skill:
|
|
293
|
+
- Use case one: Description
|
|
294
|
+
- Use case two: Description
|
|
295
|
+
|
|
296
|
+
## Getting Started
|
|
297
|
+
|
|
298
|
+
Quick start instructions.
|
|
299
|
+
|
|
300
|
+
## Key Features
|
|
301
|
+
|
|
302
|
+
- Feature one
|
|
303
|
+
- Feature two
|
|
304
|
+
- Feature three
|
|
305
|
+
|
|
306
|
+
## Integration
|
|
307
|
+
|
|
308
|
+
How this skill integrates with agents and other skills.
|
|
309
|
+
|
|
310
|
+
## Examples
|
|
311
|
+
|
|
312
|
+
Practical examples of how to use the skill.
|
|
313
|
+
|
|
314
|
+
## Troubleshooting
|
|
315
|
+
|
|
316
|
+
Common issues and solutions.
|
|
317
|
+
|
|
318
|
+
## Advanced Usage
|
|
319
|
+
|
|
320
|
+
Advanced features and patterns.
|
|
321
|
+
```
|
|
322
|
+
|
|
323
|
+
### Skill Naming Conventions
|
|
324
|
+
|
|
325
|
+
**Skill Names:**
|
|
326
|
+
- Use lowercase with hyphens: `data-export`, `api-client`
|
|
327
|
+
- Be descriptive and specific
|
|
328
|
+
- Avoid generic names: `analytics-pro` not `analytics`
|
|
329
|
+
|
|
330
|
+
**Directory Names:**
|
|
331
|
+
- Match skill name: `skills/data-export/`
|
|
332
|
+
- Use hyphens not underscores
|
|
333
|
+
- One skill per directory
|
|
334
|
+
|
|
335
|
+
**Skill ID (in manifest):**
|
|
336
|
+
- Must match directory name
|
|
337
|
+
- Used in manifest declaration
|
|
338
|
+
|
|
339
|
+
### Skill Quality Checklist
|
|
340
|
+
|
|
341
|
+
Before submitting a skill:
|
|
342
|
+
|
|
343
|
+
- [ ] **Clear Purpose** - Skill purpose immediately obvious
|
|
344
|
+
- [ ] **Well-Documented** - SKILL.md is comprehensive
|
|
345
|
+
- [ ] **Unique Value** - Doesn't duplicate existing skills
|
|
346
|
+
- [ ] **Use Cases** - Includes real-world use cases
|
|
347
|
+
- [ ] **Examples** - Provides working examples
|
|
348
|
+
- [ ] **Integration** - Works well with agents
|
|
349
|
+
- [ ] **Error Handling** - Handles errors gracefully
|
|
350
|
+
- [ ] **No Secrets** - No hardcoded credentials
|
|
351
|
+
- [ ] **Tested** - Verified to work as documented
|
|
352
|
+
- [ ] **Licensed** - Includes license information
|
|
353
|
+
|
|
354
|
+
### Example Custom Skill
|
|
355
|
+
|
|
356
|
+
```markdown
|
|
357
|
+
---
|
|
358
|
+
name: database-integration
|
|
359
|
+
description: Connect to databases, execute queries, and export results for agent use
|
|
360
|
+
license: MIT - See LICENSE.txt
|
|
361
|
+
---
|
|
362
|
+
|
|
363
|
+
# Database Integration Skill
|
|
364
|
+
|
|
365
|
+
Enable agents to connect to databases, execute queries, retrieve data, and export results.
|
|
366
|
+
|
|
367
|
+
## What It Enables
|
|
368
|
+
|
|
369
|
+
- Connect to multiple database types (PostgreSQL, MySQL, MongoDB, SQLite)
|
|
370
|
+
- Execute read queries safely
|
|
371
|
+
- Retrieve and format results
|
|
372
|
+
- Export data in multiple formats (JSON, CSV, Excel)
|
|
373
|
+
- Create database backups
|
|
374
|
+
|
|
375
|
+
## Use Cases
|
|
376
|
+
|
|
377
|
+
- **Data Analytics** - Query analytics database, export metrics
|
|
378
|
+
- **Reporting** - Generate reports from live data
|
|
379
|
+
- **Data Migration** - Transfer data between systems
|
|
380
|
+
- **Integration** - Connect external data sources
|
|
381
|
+
|
|
382
|
+
## Getting Started
|
|
383
|
+
|
|
384
|
+
1. Configure database connection
|
|
385
|
+
2. Test connection with simple query
|
|
386
|
+
3. Query data as needed
|
|
387
|
+
4. Export results in desired format
|
|
388
|
+
|
|
389
|
+
## Key Features
|
|
390
|
+
|
|
391
|
+
- Multiple database support
|
|
392
|
+
- Query safety checks
|
|
393
|
+
- Result formatting
|
|
394
|
+
- Export options
|
|
395
|
+
- Connection pooling
|
|
396
|
+
- Error handling
|
|
397
|
+
|
|
398
|
+
## Integration
|
|
399
|
+
|
|
400
|
+
Works with:
|
|
401
|
+
- **Business Analyst** - Data analysis
|
|
402
|
+
- **Full-Stack Developer** - Data access
|
|
403
|
+
- **QA Test Architect** - Test data management
|
|
404
|
+
|
|
405
|
+
## Examples
|
|
406
|
+
|
|
407
|
+
### Connect to Database
|
|
408
|
+
```
|
|
409
|
+
@Master: Connect to the analytics database
|
|
410
|
+
Host: analytics.company.com
|
|
411
|
+
Database: metrics
|
|
412
|
+
```
|
|
413
|
+
|
|
414
|
+
### Query Data
|
|
415
|
+
```
|
|
416
|
+
@Business Analyst: Query the sales metrics for Q4
|
|
417
|
+
```
|
|
418
|
+
|
|
419
|
+
### Export Results
|
|
420
|
+
```
|
|
421
|
+
@Master: Export this data as CSV
|
|
422
|
+
```
|
|
423
|
+
|
|
424
|
+
## Advanced Usage
|
|
425
|
+
|
|
426
|
+
- Connection pooling for performance
|
|
427
|
+
- Query optimization tips
|
|
428
|
+
- Backup and restore procedures
|
|
429
|
+
- Multi-database transactions
|
|
430
|
+
|
|
431
|
+
[Continue with more detail...]
|
|
432
|
+
```
|
|
433
|
+
|
|
434
|
+
### Testing Your Skill
|
|
435
|
+
|
|
436
|
+
1. **Verify directory structure:**
|
|
437
|
+
```bash
|
|
438
|
+
ls -la skills/your-skill-name/
|
|
439
|
+
```
|
|
440
|
+
|
|
441
|
+
2. **Check SKILL.md:**
|
|
442
|
+
- Valid markdown
|
|
443
|
+
- Clear examples
|
|
444
|
+
- No broken links
|
|
445
|
+
|
|
446
|
+
3. **Test with agents:**
|
|
447
|
+
```
|
|
448
|
+
@Master: Use the your-skill-name skill to [task]
|
|
449
|
+
```
|
|
450
|
+
|
|
451
|
+
4. **Verify output:**
|
|
452
|
+
- Results are correct
|
|
453
|
+
- Formatting is good
|
|
454
|
+
- Examples work
|
|
455
|
+
|
|
456
|
+
## Code Style & Standards
|
|
457
|
+
|
|
458
|
+
### Markdown Style
|
|
459
|
+
|
|
460
|
+
- **Headers:** Use proper hierarchy (# ## ###)
|
|
461
|
+
- **Code Blocks:** Use triple backticks with language
|
|
462
|
+
- **Lists:** Use hyphens for unordered, numbers for ordered
|
|
463
|
+
- **Emphasis:** Use **bold** and *italic* appropriately
|
|
464
|
+
- **Links:** Use [text](path) format
|
|
465
|
+
- **Frontmatter:** Use valid YAML
|
|
466
|
+
|
|
467
|
+
### YAML Style
|
|
468
|
+
|
|
469
|
+
```yaml
|
|
470
|
+
---
|
|
471
|
+
# Keep simple and consistent
|
|
472
|
+
name: descriptive-name
|
|
473
|
+
description: "Clear, complete description"
|
|
474
|
+
color: valid-color-name
|
|
475
|
+
---
|
|
476
|
+
```
|
|
477
|
+
|
|
478
|
+
**Valid colors:** red, orange, yellow, green, blue, purple, pink, gray
|
|
479
|
+
|
|
480
|
+
### Naming Conventions
|
|
481
|
+
|
|
482
|
+
**Files:**
|
|
483
|
+
- Use lowercase
|
|
484
|
+
- Use hyphens not underscores
|
|
485
|
+
- Be descriptive
|
|
486
|
+
|
|
487
|
+
**Variables/IDs:**
|
|
488
|
+
- lowercase-with-hyphens
|
|
489
|
+
- Avoid abbreviations
|
|
490
|
+
- Descriptive names
|
|
491
|
+
|
|
492
|
+
**Commands:**
|
|
493
|
+
- Use \* prefix
|
|
494
|
+
- Use hyphens not underscores
|
|
495
|
+
- Descriptive names
|
|
496
|
+
|
|
497
|
+
### Documentation Standards
|
|
498
|
+
|
|
499
|
+
- **Clear language** - Avoid jargon, explain terms
|
|
500
|
+
- **Examples** - Provide real-world examples
|
|
501
|
+
- **Completeness** - Document all features
|
|
502
|
+
- **Consistency** - Match existing documentation style
|
|
503
|
+
- **Accuracy** - Ensure all information is correct
|
|
504
|
+
- **Currency** - Keep up to date
|
|
505
|
+
|
|
506
|
+
## Testing Requirements
|
|
507
|
+
|
|
508
|
+
### Manual Testing
|
|
509
|
+
|
|
510
|
+
Before submitting, test:
|
|
511
|
+
|
|
512
|
+
1. **Basic Functionality:**
|
|
513
|
+
- Agent/skill loads correctly
|
|
514
|
+
- Commands/features work
|
|
515
|
+
- No obvious errors
|
|
516
|
+
|
|
517
|
+
2. **Edge Cases:**
|
|
518
|
+
- Empty input
|
|
519
|
+
- Invalid parameters
|
|
520
|
+
- Missing files
|
|
521
|
+
- Long responses
|
|
522
|
+
|
|
523
|
+
3. **Integration:**
|
|
524
|
+
- Works with other agents
|
|
525
|
+
- Works with other skills
|
|
526
|
+
- Compatible with variants
|
|
527
|
+
|
|
528
|
+
4. **Documentation:**
|
|
529
|
+
- Examples work as shown
|
|
530
|
+
- No broken links
|
|
531
|
+
- Instructions are clear
|
|
532
|
+
|
|
533
|
+
### Validation Checklist
|
|
534
|
+
|
|
535
|
+
Run before submission:
|
|
536
|
+
|
|
537
|
+
```bash
|
|
538
|
+
# Check markdown formatting
|
|
539
|
+
npm run lint:markdown
|
|
540
|
+
|
|
541
|
+
# Validate YAML
|
|
542
|
+
npm run lint:yaml
|
|
543
|
+
|
|
544
|
+
# Check references
|
|
545
|
+
./validate-references.sh
|
|
546
|
+
|
|
547
|
+
# Verify manifest syntax
|
|
548
|
+
npm run validate:manifest
|
|
549
|
+
```
|
|
550
|
+
|
|
551
|
+
### Documentation Tests
|
|
552
|
+
|
|
553
|
+
- [ ] Links work (or are external)
|
|
554
|
+
- [ ] Code examples are accurate
|
|
555
|
+
- [ ] Commands are correct
|
|
556
|
+
- [ ] File paths are correct
|
|
557
|
+
- [ ] No typos or grammar errors
|
|
558
|
+
|
|
559
|
+
## Submission Process
|
|
560
|
+
|
|
561
|
+
### Before Submission
|
|
562
|
+
|
|
563
|
+
1. **Review your contribution:**
|
|
564
|
+
- Meets quality checklist
|
|
565
|
+
- Passes validation
|
|
566
|
+
- Tested thoroughly
|
|
567
|
+
- No security issues
|
|
568
|
+
|
|
569
|
+
2. **Understand variant system:**
|
|
570
|
+
- Which variant should include your contribution?
|
|
571
|
+
- Update appropriate manifests
|
|
572
|
+
- Ensure backwards compatibility
|
|
573
|
+
|
|
574
|
+
3. **Document properly:**
|
|
575
|
+
- README section complete
|
|
576
|
+
- Examples clear and working
|
|
577
|
+
- Architecture documented
|
|
578
|
+
- Troubleshooting included
|
|
579
|
+
|
|
580
|
+
### Submission Steps
|
|
581
|
+
|
|
582
|
+
1. **Fork Repository:**
|
|
583
|
+
```bash
|
|
584
|
+
git clone https://github.com/anthropic/agentic-toolkit.git
|
|
585
|
+
cd agentic-kit
|
|
586
|
+
git checkout -b feature/your-feature-name
|
|
587
|
+
```
|
|
588
|
+
|
|
589
|
+
2. **Make Changes:**
|
|
590
|
+
- Add your agent/skill files
|
|
591
|
+
- Update manifests as needed
|
|
592
|
+
- Update documentation
|
|
593
|
+
- Commit with clear messages
|
|
594
|
+
|
|
595
|
+
3. **Commit Convention:**
|
|
596
|
+
```bash
|
|
597
|
+
git commit -m "Add [agent|skill]: Your Feature Name
|
|
598
|
+
|
|
599
|
+
- Description of changes
|
|
600
|
+
- Which variant affected
|
|
601
|
+
- Any breaking changes
|
|
602
|
+
- Related issue (if any): #123"
|
|
603
|
+
```
|
|
604
|
+
|
|
605
|
+
4. **Push Branch:**
|
|
606
|
+
```bash
|
|
607
|
+
git push origin feature/your-feature-name
|
|
608
|
+
```
|
|
609
|
+
|
|
610
|
+
5. **Create Pull Request:**
|
|
611
|
+
- Clear title: "Add [Agent|Skill]: Feature Name"
|
|
612
|
+
- Detailed description
|
|
613
|
+
- Link related issues
|
|
614
|
+
- Note variant compatibility
|
|
615
|
+
|
|
616
|
+
6. **PR Template:**
|
|
617
|
+
```markdown
|
|
618
|
+
## What This Adds
|
|
619
|
+
Description of new agent/skill and its purpose.
|
|
620
|
+
|
|
621
|
+
## Type
|
|
622
|
+
- [ ] New Agent
|
|
623
|
+
- [ ] New Skill
|
|
624
|
+
- [ ] Bug Fix
|
|
625
|
+
- [ ] Documentation
|
|
626
|
+
- [ ] Other
|
|
627
|
+
|
|
628
|
+
## Variant Compatibility
|
|
629
|
+
- [ ] Lite
|
|
630
|
+
- [ ] Standard
|
|
631
|
+
- [ ] Pro
|
|
632
|
+
|
|
633
|
+
## Testing
|
|
634
|
+
Description of testing performed.
|
|
635
|
+
|
|
636
|
+
## Manifest Changes
|
|
637
|
+
List of manifest updates.
|
|
638
|
+
|
|
639
|
+
## Related Issues
|
|
640
|
+
Closes #123
|
|
641
|
+
```
|
|
642
|
+
|
|
643
|
+
### Review Process
|
|
644
|
+
|
|
645
|
+
1. **Maintainer Review:**
|
|
646
|
+
- Checks quality standards
|
|
647
|
+
- Verifies testing
|
|
648
|
+
- Reviews documentation
|
|
649
|
+
|
|
650
|
+
2. **Feedback Loop:**
|
|
651
|
+
- May request changes
|
|
652
|
+
- May ask for clarification
|
|
653
|
+
- Working together to improve
|
|
654
|
+
|
|
655
|
+
3. **Approval & Merge:**
|
|
656
|
+
- Once approved, maintainer merges
|
|
657
|
+
- Your contribution is now part of toolkit
|
|
658
|
+
- You're listed as contributor
|
|
659
|
+
|
|
660
|
+
## Community Guidelines
|
|
661
|
+
|
|
662
|
+
### Code of Conduct
|
|
663
|
+
|
|
664
|
+
- **Be Respectful** - Treat all contributors and users with respect
|
|
665
|
+
- **Be Inclusive** - Welcome diverse perspectives and backgrounds
|
|
666
|
+
- **Be Constructive** - Offer helpful feedback and solutions
|
|
667
|
+
- **Be Professional** - Keep discussions focused and productive
|
|
668
|
+
|
|
669
|
+
### Communication
|
|
670
|
+
|
|
671
|
+
- Use English in issues and PRs
|
|
672
|
+
- Be clear and detailed in descriptions
|
|
673
|
+
- Respond to feedback thoughtfully
|
|
674
|
+
- Ask for clarification if needed
|
|
675
|
+
|
|
676
|
+
### Licensing
|
|
677
|
+
|
|
678
|
+
- All contributions must be compatible with project license
|
|
679
|
+
- Include license information for external code
|
|
680
|
+
- Respect open source licenses of dependencies
|
|
681
|
+
|
|
682
|
+
## Getting Help with Contributions
|
|
683
|
+
|
|
684
|
+
### Resources
|
|
685
|
+
|
|
686
|
+
- **[ARCHITECTURE.md](ARCHITECTURE.md)** - Understanding the system
|
|
687
|
+
- **[AGENTS.md](AGENTS.md)** - Agent specifications
|
|
688
|
+
- **[SKILLS.md](SKILLS.md)** - Skill specifications
|
|
689
|
+
- **Existing agents/skills** - Use as templates
|
|
690
|
+
|
|
691
|
+
### Asking for Help
|
|
692
|
+
|
|
693
|
+
1. **Check documentation first**
|
|
694
|
+
2. **Look at similar agents/skills**
|
|
695
|
+
3. **Ask in issue or discussion**
|
|
696
|
+
4. **Contact maintainers** if needed
|
|
697
|
+
|
|
698
|
+
### Common Questions
|
|
699
|
+
|
|
700
|
+
**Q: Can I modify existing agents?**
|
|
701
|
+
A: Yes, improvements welcome. Submit PR with clear explanation.
|
|
702
|
+
|
|
703
|
+
**Q: How do I know what to contribute?**
|
|
704
|
+
A: Check open issues, look at feature requests, or propose your idea.
|
|
705
|
+
|
|
706
|
+
**Q: Do I need special permissions?**
|
|
707
|
+
A: No, anyone can contribute. Just follow submission process.
|
|
708
|
+
|
|
709
|
+
**Q: How long until my PR is reviewed?**
|
|
710
|
+
A: Usually 3-7 days. Check project for updates.
|
|
711
|
+
|
|
712
|
+
**Q: Can I create a variant?**
|
|
713
|
+
A: Custom variants possible but recommend working with maintainers.
|
|
714
|
+
|
|
715
|
+
## Success Stories
|
|
716
|
+
|
|
717
|
+
Celebrate contributions! Successful contributions:
|
|
718
|
+
|
|
719
|
+
- Added to CONTRIBUTORS.md
|
|
720
|
+
- Credited in release notes
|
|
721
|
+
- Recognized in community
|
|
722
|
+
|
|
723
|
+
## Next Steps
|
|
724
|
+
|
|
725
|
+
1. Read [ARCHITECTURE.md](ARCHITECTURE.md)
|
|
726
|
+
2. Review existing agents and skills
|
|
727
|
+
3. Choose contribution type
|
|
728
|
+
4. Create and test
|
|
729
|
+
5. Submit PR with documentation
|
|
730
|
+
6. Work with maintainers on feedback
|
|
731
|
+
7. Celebrate contribution!
|
|
732
|
+
|
|
733
|
+
---
|
|
734
|
+
|
|
735
|
+
**Version:** 1.0.0
|
|
736
|
+
**Last Updated:** Nov 2024
|
|
737
|
+
**Status:** Open for Contributions
|
|
738
|
+
|
|
739
|
+
Thanks for contributing to making Agentic Toolkit better!
|