general
General code quality critique principles
$ npx -y skills add nyldn/claude-octopus --agent claude-codeHow it fires
How this agent gets triggered: by you, by Claude, or both.
- Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
- You can call itInvoke it directly when you want it.
Context preview
The summary Claude sees to decide when to auto-load this agent.
General code quality critique principles
Agent definition
general.mdname: general-principles
domain: general
description: General code quality critique principles
General Quality Principles
Code MUST adhere to these quality requirements:
Correctness
1. **Functional Correctness** - Code does what it's supposed to do. All requirements are met.
2. **Edge Case Handling** - Boundary conditions are handled. Empty inputs, nulls, and limits work.
3. **Error Handling** - Errors are caught and handled gracefully. No unhandled exceptions.
Reliability
4. **No Race Conditions** - Concurrent access is properly synchronized.
5. **Resource Management** - Resources are acquired late, released early. No leaks.
6. **Idempotency** - Operations that should be idempotent are implemented correctly.
Code Quality
7. **Readability** - Code is clear and understandable. Intent is obvious.
8. **Simplicity** - Solutions are as simple as possible, but no simpler.
9. **Consistency** - Code follows established patterns and conventions.
Best Practices
10. **Type Safety** - Use types effectively. Avoid any/unknown where possible.
11. **Validation** - Input is validated at boundaries. Output is sanitized.
12. **Logging** - Important events are logged. Errors include context.
Architecture
13. **Modularity** - Code is organized into logical modules. Clear boundaries.
14. **Dependencies** - External dependencies are justified and minimal.
15. **Configuration** - Environment-specific values are configurable.
Checklist
When reviewing code, verify:
- [ ] Code is functionally correct
- [ ] Edge cases are handled
- [ ] Errors are handled appropriately
- [ ] No obvious bugs or issues
- [ ] Code is readable and maintainable
- [ ] Follows project conventions
- [ ] No unnecessary complexity
- [ ] Proper use of types
- [ ] Input validation in place
- [ ] Appropriate logging
Read more
name: general-principles domain: general description: General code quality critique principles
General Quality Principles
Code MUST adhere to these quality requirements:
Correctness
1. **Functional Correctness** - Code does what it's supposed to do. All requirements are met.
2. **Edge Case Handling** - Boundary conditions are handled. Empty inputs, nulls, and limits work.
3. **Error Handling** - Errors are caught and handled gracefully. No unhandled exceptions.
Reliability
4. **No Race Conditions** - Concurrent access is properly synchronized.
5. **Resource Management** - Resources are acquired late, released early. No leaks.
6. **Idempotency** - Operations that should be idempotent are implemented correctly.
Code Quality
7. **Readability** - Code is clear and understandable. Intent is obvious.
8. **Simplicity** - Solutions are as simple as possible, but no simpler.
9. **Consistency** - Code follows established patterns and conventions.
Best Practices
10. **Type Safety** - Use types effectively. Avoid any/unknown where possible.
11. **Validation** - Input is validated at boundaries. Output is sanitized.
12. **Logging** - Important events are logged. Errors include context.
Architecture
13. **Modularity** - Code is organized into logical modules. Clear boundaries.
14. **Dependencies** - External dependencies are justified and minimal.
15. **Configuration** - Environment-specific values are configurable.
Checklist
When reviewing code, verify:
- [ ] Code is functionally correct
- [ ] Edge cases are handled
- [ ] Errors are handled appropriately
- [ ] No obvious bugs or issues
- [ ] Code is readable and maintainable
- [ ] Follows project conventions
- [ ] No unnecessary complexity
- [ ] Proper use of types
- [ ] Input validation in place
- [ ] Appropriate logging
Every AI model has blind spots. Claude Octopus supports ten external provider integrations — Codex, Gemini, Antigravity CLI, Copilot, Qwen, Ollama, Perplexity, OpenRouter, OpenCode, and Grok — alongside the built-in Claude Code host, with consensus gates that
Repo: nyldn/claude-octopus
Other agents on octo.
- backend-architect
Expert backend architect for scalable API design, microservices, and distributed systems. Masters REST/GraphQL/gRPC, event-driven patterns, service mesh, and resilience. Use PROACTIVELY for new backend services or APIs.
Open agent - cloud-architect
Expert cloud architect for AWS/Azure/GCP multi-cloud design, IaC (Terraform/CDK), FinOps, serverless, security, and compliance. Use PROACTIVELY for cloud architecture, cost optimization, or migration planning.
Open agent - code-reviewer
Elite code reviewer for AI-powered analysis, security vulnerabilities, performance, and production reliability. Masters static analysis, security scanning, and 2025/2026 best practices. Use PROACTIVELY for code quality.
Open agent - database-architect
Expert database architect for data layer design, technology selection, schema modeling, and scalable architectures. Masters SQL/NoSQL/TimeSeries, normalization, migration planning. Use PROACTIVELY for database architecture or data modeling.
Open agent - debugger
Debugging specialist for errors, test failures, and unexpected behavior. Use proactively when encountering any issues.
Open agent - docs-architect
Creates comprehensive technical documentation from existing codebases. Analyzes architecture, design patterns, and implementation details to produce long-form technical manuals and ebooks. Use PROACTIVELY for system documentation, architecture guides, or technical deep-dives.
Open agent

