Shared OpenCode AI rules and skills for CryptoSharia SvelteKit projects.
@jgordijn/opencode-remote-config (Git sync).Each project includes a .opencode/remote-config.json that points at this repo and tracks main.
Example:
{
"installMethod": "copy",
"repositories": [
{
"url": "https://github.com/cryptosharia/ai-foundation-sveltekit.git",
"ref": "main",
"instructions": "*",
"skills": "*",
"agents": "*",
"commands": "*",
"plugins": "*"
}
]
}
Notes:
main means updates apply automatically on OpenCode startup.instructions, skills, agents, commands, and plugins.opencode
/skills
Expected: you see cryptosharia-api-integration, cryptosharia-planning-pack, cryptosharia-security-audit (and any other skills).
What AI rules do you have?
Expected: it lists the CryptoSharia foundation rules (BFF pattern, security, conventions, planning, SvelteKit rules, etc.).
[remote-config] lines (clone/fetch and discovered skills/instructions).~/.cache/opencode/remote-config/repos/ (exact location may vary by OS).manifest.json
instructions/
skill/
agent/ (optional)
command/ (optional)
plugin/ (optional)
When working inside ai-foundation-sveltekit itself, OpenCode also loads internal repo-only instructions from .agents/rules/*.md (configured in opencode.json).
These internal rules are for maintaining the foundation repo and are not intended to be exported to consuming app repos.
manifest.json lists instruction markdown files that should be imported.instructions/ and remember to update manifest.json.instructions/entrypoint.md.AGENTS.md (repo root) and are not imported into projects.skill/<skill-name>/SKILL.md.references/).skill/README.md.main, only commit to main once you're sure that the changes should be applied in production.