Skip to content

Add OpenCode skills config and generation pipeline#75

Open
Piping wants to merge 1 commit intohuggingface:mainfrom
Piping:feat/opencode-skills-config
Open

Add OpenCode skills config and generation pipeline#75
Piping wants to merge 1 commit intohuggingface:mainfrom
Piping:feat/opencode-skills-config

Conversation

@Piping
Copy link
Copy Markdown

@Piping Piping commented Mar 7, 2026

Issue for this PR

Closes #74

Type of change

  • Bug fix
  • New feature
  • Refactor / code improvement
  • Documentation

What does this PR do?

Adds first-class OpenCode integration by introducing generated opencode.json at repo root, wired to all skills under skills/, AGENTS context (agents/AGENTS.md), and MCP settings aligned with existing repo metadata.

To keep this maintainable, it adds scripts/generate_opencode_config.py and integrates generation + check into scripts/publish.sh, so OpenCode artifacts stay in sync with other generated outputs.

Also updates contributor/user docs by adding an OpenCode section in README.md, adding docs/opencode.md, and extending the AGENTS template so generated AGENTS output includes OpenCode compatibility notes.

How did you verify your code works?

  • Ran ./scripts/publish.sh
  • Ran ./scripts/publish.sh --check
  • Confirmed opencode.json includes all discovered skills/*/SKILL.md folders, contextFileName, and mcpServers

Screenshots / recordings

N/A (non-UI change)

Checklist

  • I have tested my changes locally
  • I have not included unrelated changes in this PR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[FEATURE]: add OpenCode skills configuration and generation pipeline

1 participant