Skip to content

refactor: extract agent prompts to external files#7

Merged
sven1103 merged 1 commit intomainfrom
fix/kimi-minimax-unsupported-options
Apr 16, 2026
Merged

refactor: extract agent prompts to external files#7
sven1103 merged 1 commit intomainfrom
fix/kimi-minimax-unsupported-options

Conversation

@sven1103-agent
Copy link
Copy Markdown
Collaborator

Summary

  • Extract agent prompts from JSON configs to individual files in prompts/ directory
  • Use OpenCode's {file:./prompts/...} syntax for better debuggability and refactoring
  • Add .gitignore to exclude locally generated opencode.json from occo bundle apply
  • Update manifest with prompt_files for all presets

Benefits

  • Developers can now debug and edit agent prompts in dedicated files instead of navigating large JSON
  • Prompts are versioned in git with proper syntax highlighting
  • Easier to refactor and maintain agent behaviors across presets

Testing

  • Verified JSON configs are valid
  • Tested local bundle with occo source add . --name qbic
  • Applied minimax preset with occo bundle apply qbic --preset minimax --project-root .

…ility

- Move all agent prompts to individual files in prompts/ directory
- Update configs to use {file:./prompts/...} syntax
- Add .gitignore to exclude locally generated opencode.json
- Update manifest with prompt_files for all presets
@sven1103 sven1103 force-pushed the fix/kimi-minimax-unsupported-options branch from ef58fcd to c7318b1 Compare April 16, 2026 08:30
@sven1103 sven1103 merged commit 7a18994 into main Apr 16, 2026
1 check passed
@sven1103 sven1103 deleted the fix/kimi-minimax-unsupported-options branch April 16, 2026 08:37
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.

2 participants