ai-eng-system 0.0.11 → 0.0.13
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 +50 -7
- package/dist/.claude-plugin/commands/research.md +3 -0
- package/dist/.claude-plugin/hooks.json +3 -1
- package/dist/.claude-plugin/plugin.json +3 -3
- package/dist/.claude-plugin/skills/AGENTS.md +67 -18
- package/dist/.claude-plugin/skills/{research/comprehensive-research → comprehensive-research}/SKILL.md +1 -1
- package/dist/{skills/prompting → .claude-plugin/skills}/incentive-prompting/SKILL.md +2 -2
- package/dist/{skills/prompting → .claude-plugin/skills}/prompt-refinement/SKILL.md +2 -2
- package/dist/.opencode/command/ai-eng/research.md +3 -0
- package/dist/.opencode/skill/comprehensive-research/SKILL.md +1 -1
- package/dist/.opencode/skill/incentive-prompting/SKILL.md +2 -2
- package/dist/.opencode/skill/prompt-refinement/SKILL.md +2 -2
- package/dist/index.js +44 -0
- package/dist/skills/AGENTS.md +67 -18
- package/dist/skills/{research/comprehensive-research → comprehensive-research}/SKILL.md +1 -1
- package/dist/{.claude-plugin/skills/prompting → skills}/incentive-prompting/SKILL.md +2 -2
- package/dist/{.claude-plugin/skills/prompting → skills}/prompt-refinement/SKILL.md +2 -2
- package/package.json +1 -1
- /package/dist/.claude-plugin/skills/{devops/coolify-deploy → coolify-deploy}/SKILL.md +0 -0
- /package/dist/.claude-plugin/skills/{devops/git-worktree → git-worktree}/SKILL.md +0 -0
- /package/dist/.claude-plugin/skills/{prompting/prompt-refinement → prompt-refinement}/templates/plan.md +0 -0
- /package/dist/.claude-plugin/skills/{prompting/prompt-refinement → prompt-refinement}/templates/research.md +0 -0
- /package/dist/.claude-plugin/skills/{prompting/prompt-refinement → prompt-refinement}/templates/specify.md +0 -0
- /package/dist/.claude-plugin/skills/{prompting/prompt-refinement → prompt-refinement}/templates/work.md +0 -0
- /package/dist/skills/{devops/coolify-deploy → coolify-deploy}/SKILL.md +0 -0
- /package/dist/skills/{devops/git-worktree → git-worktree}/SKILL.md +0 -0
- /package/dist/skills/{prompting/prompt-refinement → prompt-refinement}/templates/plan.md +0 -0
- /package/dist/skills/{prompting/prompt-refinement → prompt-refinement}/templates/research.md +0 -0
- /package/dist/skills/{prompting/prompt-refinement → prompt-refinement}/templates/specify.md +0 -0
- /package/dist/skills/{prompting/prompt-refinement → prompt-refinement}/templates/work.md +0 -0
package/README.md
CHANGED
|
@@ -4,6 +4,31 @@ Advanced development tools with context engineering, research orchestration, and
|
|
|
4
4
|
|
|
5
5
|
## 🚀 Quick Start
|
|
6
6
|
|
|
7
|
+
### Spec-Driven Development (Recommended)
|
|
8
|
+
|
|
9
|
+
This toolkit follows the **spec-driven development methodology** from GitHub's official blog post: [Spec-driven development with AI: Get started with a new open source toolkit](https://github.blog/ai-and-ml/generative-ai/spec-driven-development-with-ai-get-started-with-a-new-open-source-toolkit/).
|
|
10
|
+
|
|
11
|
+
**The 5-Phase Workflow** (always in this order):
|
|
12
|
+
|
|
13
|
+
```mermaid
|
|
14
|
+
flowchart LR
|
|
15
|
+
A[🎯 Research] --> B[📋 Specify] --> C[📝 Plan] --> D[🔨 Work] --> E[🔍 Review]
|
|
16
|
+
D -.->|If changes needed| E
|
|
17
|
+
E -.->|Repeat| D
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
| Phase | Command | Output |
|
|
21
|
+
|-------|---------|--------|
|
|
22
|
+
| 1. Research | `/ai-eng/research` | Context and findings |
|
|
23
|
+
| 2. Specify | `/ai-eng/specify` | Feature specification |
|
|
24
|
+
| 3. Plan | `/ai-eng/plan` | Implementation plan |
|
|
25
|
+
| 4. Work | `/ai-eng/work` | Quality-gated code |
|
|
26
|
+
| 5. Review | `/ai-eng/review` | Multi-agent approval |
|
|
27
|
+
|
|
28
|
+
This approach ensures specifications are your "source of truth" for what gets built, reducing guesswork and enabling more reliable AI-assisted development.
|
|
29
|
+
|
|
30
|
+
See [docs/spec-driven-workflow.md](./docs/spec-driven-workflow.md) for complete workflow guide with examples.
|
|
31
|
+
|
|
7
32
|
### Claude Code (Recommended)
|
|
8
33
|
```bash
|
|
9
34
|
/plugin marketplace add v1truv1us/ai-eng-system
|
|
@@ -22,11 +47,21 @@ Advanced development tools with context engineering, research orchestration, and
|
|
|
22
47
|
```
|
|
23
48
|
## 📋 What's Included
|
|
24
49
|
|
|
25
|
-
###
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
50
|
+
### Spec-Driven Development Workflow
|
|
51
|
+
|
|
52
|
+
**Core workflow for systematic development** (always research → specify → plan → work → review):
|
|
53
|
+
|
|
54
|
+
| Phase | Command | Purpose |
|
|
55
|
+
|-------|---------|---------|
|
|
56
|
+
| 1. Research | `/ai-eng/research` | Multi-phase research with codebase and external context |
|
|
57
|
+
| 2. Specify | `/ai-eng/specify` | Create feature specifications with TCRO framework |
|
|
58
|
+
| 3. Plan | `/ai-eng/plan` | Create detailed implementation plans from specs |
|
|
59
|
+
| 4. Work | `/ai-eng/work` | Execute plans with quality gates and validation |
|
|
60
|
+
| 5. Review | `/ai-eng/review` | Multi-perspective code review (29 agents) |
|
|
61
|
+
|
|
62
|
+
> **Methodology**: Based on [GitHub's spec-driven development approach](https://github.blog/ai-and-ml/generative-ai/spec-driven-development-with-ai-get-started-with-a-new-open-source-toolkit/)
|
|
63
|
+
|
|
64
|
+
### Additional Commands (12 total)
|
|
30
65
|
- `/ai-eng/optimize` - Prompt enhancement (+45% quality)
|
|
31
66
|
- `/ai-eng/deploy` - Pre-deployment checklists
|
|
32
67
|
- `/ai-eng/compound` - Document solved problems
|
|
@@ -36,9 +71,11 @@ Advanced development tools with context engineering, research orchestration, and
|
|
|
36
71
|
- `/ai-eng/create-command` - AI-assisted command generation
|
|
37
72
|
- `/ai-eng/create-skill` - AI-assisted skill creation
|
|
38
73
|
- `/ai-eng/create-tool` - AI-assisted custom tool creation
|
|
39
|
-
- `/ai-eng/research` - Multi-phase research orchestration
|
|
40
74
|
- `/ai-eng/context` - Context management and retrieval
|
|
41
75
|
- `/ai-eng/clean` - Remove build artifacts and generated files
|
|
76
|
+
- `/ai-eng/seo` - SEO audits with Core Web Vitals
|
|
77
|
+
|
|
78
|
+
**Total Commands**: 17
|
|
42
79
|
|
|
43
80
|
### Agents (29 total)
|
|
44
81
|
- **Architecture & Planning**: `architect-advisor`, `backend-architect`, `infrastructure-builder`
|
|
@@ -163,4 +200,10 @@ Commands reference specialized agents automatically:
|
|
|
163
200
|
/ai-eng/review --agent=backend-architect # Architecture review
|
|
164
201
|
```
|
|
165
202
|
|
|
166
|
-
**Built with research-backed prompting techniques** (+45-115% quality improvement)
|
|
203
|
+
**Built with research-backed prompting techniques** (+45-115% quality improvement)
|
|
204
|
+
|
|
205
|
+
## 📖 Workflow Guide
|
|
206
|
+
|
|
207
|
+
For complete documentation on the **Research → Specify → Plan → Work → Review** workflow, see:
|
|
208
|
+
- **[docs/spec-driven-workflow.md](./docs/spec-driven-workflow.md)** - Visual workflow guide with examples
|
|
209
|
+
- **[docs/research-command-guide.md](./docs/research-command-guide.md)** - Research command deep dive
|
|
@@ -33,6 +33,9 @@ outputs:
|
|
|
33
33
|
|
|
34
34
|
Conduct comprehensive research for: $ARGUMENTS
|
|
35
35
|
|
|
36
|
+
> **Phase 1 of Spec-Driven Workflow**: Research → Specify → Plan → Work → Review
|
|
37
|
+
> See: [GitHub's spec-driven development methodology](https://github.blog/ai-and-ml/generative-ai/spec-driven-development-with-ai-get-started-with-a-new-open-source-toolkit/)
|
|
38
|
+
|
|
36
39
|
## Usage
|
|
37
40
|
|
|
38
41
|
```bash
|
|
@@ -3,10 +3,12 @@
|
|
|
3
3
|
"SessionStart": [
|
|
4
4
|
{
|
|
5
5
|
"description": "Initialize ai-eng-system on session start",
|
|
6
|
+
"config": {},
|
|
6
7
|
"hooks": [
|
|
7
8
|
{
|
|
8
9
|
"type": "notification",
|
|
9
|
-
"
|
|
10
|
+
"config": {},
|
|
11
|
+
"message": "🔧 Ferg Engineering System loaded. Commands: /ai-eng/plan, /ai-eng/review, /ai-eng/seo, /ai-eng/work, /ai-eng/compound, /ai-eng/deploy, /ai-eng/optimize, /ai-eng/recursive-init, /ai-eng/create-plugin, /ai-eng/create-agent, /ai-eng/create-command, /ai-eng/create-skill, /ai-eng/create-tool, /ai-eng/research, /ai-eng/context"
|
|
10
12
|
}
|
|
11
13
|
]
|
|
12
14
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ai-eng-system",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.13",
|
|
4
4
|
"description": "AI Engineering System with context engineering and research orchestration for Claude Code",
|
|
5
5
|
"author": "v1truv1us",
|
|
6
6
|
"license": "MIT",
|
|
@@ -18,9 +18,9 @@
|
|
|
18
18
|
"./commands/recursive-init.md",
|
|
19
19
|
"./commands/work.md",
|
|
20
20
|
"./commands/plan.md",
|
|
21
|
-
"./commands/research.md",
|
|
22
21
|
"./commands/review.md",
|
|
23
22
|
"./commands/clean.md",
|
|
24
|
-
"./commands/specify.md"
|
|
23
|
+
"./commands/specify.md",
|
|
24
|
+
"./commands/research.md"
|
|
25
25
|
]
|
|
26
26
|
}
|
|
@@ -7,31 +7,80 @@
|
|
|
7
7
|
Modular, reusable skill definitions that support the agents defined in the parent AGENTS.md.
|
|
8
8
|
|
|
9
9
|
## Project Overview
|
|
10
|
-
|
|
10
|
+
|
|
11
|
+
Flat directory structure of skill definitions for Claude Code and OpenCode. Each skill is self-contained in its own directory with a `SKILL.md` file and optional supporting files.
|
|
11
12
|
|
|
12
13
|
## Directory Structure
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
-
|
|
17
|
-
|
|
14
|
+
|
|
15
|
+
```
|
|
16
|
+
skills/
|
|
17
|
+
├── comprehensive-research/ # Multi-phase research orchestration
|
|
18
|
+
│ └── SKILL.md
|
|
19
|
+
├── coolify-deploy/ # Coolify deployment best practices
|
|
20
|
+
│ └── SKILL.md
|
|
21
|
+
├── git-worktree/ # Git worktree workflows
|
|
22
|
+
│ └── SKILL.md
|
|
23
|
+
├── incentive-prompting/ # Research-backed prompting techniques
|
|
24
|
+
│ └── SKILL.md
|
|
25
|
+
├── plugin-dev/ # Plugin development knowledge base
|
|
26
|
+
│ ├── SKILL.md
|
|
27
|
+
│ └── references/ # Supporting documentation
|
|
28
|
+
├── prompt-refinement/ # TCRO prompt structuring
|
|
29
|
+
│ ├── SKILL.md
|
|
30
|
+
│ └── templates/ # Phase-specific templates
|
|
31
|
+
├── text-cleanup/ # AI verbosity removal patterns
|
|
32
|
+
│ ├── SKILL.md
|
|
33
|
+
│ └── patterns/ # Pattern definitions
|
|
34
|
+
└── AGENTS.md # This file
|
|
35
|
+
```
|
|
36
|
+
|
|
37
|
+
## Skill Format
|
|
38
|
+
|
|
39
|
+
Each skill follows the Claude Code/OpenCode skill format:
|
|
40
|
+
|
|
41
|
+
```markdown
|
|
42
|
+
---
|
|
43
|
+
name: skill-name
|
|
44
|
+
description: Brief description for semantic matching. Include trigger words.
|
|
45
|
+
---
|
|
46
|
+
|
|
47
|
+
# Skill Name
|
|
48
|
+
|
|
49
|
+
[Skill instructions and content]
|
|
50
|
+
```
|
|
51
|
+
|
|
52
|
+
## Available Skills
|
|
53
|
+
|
|
54
|
+
| Skill | Description | Invoked By |
|
|
55
|
+
|-------|-------------|------------|
|
|
56
|
+
| `prompt-refinement` | Transform prompts into structured TCRO format | `/ai-eng/research`, `/ai-eng/plan`, `/ai-eng/work`, `/ai-eng/specify` |
|
|
57
|
+
| `incentive-prompting` | Research-backed prompting techniques (+45-115% quality) | `/ai-eng/optimize`, agent enhancement |
|
|
58
|
+
| `comprehensive-research` | Multi-phase research orchestration | `/ai-eng/research` |
|
|
59
|
+
| `text-cleanup` | Remove AI-generated verbosity and slop | `/ai-eng/clean` |
|
|
60
|
+
| `coolify-deploy` | Coolify deployment best practices | `/ai-eng/deploy` |
|
|
61
|
+
| `git-worktree` | Git worktree workflow management | `/ai-eng/work` (large features) |
|
|
62
|
+
| `plugin-dev` | Plugin development for Claude Code/OpenCode | `/ai-eng/create-*` commands |
|
|
63
|
+
|
|
64
|
+
## Skill Loading Mechanism
|
|
65
|
+
|
|
66
|
+
Skills are loaded via the native `skill` tool in Claude Code and OpenCode:
|
|
67
|
+
|
|
68
|
+
1. **Discovery**: At startup, skill names and descriptions are indexed
|
|
69
|
+
2. **Activation**: When a request matches a skill's description, the agent invokes `skill({ name: "skill-name" })`
|
|
70
|
+
3. **Loading**: Full `SKILL.md` content is loaded into context
|
|
71
|
+
4. **Execution**: Agent follows the skill's instructions
|
|
18
72
|
|
|
19
73
|
## Code Style
|
|
20
|
-
|
|
21
|
-
-
|
|
74
|
+
|
|
75
|
+
- Each skill has dedicated `SKILL.md` with YAML frontmatter
|
|
76
|
+
- Use descriptive `description` field with trigger words for semantic matching
|
|
22
77
|
- Keep skill descriptions concise and actionable
|
|
23
78
|
- Include practical examples and usage patterns
|
|
24
|
-
|
|
25
|
-
## Key Skills
|
|
26
|
-
**DevOps:**
|
|
27
|
-
- Coolify deployment automation
|
|
28
|
-
- Git worktree management
|
|
29
|
-
|
|
30
|
-
**Prompting:**
|
|
31
|
-
- Incentive-based prompting techniques
|
|
32
|
-
- Research-backed optimization methods
|
|
79
|
+
- Supporting files go in subdirectories (e.g., `templates/`, `patterns/`, `references/`)
|
|
33
80
|
|
|
34
81
|
## Integration Notes
|
|
82
|
+
|
|
35
83
|
- Skills integrate with parent AGENTS.md coordination system
|
|
36
84
|
- Must maintain compatibility with command implementations
|
|
37
|
-
- Each skill should be self-contained and reusable
|
|
85
|
+
- Each skill should be self-contained and reusable
|
|
86
|
+
- Skills are synced to `.claude/skills/` and `.opencode/skill/` during build
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: comprehensive-research
|
|
3
|
-
description: Multi-phase research orchestration
|
|
3
|
+
description: Multi-phase research orchestration for thorough codebase, documentation, and external knowledge investigation. Invoked by /ai-eng/research command. Use when conducting deep analysis, exploring codebases, investigating patterns, or synthesizing findings from multiple sources.
|
|
4
4
|
version: 1.0.0
|
|
5
5
|
tags: [research, analysis, discovery, documentation, synthesis, multi-agent]
|
|
6
6
|
---
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: incentive-prompting
|
|
3
|
-
description: Research-backed prompting techniques for improved AI response quality
|
|
3
|
+
description: Research-backed prompting techniques for improved AI response quality (+45-115% improvement). Use when optimizing prompts, enhancing agent instructions, or when maximum response quality is critical. Invoked by /ai-eng/optimize command. Includes expert persona, stakes language, step-by-step reasoning, challenge framing, and self-evaluation techniques.
|
|
4
4
|
version: 1.0.0
|
|
5
|
-
tags: [prompting, optimization, ai-enhancement]
|
|
5
|
+
tags: [prompting, optimization, ai-enhancement, quality]
|
|
6
6
|
---
|
|
7
7
|
|
|
8
8
|
# Incentive-Based Prompting Skill
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: prompt-refinement
|
|
3
|
-
description: Transform
|
|
3
|
+
description: Transform prompts into structured TCRO format with phase-specific clarification. Automatically invoked by /ai-eng/research, /ai-eng/plan, /ai-eng/work, and /ai-eng/specify commands. Use when refining vague prompts, structuring requirements, or enhancing user input quality before execution.
|
|
4
4
|
version: 1.0.0
|
|
5
5
|
tags: [prompting, clarification, structuring, tcro]
|
|
6
6
|
---
|
|
@@ -141,7 +141,7 @@ Phase: [research|specify|plan|work]
|
|
|
141
141
|
Phase-specific templates are located in `templates/`:
|
|
142
142
|
|
|
143
143
|
```
|
|
144
|
-
skills/
|
|
144
|
+
skills/prompt-refinement/
|
|
145
145
|
├── SKILL.md
|
|
146
146
|
└── templates/
|
|
147
147
|
├── research.md
|
|
@@ -33,6 +33,9 @@ outputs:
|
|
|
33
33
|
|
|
34
34
|
Conduct comprehensive research for: $ARGUMENTS
|
|
35
35
|
|
|
36
|
+
> **Phase 1 of Spec-Driven Workflow**: Research → Specify → Plan → Work → Review
|
|
37
|
+
> See: [GitHub's spec-driven development methodology](https://github.blog/ai-and-ml/generative-ai/spec-driven-development-with-ai-get-started-with-a-new-open-source-toolkit/)
|
|
38
|
+
|
|
36
39
|
## Usage
|
|
37
40
|
|
|
38
41
|
```bash
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: comprehensive-research
|
|
3
|
-
description: Multi-phase research orchestration
|
|
3
|
+
description: Multi-phase research orchestration for thorough codebase, documentation, and external knowledge investigation. Invoked by /ai-eng/research command. Use when conducting deep analysis, exploring codebases, investigating patterns, or synthesizing findings from multiple sources.
|
|
4
4
|
version: 1.0.0
|
|
5
5
|
tags: [research, analysis, discovery, documentation, synthesis, multi-agent]
|
|
6
6
|
---
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: incentive-prompting
|
|
3
|
-
description: Research-backed prompting techniques for improved AI response quality
|
|
3
|
+
description: Research-backed prompting techniques for improved AI response quality (+45-115% improvement). Use when optimizing prompts, enhancing agent instructions, or when maximum response quality is critical. Invoked by /ai-eng/optimize command. Includes expert persona, stakes language, step-by-step reasoning, challenge framing, and self-evaluation techniques.
|
|
4
4
|
version: 1.0.0
|
|
5
|
-
tags: [prompting, optimization, ai-enhancement]
|
|
5
|
+
tags: [prompting, optimization, ai-enhancement, quality]
|
|
6
6
|
---
|
|
7
7
|
|
|
8
8
|
# Incentive-Based Prompting Skill
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: prompt-refinement
|
|
3
|
-
description: Transform
|
|
3
|
+
description: Transform prompts into structured TCRO format with phase-specific clarification. Automatically invoked by /ai-eng/research, /ai-eng/plan, /ai-eng/work, and /ai-eng/specify commands. Use when refining vague prompts, structuring requirements, or enhancing user input quality before execution.
|
|
4
4
|
version: 1.0.0
|
|
5
5
|
tags: [prompting, clarification, structuring, tcro]
|
|
6
6
|
---
|
|
@@ -141,7 +141,7 @@ Phase: [research|specify|plan|work]
|
|
|
141
141
|
Phase-specific templates are located in `templates/`:
|
|
142
142
|
|
|
143
143
|
```
|
|
144
|
-
skills/
|
|
144
|
+
skills/prompt-refinement/
|
|
145
145
|
├── SKILL.md
|
|
146
146
|
└── templates/
|
|
147
147
|
├── research.md
|
package/dist/index.js
CHANGED
|
@@ -1,6 +1,41 @@
|
|
|
1
1
|
// src/index.ts
|
|
2
2
|
import fs from "node:fs";
|
|
3
3
|
import path from "node:path";
|
|
4
|
+
|
|
5
|
+
// src/types/common.ts
|
|
6
|
+
function isRecord(value) {
|
|
7
|
+
return typeof value === "object" && value !== null && !Array.isArray(value);
|
|
8
|
+
}
|
|
9
|
+
function isStringRecord(value) {
|
|
10
|
+
if (!isRecord(value))
|
|
11
|
+
return false;
|
|
12
|
+
return Object.values(value).every((v) => typeof v === "string");
|
|
13
|
+
}
|
|
14
|
+
function isObject(value) {
|
|
15
|
+
return typeof value === "object" && value !== null;
|
|
16
|
+
}
|
|
17
|
+
function hasProperty(obj, key) {
|
|
18
|
+
return isRecord(obj) && key in obj;
|
|
19
|
+
}
|
|
20
|
+
function isArray(value) {
|
|
21
|
+
return Array.isArray(value);
|
|
22
|
+
}
|
|
23
|
+
function isString(value) {
|
|
24
|
+
return typeof value === "string";
|
|
25
|
+
}
|
|
26
|
+
function isNumber(value) {
|
|
27
|
+
return typeof value === "number" && !Number.isNaN(value);
|
|
28
|
+
}
|
|
29
|
+
function isBoolean(value) {
|
|
30
|
+
return typeof value === "boolean";
|
|
31
|
+
}
|
|
32
|
+
function getProperty(obj, key, defaultValue) {
|
|
33
|
+
if (!isRecord(obj))
|
|
34
|
+
return defaultValue;
|
|
35
|
+
return key in obj ? obj[key] : defaultValue;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
// src/index.ts
|
|
4
39
|
function copyRecursive(src, dest) {
|
|
5
40
|
const stat = fs.statSync(src);
|
|
6
41
|
if (stat.isDirectory()) {
|
|
@@ -47,5 +82,14 @@ var AiEngSystem = async ({ directory }) => {
|
|
|
47
82
|
return {};
|
|
48
83
|
};
|
|
49
84
|
export {
|
|
85
|
+
isStringRecord,
|
|
86
|
+
isString,
|
|
87
|
+
isRecord,
|
|
88
|
+
isObject,
|
|
89
|
+
isNumber,
|
|
90
|
+
isBoolean,
|
|
91
|
+
isArray,
|
|
92
|
+
hasProperty,
|
|
93
|
+
getProperty,
|
|
50
94
|
AiEngSystem
|
|
51
95
|
};
|
package/dist/skills/AGENTS.md
CHANGED
|
@@ -7,31 +7,80 @@
|
|
|
7
7
|
Modular, reusable skill definitions that support the agents defined in the parent AGENTS.md.
|
|
8
8
|
|
|
9
9
|
## Project Overview
|
|
10
|
-
|
|
10
|
+
|
|
11
|
+
Flat directory structure of skill definitions for Claude Code and OpenCode. Each skill is self-contained in its own directory with a `SKILL.md` file and optional supporting files.
|
|
11
12
|
|
|
12
13
|
## Directory Structure
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
-
|
|
17
|
-
|
|
14
|
+
|
|
15
|
+
```
|
|
16
|
+
skills/
|
|
17
|
+
├── comprehensive-research/ # Multi-phase research orchestration
|
|
18
|
+
│ └── SKILL.md
|
|
19
|
+
├── coolify-deploy/ # Coolify deployment best practices
|
|
20
|
+
│ └── SKILL.md
|
|
21
|
+
├── git-worktree/ # Git worktree workflows
|
|
22
|
+
│ └── SKILL.md
|
|
23
|
+
├── incentive-prompting/ # Research-backed prompting techniques
|
|
24
|
+
│ └── SKILL.md
|
|
25
|
+
├── plugin-dev/ # Plugin development knowledge base
|
|
26
|
+
│ ├── SKILL.md
|
|
27
|
+
│ └── references/ # Supporting documentation
|
|
28
|
+
├── prompt-refinement/ # TCRO prompt structuring
|
|
29
|
+
│ ├── SKILL.md
|
|
30
|
+
│ └── templates/ # Phase-specific templates
|
|
31
|
+
├── text-cleanup/ # AI verbosity removal patterns
|
|
32
|
+
│ ├── SKILL.md
|
|
33
|
+
│ └── patterns/ # Pattern definitions
|
|
34
|
+
└── AGENTS.md # This file
|
|
35
|
+
```
|
|
36
|
+
|
|
37
|
+
## Skill Format
|
|
38
|
+
|
|
39
|
+
Each skill follows the Claude Code/OpenCode skill format:
|
|
40
|
+
|
|
41
|
+
```markdown
|
|
42
|
+
---
|
|
43
|
+
name: skill-name
|
|
44
|
+
description: Brief description for semantic matching. Include trigger words.
|
|
45
|
+
---
|
|
46
|
+
|
|
47
|
+
# Skill Name
|
|
48
|
+
|
|
49
|
+
[Skill instructions and content]
|
|
50
|
+
```
|
|
51
|
+
|
|
52
|
+
## Available Skills
|
|
53
|
+
|
|
54
|
+
| Skill | Description | Invoked By |
|
|
55
|
+
|-------|-------------|------------|
|
|
56
|
+
| `prompt-refinement` | Transform prompts into structured TCRO format | `/ai-eng/research`, `/ai-eng/plan`, `/ai-eng/work`, `/ai-eng/specify` |
|
|
57
|
+
| `incentive-prompting` | Research-backed prompting techniques (+45-115% quality) | `/ai-eng/optimize`, agent enhancement |
|
|
58
|
+
| `comprehensive-research` | Multi-phase research orchestration | `/ai-eng/research` |
|
|
59
|
+
| `text-cleanup` | Remove AI-generated verbosity and slop | `/ai-eng/clean` |
|
|
60
|
+
| `coolify-deploy` | Coolify deployment best practices | `/ai-eng/deploy` |
|
|
61
|
+
| `git-worktree` | Git worktree workflow management | `/ai-eng/work` (large features) |
|
|
62
|
+
| `plugin-dev` | Plugin development for Claude Code/OpenCode | `/ai-eng/create-*` commands |
|
|
63
|
+
|
|
64
|
+
## Skill Loading Mechanism
|
|
65
|
+
|
|
66
|
+
Skills are loaded via the native `skill` tool in Claude Code and OpenCode:
|
|
67
|
+
|
|
68
|
+
1. **Discovery**: At startup, skill names and descriptions are indexed
|
|
69
|
+
2. **Activation**: When a request matches a skill's description, the agent invokes `skill({ name: "skill-name" })`
|
|
70
|
+
3. **Loading**: Full `SKILL.md` content is loaded into context
|
|
71
|
+
4. **Execution**: Agent follows the skill's instructions
|
|
18
72
|
|
|
19
73
|
## Code Style
|
|
20
|
-
|
|
21
|
-
-
|
|
74
|
+
|
|
75
|
+
- Each skill has dedicated `SKILL.md` with YAML frontmatter
|
|
76
|
+
- Use descriptive `description` field with trigger words for semantic matching
|
|
22
77
|
- Keep skill descriptions concise and actionable
|
|
23
78
|
- Include practical examples and usage patterns
|
|
24
|
-
|
|
25
|
-
## Key Skills
|
|
26
|
-
**DevOps:**
|
|
27
|
-
- Coolify deployment automation
|
|
28
|
-
- Git worktree management
|
|
29
|
-
|
|
30
|
-
**Prompting:**
|
|
31
|
-
- Incentive-based prompting techniques
|
|
32
|
-
- Research-backed optimization methods
|
|
79
|
+
- Supporting files go in subdirectories (e.g., `templates/`, `patterns/`, `references/`)
|
|
33
80
|
|
|
34
81
|
## Integration Notes
|
|
82
|
+
|
|
35
83
|
- Skills integrate with parent AGENTS.md coordination system
|
|
36
84
|
- Must maintain compatibility with command implementations
|
|
37
|
-
- Each skill should be self-contained and reusable
|
|
85
|
+
- Each skill should be self-contained and reusable
|
|
86
|
+
- Skills are synced to `.claude/skills/` and `.opencode/skill/` during build
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: comprehensive-research
|
|
3
|
-
description: Multi-phase research orchestration
|
|
3
|
+
description: Multi-phase research orchestration for thorough codebase, documentation, and external knowledge investigation. Invoked by /ai-eng/research command. Use when conducting deep analysis, exploring codebases, investigating patterns, or synthesizing findings from multiple sources.
|
|
4
4
|
version: 1.0.0
|
|
5
5
|
tags: [research, analysis, discovery, documentation, synthesis, multi-agent]
|
|
6
6
|
---
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: incentive-prompting
|
|
3
|
-
description: Research-backed prompting techniques for improved AI response quality
|
|
3
|
+
description: Research-backed prompting techniques for improved AI response quality (+45-115% improvement). Use when optimizing prompts, enhancing agent instructions, or when maximum response quality is critical. Invoked by /ai-eng/optimize command. Includes expert persona, stakes language, step-by-step reasoning, challenge framing, and self-evaluation techniques.
|
|
4
4
|
version: 1.0.0
|
|
5
|
-
tags: [prompting, optimization, ai-enhancement]
|
|
5
|
+
tags: [prompting, optimization, ai-enhancement, quality]
|
|
6
6
|
---
|
|
7
7
|
|
|
8
8
|
# Incentive-Based Prompting Skill
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: prompt-refinement
|
|
3
|
-
description: Transform
|
|
3
|
+
description: Transform prompts into structured TCRO format with phase-specific clarification. Automatically invoked by /ai-eng/research, /ai-eng/plan, /ai-eng/work, and /ai-eng/specify commands. Use when refining vague prompts, structuring requirements, or enhancing user input quality before execution.
|
|
4
4
|
version: 1.0.0
|
|
5
5
|
tags: [prompting, clarification, structuring, tcro]
|
|
6
6
|
---
|
|
@@ -141,7 +141,7 @@ Phase: [research|specify|plan|work]
|
|
|
141
141
|
Phase-specific templates are located in `templates/`:
|
|
142
142
|
|
|
143
143
|
```
|
|
144
|
-
skills/
|
|
144
|
+
skills/prompt-refinement/
|
|
145
145
|
├── SKILL.md
|
|
146
146
|
└── templates/
|
|
147
147
|
├── research.md
|
package/package.json
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/dist/skills/{prompting/prompt-refinement → prompt-refinement}/templates/research.md
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|