This file provides guidance to OpenCode when working with code in this repository.
Ring is a comprehensive skills library that enforces proven software engineering practices through mandatory workflows, parallel code review, and systematic development.
Skills are loaded on-demand via the native skill tool. See assets/skill/ for available skills.
ring:test-driven-development- RED-GREEN-REFACTOR methodologyring:brainstorming- Socratic design refinementring:requesting-code-review- Parallel 6-reviewer code reviewring:executing-plans- Batch task execution with checkpointsring:using-pm-team- Pre-dev planning workflow (4-gate & 9-gate tracks)ring:visual-explainer- Generate visual HTML diagrams and data tables
- Use
ring:brainstorming(orring:pre-dev-feature/ring:pre-dev-full) to plan - Use
ring:test-driven-developmentfor implementation - Use
ring:requesting-code-reviewbefore merging
Agents are invoked via @ mention or automatically by primary agents.
@ring:repo-research-analyst- Codebase patterns and conventions@ring:best-practices-researcher- External best practices and industry standards@ring:framework-docs-researcher- Tech stack documentation and versions
@ring:code-reviewer- Code quality, architecture, design patterns@ring:business-logic-reviewer- Business rules, domain correctness@ring:security-reviewer- Security vulnerabilities, data protection@ring:test-reviewer- Test quality, coverage, anti-patterns@ring:nil-safety-reviewer- Nil/null pointer safety (Go and TypeScript)@ring:consequences-reviewer- Ripple effects, caller chain impact, downstream breakage
@ring:codebase-explorer- Codebase exploration and analysis@ring:write-plan- Implementation planning
@ring:backend-engineer-golang- Go backend development@ring:backend-engineer-typescript- TypeScript backend development@ring:frontend-engineer- Frontend development@ring:frontend-designer- UI/UX implementation@ring:devops-engineer- Infrastructure and CI/CD@ring:qa-analyst- Testing and quality assurance@ring:sre- Site reliability engineering
Commands are invoked via /ring:command-name.
/ring:commit- Atomic commits with intelligent grouping/ring:codereview- Dispatch all 6 reviewers in parallel/ring:brainstorm- Start design refinement session/ring:pre-dev-feature- Plan small feature (<2 days, 4 gates)/ring:pre-dev-full- Plan large feature (≥2 days, 9 gates)/ring:execute-plan- Batch task execution/ring:write-plan- Create implementation plans/ring:lint- Run lint checks with auto-fix/ring:md-to-html- Transform a markdown file into a standalone, styled HTML page/ring:explore-codebase- Deep codebase analysis/ring:create-handoff- Session state handoff/ring:resume-handoff- Resume from handoff/ring:dev-cycle- Full development cycle/ring:dev-refactor- Codebase refactoring/ring:dev-status- Check development cycle status/ring:dev-report- Generate development report/ring:dev-cancel- Cancel development cycle/ring:worktree- Manage git worktrees
- TDD: Test must fail before implementation
- Review: All 6 reviewers must pass
- Commits: Use conventional commit format
- DRY - Don't Repeat Yourself
- YAGNI - You Aren't Gonna Need It
- TDD - Test-Driven Development
- Frequent commits - Small, atomic changes