@abarcenas/ai-workflow-template 1.23.0 → 1.26.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.
Files changed (33) hide show
  1. package/.agents/instructions/agent-skill.instructions.md +18 -20
  2. package/.agents/instructions/agent.instructions.md +111 -570
  3. package/.agents/instructions/ai-prompt-engineering-safety.instructions.md +3 -3
  4. package/.agents/instructions/instructions.instructions.md +6 -7
  5. package/.agents/instructions/learned-knowledge.instructions.md +17 -41
  6. package/.agents/instructions/memory-bank.instructions.md +125 -17
  7. package/.agents/instructions/memory-schema.instructions.md +75 -0
  8. package/.agents/instructions/prompt.instructions.md +25 -30
  9. package/.agents/instructions/task-implementation.instructions.md +12 -5
  10. package/.agents/skills/architecture-blueprint-generator/SKILL.md +63 -18
  11. package/.agents/skills/context-map/SKILL.md +27 -4
  12. package/.agents/skills/conventional-commit/SKILL.md +2 -2
  13. package/.agents/skills/github-issues/SKILL.md +2 -2
  14. package/.agents/skills/graphify-framework-aware/SKILL.md +133 -0
  15. package/.agents/skills/graphify-framework-aware/references/framework-registry.md +95 -0
  16. package/.agents/skills/graphify-framework-aware/scripts/fw-exclude.py +425 -0
  17. package/.agents/skills/memory-search/SKILL.md +69 -0
  18. package/.agents/skills/microsoft-docs/SKILL.md +1 -1
  19. package/.agents/skills/polygot-test-agent/SKILL.md +0 -1
  20. package/.agents/skills/prompt-builder/SKILL.md +15 -14
  21. package/.husky/post-merge +10 -0
  22. package/.husky/pre-commit +2 -0
  23. package/AGENTS.md +54 -0
  24. package/README.md +177 -3
  25. package/memory-bank/.vocabulary.json +52 -0
  26. package/opencode.mcp.example.json +8 -1
  27. package/package.json +25 -5
  28. package/scripts/mcp-memory-server.js +243 -0
  29. package/scripts/memory-cli.js +110 -0
  30. package/scripts/memory-index.js +512 -0
  31. package/scripts/normalize-memory.js +349 -0
  32. package/scripts/sync.test.js +12 -0
  33. package/scripts/validate-memory-schema.js +190 -0
@@ -1,11 +1,11 @@
1
1
  ---
2
- description: "Guidelines for creating high-quality Agent Skills for GitHub Copilot"
3
- applyTo: "**/.github/skills/**/SKILL.md, **/.claude/skills/**/SKILL.md"
2
+ description: "Guidelines for creating high-quality Agent Skills for opencode"
3
+ applyTo: "**/.agents/skills/**/SKILL.md"
4
4
  ---
5
5
 
6
6
  # Agent Skills File Guidelines
7
7
 
8
- Instructions for creating effective and portable Agent Skills that enhance GitHub Copilot with specialized capabilities, workflows, and bundled resources.
8
+ Instructions for creating effective and portable Agent Skills that enhance opencode with specialized capabilities, workflows, and bundled resources.
9
9
 
10
10
  ## What Are Agent Skills?
11
11
 
@@ -13,21 +13,20 @@ Agent Skills are self-contained folders with instructions and bundled resources
13
13
 
14
14
  Key characteristics:
15
15
 
16
- - **Portable**: Works across VS Code, Copilot CLI, and Copilot coding agent
16
+ - **Portable**: Works across opencode environments
17
17
  - **Progressive loading**: Only loaded when relevant to the user's request
18
18
  - **Resource-bundled**: Can include scripts, templates, examples alongside instructions
19
- - **On-demand**: Activated automatically based on prompt relevance
19
+ - **On-demand**: Activated automatically based on task relevance
20
20
 
21
21
  ## Directory Structure
22
22
 
23
- Skills are stored in specific locations:
23
+ Skills are stored in the following standard location:
24
24
 
25
- | Location | Scope | Recommendation |
26
- | -------------------------------- | -------------------- | ---------------------------------- |
27
- | `.github/skills/<skill-name>/` | Project/repository | Recommended for project skills |
28
- | `.claude/skills/<skill-name>/` | Project/repository | Legacy, for backward compatibility |
29
- | `~/.github/skills/<skill-name>/` | Personal (user-wide) | Recommended for personal skills |
30
- | `~/.claude/skills/<skill-name>/` | Personal (user-wide) | Legacy, for backward compatibility |
25
+ | Location | Scope | Recommendation |
26
+ | ---------------------------------- | ------------------ | ---------------------------------- |
27
+ | `.agents/skills/<skill-name>/` | Project/repository | Standard location for all skills |
28
+
29
+ > **Personal skills**: You may also place skills in `~/.config/opencode/skills/<skill-name>/` for user-wide availability across projects. This location is optional and not shown in the table above.
31
30
 
32
31
  Each skill **must** have its own subdirectory containing at minimum a `SKILL.md` file.
33
32
 
@@ -51,7 +50,7 @@ license: Complete terms in LICENSE.txt
51
50
 
52
51
  ### Description Best Practices
53
52
 
54
- **CRITICAL**: The `description` field is the PRIMARY mechanism for automatic skill discovery. Copilot reads ONLY the `name` and `description` to decide whether to load a skill. If your description is vague, the skill will never be activated.
53
+ **CRITICAL**: The `description` field is the PRIMARY mechanism for automatic skill discovery. opencode reads ONLY the `name` and `description` to decide whether to load a skill. If your description is vague, the skill will never be activated.
55
54
 
56
55
  **What to include in description:**
57
56
 
@@ -73,13 +72,13 @@ description: Web testing helpers
73
72
 
74
73
  The poor description fails because:
75
74
 
76
- - No specific triggers (when should Copilot load this?)
75
+ - No specific triggers (when should opencode load this?)
77
76
  - No keywords (what user prompts would match?)
78
77
  - No capabilities (what can it actually do?)
79
78
 
80
79
  ### Body Content
81
80
 
82
- The body contains detailed instructions that Copilot loads AFTER the skill is activated. Recommended sections:
81
+ The body contains detailed instructions that opencode loads AFTER the skill is activated. Recommended sections:
83
82
 
84
83
  | Section | Purpose |
85
84
  | --------------------------- | --------------------------------------------------- |
@@ -92,7 +91,7 @@ The body contains detailed instructions that Copilot loads AFTER the skill is ac
92
91
 
93
92
  ## Bundling Resources
94
93
 
95
- Skills can include additional files that Copilot accesses on-demand:
94
+ Skills can include additional files that opencode accesses on-demand:
96
95
 
97
96
  ### Supported Resource Types
98
97
 
@@ -106,7 +105,7 @@ Skills can include additional files that Copilot accesses on-demand:
106
105
  ### Directory Structure Example
107
106
 
108
107
  ```
109
- .github/skills/my-skill/
108
+ .agents/skills/my-skill/
110
109
  ├── SKILL.md # Required: Main instructions
111
110
  ├── LICENSE.txt # Recommended: License terms (Apache 2.0 typical)
112
111
  ├── scripts/ # Optional: Executable automation
@@ -164,7 +163,7 @@ Skills use three-level loading for efficiency:
164
163
  | --------------- | ----------------------------- | --------------------------------- |
165
164
  | 1. Discovery | `name` and `description` only | Always (lightweight metadata) |
166
165
  | 2. Instructions | Full `SKILL.md` body | When request matches description |
167
- | 3. Resources | Scripts, examples, docs | Only when Copilot references them |
166
+ | 3. Resources | Scripts, examples, docs | Only when opencode references them |
168
167
 
169
168
  This means:
170
169
 
@@ -267,6 +266,5 @@ This ensures traceability and allows resuming workflows if interrupted.
267
266
  ## Related Resources
268
267
 
269
268
  - [Agent Skills Specification](https://agentskills.io/)
270
- - [VS Code Agent Skills Documentation](https://code.visualstudio.com/docs/copilot/customization/agent-skills)
271
269
  - [Reference Skills Repository](https://github.com/anthropics/skills)
272
- - [Awesome Copilot Skills](https://github.com/github/awesome-copilot/blob/main/docs/README.skills.md)
270
+ - [opencode Documentation](https://opencode.ai)