Skip to content
Automation
Agent

general

General code quality critique principles

From plugin
octo
4.3k49 skills49 agents53 commands18 hooks

Claude Code

> /plugin marketplace add nyldn/claude-octopus

Agent definition

general.md
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
Read more
@nyldn
Ships withocto

Every AI model has blind spots. Claude Octopus supports twelve external provider integrations — Codex, Antigravity CLI, Copilot, Qwen, Ollama, Perplexity, OpenRouter, OrcaRouter, OpenCode, Cursor CLI, Grok, and Kimi Code — alongside the built-in Claude Code

4.3k70 skills49 agents
Get the whole plugin

Stars on GitHub

Momentum

stars in total
4.3k
Star history of nyldn/claude-octopus on GitHub, a chart by star-history.com

Other agents on octo.

backend-architect

backend-architect

Agent

Expert backend architect for scalable API design, microservices, and distributed systems. Masters REST/GraphQL/gRPC, event-driven…

@nyldn@nyldnInstall Agent
cloud-architect

cloud-architect

Agent

Expert cloud architect for AWS/Azure/GCP multi-cloud design, IaC (Terraform/CDK), FinOps, serverless, security, and compliance.…

@nyldn@nyldnInstall Agent
code-reviewer

code-reviewer

Agent

Elite code reviewer for AI-powered analysis, security vulnerabilities, performance, and production reliability. Masters static…

@nyldn@nyldnInstall Agent
database-architect

database-architect

Agent

Expert database architect for data layer design, technology selection, schema modeling, and scalable architectures. Masters…

@nyldn@nyldnInstall Agent
debugger

debugger

Agent

Debugging specialist for errors, test failures, and unexpected behavior. Use proactively when encountering any issues.

@nyldn@nyldnInstall Agent
docs-architect

docs-architect

Agent

Creates comprehensive technical documentation from existing codebases. Analyzes architecture, design patterns, and implementation…

@nyldn@nyldnInstall Agent

More agents from other plugins.

BUILT_IN_TOOLS

BUILT_IN_TOOLS

Agent

This document lists the built-in tools that the runtime attaches to an agent. It explains what each tool does and when the…

n8n11d209k
@n8n-io@n8n-ioInstall Agent
aris-fanout-leaf

aris-fanout-leaf

Agent

Read-only leaf worker for one bounded ARIS fan-out shard. Never delegates, writes files, or renders verdicts.

aris11d18k
@wanshuiyin@wanshuiyinInstall Agent
branch-diff-reviewer

branch-diff-reviewer

Agent

Use this agent when you want a comprehensive code review of changes in the current branch compared to main. This includes…

windmill11d18k
@windmill-labs@windmill-labsInstall Agent
GLOBAL

GLOBAL

Agent

本文件包含所有 Agent 必须遵守的通用规则。各 Agent 的 SOUL.md 可覆盖此处设定。

edict6w17k
@cft0808@cft0808Install Agent

Questions about general.

Which coding agents can use general?
general installs in Claude Code and Cursor: each loads subagents from .claude/agents, so copy the file there. Flowy's auto-invocation runs in Claude Code only.