mirror of
https://github.com/affaan-m/everything-claude-code.git
synced 2026-03-30 21:53:28 +08:00
fix: repair opencode config and project metadata
This commit is contained in:
committed by
Affaan Mustafa
parent
dba4c462c4
commit
da4db99c94
@@ -148,7 +148,7 @@ You are an expert planning specialist...
|
||||
"description": "Expert planning specialist...",
|
||||
"mode": "subagent",
|
||||
"model": "anthropic/claude-opus-4-5",
|
||||
"prompt": "{file:.opencode/prompts/agents/planner.txt}",
|
||||
"prompt": "{file:prompts/agents/planner.txt}",
|
||||
"tools": { "read": true, "bash": true }
|
||||
}
|
||||
}
|
||||
@@ -213,7 +213,7 @@ Create a detailed implementation plan for: $ARGUMENTS
|
||||
```json
|
||||
{
|
||||
"instructions": [
|
||||
".opencode/instructions/INSTRUCTIONS.md",
|
||||
"instructions/INSTRUCTIONS.md",
|
||||
"rules/common/security.md",
|
||||
"rules/common/coding-style.md"
|
||||
]
|
||||
|
||||
@@ -189,7 +189,7 @@ Full configuration in `opencode.json`:
|
||||
"$schema": "https://opencode.ai/config.json",
|
||||
"model": "anthropic/claude-sonnet-4-5",
|
||||
"small_model": "anthropic/claude-haiku-4-5",
|
||||
"plugin": ["./.opencode/plugins"],
|
||||
"plugin": ["./plugins"],
|
||||
"instructions": [
|
||||
"skills/tdd-workflow/SKILL.md",
|
||||
"skills/security-review/SKILL.md"
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
"instructions": [
|
||||
"AGENTS.md",
|
||||
"CONTRIBUTING.md",
|
||||
".opencode/instructions/INSTRUCTIONS.md",
|
||||
"instructions/INSTRUCTIONS.md",
|
||||
"skills/tdd-workflow/SKILL.md",
|
||||
"skills/security-review/SKILL.md",
|
||||
"skills/coding-standards/SKILL.md",
|
||||
@@ -20,7 +20,7 @@
|
||||
"skills/eval-harness/SKILL.md"
|
||||
],
|
||||
"plugin": [
|
||||
"./.opencode/plugins"
|
||||
"./plugins"
|
||||
],
|
||||
"agent": {
|
||||
"build": {
|
||||
@@ -38,7 +38,7 @@
|
||||
"description": "Expert planning specialist for complex features and refactoring. Use for implementation planning, architectural changes, or complex refactoring.",
|
||||
"mode": "subagent",
|
||||
"model": "anthropic/claude-opus-4-5",
|
||||
"prompt": "{file:.opencode/prompts/agents/planner.txt}",
|
||||
"prompt": "{file:prompts/agents/planner.txt}",
|
||||
"tools": {
|
||||
"read": true,
|
||||
"bash": true,
|
||||
@@ -50,7 +50,7 @@
|
||||
"description": "Software architecture specialist for system design, scalability, and technical decision-making.",
|
||||
"mode": "subagent",
|
||||
"model": "anthropic/claude-opus-4-5",
|
||||
"prompt": "{file:.opencode/prompts/agents/architect.txt}",
|
||||
"prompt": "{file:prompts/agents/architect.txt}",
|
||||
"tools": {
|
||||
"read": true,
|
||||
"bash": true,
|
||||
@@ -62,7 +62,7 @@
|
||||
"description": "Expert code review specialist. Reviews code for quality, security, and maintainability. Use immediately after writing or modifying code.",
|
||||
"mode": "subagent",
|
||||
"model": "anthropic/claude-opus-4-5",
|
||||
"prompt": "{file:.opencode/prompts/agents/code-reviewer.txt}",
|
||||
"prompt": "{file:prompts/agents/code-reviewer.txt}",
|
||||
"tools": {
|
||||
"read": true,
|
||||
"bash": true,
|
||||
@@ -74,7 +74,7 @@
|
||||
"description": "Security vulnerability detection and remediation specialist. Use after writing code that handles user input, authentication, API endpoints, or sensitive data.",
|
||||
"mode": "subagent",
|
||||
"model": "anthropic/claude-opus-4-5",
|
||||
"prompt": "{file:.opencode/prompts/agents/security-reviewer.txt}",
|
||||
"prompt": "{file:prompts/agents/security-reviewer.txt}",
|
||||
"tools": {
|
||||
"read": true,
|
||||
"bash": true,
|
||||
@@ -86,7 +86,7 @@
|
||||
"description": "Test-Driven Development specialist enforcing write-tests-first methodology. Use when writing new features, fixing bugs, or refactoring code. Ensures 80%+ test coverage.",
|
||||
"mode": "subagent",
|
||||
"model": "anthropic/claude-opus-4-5",
|
||||
"prompt": "{file:.opencode/prompts/agents/tdd-guide.txt}",
|
||||
"prompt": "{file:prompts/agents/tdd-guide.txt}",
|
||||
"tools": {
|
||||
"read": true,
|
||||
"write": true,
|
||||
@@ -98,7 +98,7 @@
|
||||
"description": "Build and TypeScript error resolution specialist. Use when build fails or type errors occur. Fixes build/type errors only with minimal diffs.",
|
||||
"mode": "subagent",
|
||||
"model": "anthropic/claude-opus-4-5",
|
||||
"prompt": "{file:.opencode/prompts/agents/build-error-resolver.txt}",
|
||||
"prompt": "{file:prompts/agents/build-error-resolver.txt}",
|
||||
"tools": {
|
||||
"read": true,
|
||||
"write": true,
|
||||
@@ -110,7 +110,7 @@
|
||||
"description": "End-to-end testing specialist using Playwright. Generates, maintains, and runs E2E tests for critical user flows.",
|
||||
"mode": "subagent",
|
||||
"model": "anthropic/claude-opus-4-5",
|
||||
"prompt": "{file:.opencode/prompts/agents/e2e-runner.txt}",
|
||||
"prompt": "{file:prompts/agents/e2e-runner.txt}",
|
||||
"tools": {
|
||||
"read": true,
|
||||
"write": true,
|
||||
@@ -122,7 +122,7 @@
|
||||
"description": "Documentation and codemap specialist. Use for updating codemaps and documentation.",
|
||||
"mode": "subagent",
|
||||
"model": "anthropic/claude-opus-4-5",
|
||||
"prompt": "{file:.opencode/prompts/agents/doc-updater.txt}",
|
||||
"prompt": "{file:prompts/agents/doc-updater.txt}",
|
||||
"tools": {
|
||||
"read": true,
|
||||
"write": true,
|
||||
@@ -134,7 +134,7 @@
|
||||
"description": "Dead code cleanup and consolidation specialist. Use for removing unused code, duplicates, and refactoring.",
|
||||
"mode": "subagent",
|
||||
"model": "anthropic/claude-opus-4-5",
|
||||
"prompt": "{file:.opencode/prompts/agents/refactor-cleaner.txt}",
|
||||
"prompt": "{file:prompts/agents/refactor-cleaner.txt}",
|
||||
"tools": {
|
||||
"read": true,
|
||||
"write": true,
|
||||
@@ -146,7 +146,7 @@
|
||||
"description": "Expert Go code reviewer specializing in idiomatic Go, concurrency patterns, error handling, and performance.",
|
||||
"mode": "subagent",
|
||||
"model": "anthropic/claude-opus-4-5",
|
||||
"prompt": "{file:.opencode/prompts/agents/go-reviewer.txt}",
|
||||
"prompt": "{file:prompts/agents/go-reviewer.txt}",
|
||||
"tools": {
|
||||
"read": true,
|
||||
"bash": true,
|
||||
@@ -158,7 +158,7 @@
|
||||
"description": "Go build, vet, and compilation error resolution specialist. Fixes Go build errors with minimal changes.",
|
||||
"mode": "subagent",
|
||||
"model": "anthropic/claude-opus-4-5",
|
||||
"prompt": "{file:.opencode/prompts/agents/go-build-resolver.txt}",
|
||||
"prompt": "{file:prompts/agents/go-build-resolver.txt}",
|
||||
"tools": {
|
||||
"read": true,
|
||||
"write": true,
|
||||
@@ -170,7 +170,7 @@
|
||||
"description": "PostgreSQL database specialist for query optimization, schema design, security, and performance. Incorporates Supabase best practices.",
|
||||
"mode": "subagent",
|
||||
"model": "anthropic/claude-opus-4-5",
|
||||
"prompt": "{file:.opencode/prompts/agents/database-reviewer.txt}",
|
||||
"prompt": "{file:prompts/agents/database-reviewer.txt}",
|
||||
"tools": {
|
||||
"read": true,
|
||||
"write": true,
|
||||
@@ -182,135 +182,135 @@
|
||||
"command": {
|
||||
"plan": {
|
||||
"description": "Create a detailed implementation plan for complex features",
|
||||
"template": "{file:.opencode/commands/plan.md}\n\n$ARGUMENTS",
|
||||
"template": "{file:commands/plan.md}\n\n$ARGUMENTS",
|
||||
"agent": "planner",
|
||||
"subtask": true
|
||||
},
|
||||
"tdd": {
|
||||
"description": "Enforce TDD workflow with 80%+ test coverage",
|
||||
"template": "{file:.opencode/commands/tdd.md}\n\n$ARGUMENTS",
|
||||
"template": "{file:commands/tdd.md}\n\n$ARGUMENTS",
|
||||
"agent": "tdd-guide",
|
||||
"subtask": true
|
||||
},
|
||||
"code-review": {
|
||||
"description": "Review code for quality, security, and maintainability",
|
||||
"template": "{file:.opencode/commands/code-review.md}\n\n$ARGUMENTS",
|
||||
"template": "{file:commands/code-review.md}\n\n$ARGUMENTS",
|
||||
"agent": "code-reviewer",
|
||||
"subtask": true
|
||||
},
|
||||
"security": {
|
||||
"description": "Run comprehensive security review",
|
||||
"template": "{file:.opencode/commands/security.md}\n\n$ARGUMENTS",
|
||||
"template": "{file:commands/security.md}\n\n$ARGUMENTS",
|
||||
"agent": "security-reviewer",
|
||||
"subtask": true
|
||||
},
|
||||
"build-fix": {
|
||||
"description": "Fix build and TypeScript errors with minimal changes",
|
||||
"template": "{file:.opencode/commands/build-fix.md}\n\n$ARGUMENTS",
|
||||
"template": "{file:commands/build-fix.md}\n\n$ARGUMENTS",
|
||||
"agent": "build-error-resolver",
|
||||
"subtask": true
|
||||
},
|
||||
"e2e": {
|
||||
"description": "Generate and run E2E tests with Playwright",
|
||||
"template": "{file:.opencode/commands/e2e.md}\n\n$ARGUMENTS",
|
||||
"template": "{file:commands/e2e.md}\n\n$ARGUMENTS",
|
||||
"agent": "e2e-runner",
|
||||
"subtask": true
|
||||
},
|
||||
"refactor-clean": {
|
||||
"description": "Remove dead code and consolidate duplicates",
|
||||
"template": "{file:.opencode/commands/refactor-clean.md}\n\n$ARGUMENTS",
|
||||
"template": "{file:commands/refactor-clean.md}\n\n$ARGUMENTS",
|
||||
"agent": "refactor-cleaner",
|
||||
"subtask": true
|
||||
},
|
||||
"orchestrate": {
|
||||
"description": "Orchestrate multiple agents for complex tasks",
|
||||
"template": "{file:.opencode/commands/orchestrate.md}\n\n$ARGUMENTS",
|
||||
"template": "{file:commands/orchestrate.md}\n\n$ARGUMENTS",
|
||||
"agent": "planner",
|
||||
"subtask": true
|
||||
},
|
||||
"learn": {
|
||||
"description": "Extract patterns and learnings from session",
|
||||
"template": "{file:.opencode/commands/learn.md}\n\n$ARGUMENTS"
|
||||
"template": "{file:commands/learn.md}\n\n$ARGUMENTS"
|
||||
},
|
||||
"checkpoint": {
|
||||
"description": "Save verification state and progress",
|
||||
"template": "{file:.opencode/commands/checkpoint.md}\n\n$ARGUMENTS"
|
||||
"template": "{file:commands/checkpoint.md}\n\n$ARGUMENTS"
|
||||
},
|
||||
"verify": {
|
||||
"description": "Run verification loop",
|
||||
"template": "{file:.opencode/commands/verify.md}\n\n$ARGUMENTS"
|
||||
"template": "{file:commands/verify.md}\n\n$ARGUMENTS"
|
||||
},
|
||||
"eval": {
|
||||
"description": "Run evaluation against criteria",
|
||||
"template": "{file:.opencode/commands/eval.md}\n\n$ARGUMENTS"
|
||||
"template": "{file:commands/eval.md}\n\n$ARGUMENTS"
|
||||
},
|
||||
"update-docs": {
|
||||
"description": "Update documentation",
|
||||
"template": "{file:.opencode/commands/update-docs.md}\n\n$ARGUMENTS",
|
||||
"template": "{file:commands/update-docs.md}\n\n$ARGUMENTS",
|
||||
"agent": "doc-updater",
|
||||
"subtask": true
|
||||
},
|
||||
"update-codemaps": {
|
||||
"description": "Update codemaps",
|
||||
"template": "{file:.opencode/commands/update-codemaps.md}\n\n$ARGUMENTS",
|
||||
"template": "{file:commands/update-codemaps.md}\n\n$ARGUMENTS",
|
||||
"agent": "doc-updater",
|
||||
"subtask": true
|
||||
},
|
||||
"test-coverage": {
|
||||
"description": "Analyze test coverage",
|
||||
"template": "{file:.opencode/commands/test-coverage.md}\n\n$ARGUMENTS",
|
||||
"template": "{file:commands/test-coverage.md}\n\n$ARGUMENTS",
|
||||
"agent": "tdd-guide",
|
||||
"subtask": true
|
||||
},
|
||||
"setup-pm": {
|
||||
"description": "Configure package manager",
|
||||
"template": "{file:.opencode/commands/setup-pm.md}\n\n$ARGUMENTS"
|
||||
"template": "{file:commands/setup-pm.md}\n\n$ARGUMENTS"
|
||||
},
|
||||
"go-review": {
|
||||
"description": "Go code review",
|
||||
"template": "{file:.opencode/commands/go-review.md}\n\n$ARGUMENTS",
|
||||
"template": "{file:commands/go-review.md}\n\n$ARGUMENTS",
|
||||
"agent": "go-reviewer",
|
||||
"subtask": true
|
||||
},
|
||||
"go-test": {
|
||||
"description": "Go TDD workflow",
|
||||
"template": "{file:.opencode/commands/go-test.md}\n\n$ARGUMENTS",
|
||||
"template": "{file:commands/go-test.md}\n\n$ARGUMENTS",
|
||||
"agent": "tdd-guide",
|
||||
"subtask": true
|
||||
},
|
||||
"go-build": {
|
||||
"description": "Fix Go build errors",
|
||||
"template": "{file:.opencode/commands/go-build.md}\n\n$ARGUMENTS",
|
||||
"template": "{file:commands/go-build.md}\n\n$ARGUMENTS",
|
||||
"agent": "go-build-resolver",
|
||||
"subtask": true
|
||||
},
|
||||
"skill-create": {
|
||||
"description": "Generate skills from git history",
|
||||
"template": "{file:.opencode/commands/skill-create.md}\n\n$ARGUMENTS"
|
||||
"template": "{file:commands/skill-create.md}\n\n$ARGUMENTS"
|
||||
},
|
||||
"instinct-status": {
|
||||
"description": "View learned instincts",
|
||||
"template": "{file:.opencode/commands/instinct-status.md}\n\n$ARGUMENTS"
|
||||
"template": "{file:commands/instinct-status.md}\n\n$ARGUMENTS"
|
||||
},
|
||||
"instinct-import": {
|
||||
"description": "Import instincts",
|
||||
"template": "{file:.opencode/commands/instinct-import.md}\n\n$ARGUMENTS"
|
||||
"template": "{file:commands/instinct-import.md}\n\n$ARGUMENTS"
|
||||
},
|
||||
"instinct-export": {
|
||||
"description": "Export instincts",
|
||||
"template": "{file:.opencode/commands/instinct-export.md}\n\n$ARGUMENTS"
|
||||
"template": "{file:commands/instinct-export.md}\n\n$ARGUMENTS"
|
||||
},
|
||||
"evolve": {
|
||||
"description": "Cluster instincts into skills",
|
||||
"template": "{file:.opencode/commands/evolve.md}\n\n$ARGUMENTS"
|
||||
"template": "{file:commands/evolve.md}\n\n$ARGUMENTS"
|
||||
},
|
||||
"promote": {
|
||||
"description": "Promote project instincts to global scope",
|
||||
"template": "{file:.opencode/commands/promote.md}\n\n$ARGUMENTS"
|
||||
"template": "{file:commands/promote.md}\n\n$ARGUMENTS"
|
||||
},
|
||||
"projects": {
|
||||
"description": "List known projects and instinct stats",
|
||||
"template": "{file:.opencode/commands/projects.md}\n\n$ARGUMENTS"
|
||||
"template": "{file:commands/projects.md}\n\n$ARGUMENTS"
|
||||
}
|
||||
},
|
||||
"permission": {
|
||||
|
||||
Reference in New Issue
Block a user