Skip to content

chore: consolidate AI context for OpenCode only - #121

Merged
gabrielbmoro merged 1 commit into
mainfrom
chore/opencode-only-context
Sep 20, 2026
Merged

gabrielbmoro merged 1 commit into
mainfrom
chore/opencode-only-context

Conversation

@gabrielbmoro

Copy link
Copy Markdown
Collaborator

Summary

Makes OpenCode the only supported AI assistant and consolidates the context files.

  • Skills → conventional path: moved ai/skills/ to .opencode/skills/ (the auto-discovered project skill path) preserving history, and removed the now-redundant skills.paths entry from opencode.json.
  • Folded ai/module-graph.md into AGENTS.md and corrected it: the Kotlin chain is actually :androidSampleApp → :sampleApp → :jujubasvg (plus :build-logic convention plugins and :iosSampleApp consuming the sampleApp framework). :sampleApp was previously missing from the graph.
  • Removed other-assistant support files: CLAUDE.md, .cursorrules, .github/copilot-instructions.md, .gemini/context.md, and README-AI-CONTEXT.md (its sole purpose was the multi-assistant pointer architecture).
  • Reconciled AGENTS.md with CI:
    • Build/test commands now match the workflows (flutter pub get in both jujuba_svg/ and sample/, dart analyze from flutter/, ./gradlew jujubasvg:testAndroidHostTest, detekt config path).
    • Documented the base_js.js byte-identical invariant enforced by js-validator.yml.
    • Corrected the version rule — versions are independent per platform, not required to match.
    • Documented the public_member_api_docs lint and added the missing sample modules.

Notes

  • Documentation/config only; no library code changed. No build required.
  • Restart OpenCode after merge for the moved skills/config to load.

Checklist

  • No remaining references to the removed files
  • opencode.json valid against the schema (drops invalid custom skills path usage)
  • Skill frontmatter unchanged (names match folder names)

- Move ai/skills/ to .opencode/skills/ (auto-discovered path); drop the
  custom skills.paths entry from opencode.json.
- Fold ai/module-graph.md into AGENTS.md and correct the sample module
  dependencies (:androidSampleApp -> :sampleApp -> :jujubasvg).
- Update AGENTS.md build commands to match CI (pub get in both Flutter
  packages, dart analyze from flutter/), and document the base_js.js
  parity, independent per-platform versions, and public_member_api_docs.
- Remove pointer files for other assistants (CLAUDE.md, .cursorrules,
  .github/copilot-instructions.md, .gemini/context.md) and
  README-AI-CONTEXT.md.
@github-actions

Copy link
Copy Markdown
Contributor

🦙 MegaLinter status: ⚠️ WARNING

Descriptor Linter Files Fixed Errors Warnings Elapsed time
✅ HTML htmlhint 1 0 0 0.56s
⚠️ JAVASCRIPT standard 2 2 1 0 1.77s
✅ KOTLIN detekt yes no no 2.89s
✅ MARKDOWN markdown-table-formatter 22 4 0 0 0.34s
✅ YAML prettier 15 8 0 0 0.7s

See detailed report in MegaLinter reports

MegaLinter is graciously provided by OX Security

@gabrielbmoro
gabrielbmoro marked this pull request as ready for review September 20, 2026 14:14
@gabrielbmoro
gabrielbmoro merged commit 37a9649 into main Sep 20, 2026
2 checks passed
@gabrielbmoro
gabrielbmoro deleted the chore/opencode-only-context branch September 20, 2026 14:15
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.

1 participant