Files
architecture/legacy/old2/skills/templates/background-skill.md
Hugo Nijhuis cc72ad68ed Migrate from Claude Code to OpenCode structure
- Move legacy content to legacy/ folder (old, old2, docs, learnings, scripts)
- Create new .opencode/ structure with skills/, tools/, agents/ folders
- Update Makefile to symlink to ~/.config/opencode/ instead of ~/.claude/
- Update Makefile to manage skills, tools, and agents (remove settings.json)
- Simplify install/uninstall (no backup logic)
- Add README.md documenting the new structure
- Keep settings.json as historical reference
2026-05-02 13:41:59 +02:00

1.1 KiB

name, description, user-invocable
name description user-invocable
skill-name What this skill teaches and when to use it. Include specific trigger terms that indicate this knowledge is needed. false

Skill Name

Brief description of the domain or knowledge this skill covers (1-2 sentences).

Core Concepts

Fundamental ideas Claude needs to understand:

  • Key concept 1
  • Key concept 2
  • Key concept 3

Patterns and Templates

Reusable structures and formats:

Pattern 1: Common Use Case

``` Example code or structure ```

Pattern 2: Another Use Case

``` Another example ```

Guidelines

Rules and best practices:

  • Guideline 1
  • Guideline 2
  • Guideline 3

Examples

Example 1: Simple Case

``` Concrete example showing the skill in action ```

Example 2: Complex Case

``` More advanced example ```

Common Mistakes

Pitfalls to avoid:

  • Mistake 1: Why it's wrong and what to do instead
  • Mistake 2: Why it's wrong and what to do instead

Reference

Quick-reference tables or checklists:

Command Purpose Example
... ... ...