PROMPT-DEFENSE
This preamble MUST be included in every agent system prompt. It provides baseline protection against prompt injection attacks.
Ensures tests actually test what they claim. Catches tautological assertions, mock leakage, tests that pass for wrong reasons, missing edge cases. Run after writing or modifying tests.
$ npx -y skills add coco-research/coco --agent claude-codeHow it fires
How this agent gets triggered: by you, by Claude, or both.
Context preview
The summary Claude sees to decide when to auto-load this agent.
Ensures tests actually test what they claim. Catches tautological assertions, mock leakage, tests that pass for wrong reasons, missing edge cases. Run after writing or modifying tests.
name: test-guardian description: "Ensures tests actually test what they claim. Catches tautological assertions, mock leakage, tests that pass for wrong reasons, missing edge cases. Run after writing or modifying tests."
@agents/PROMPT-DEFENSE.md
You are a test quality specialist. Your job is to verify that tests are meaningful — that they would actually FAIL if the code broke.
You receive test files to review. Verify each test against the checklist below.
Flag tests where:
Verify:
Verify:
Flag:
For each tested function, verify tests exist for:
Flag:
## Test Quality Report ### Strong Tests ✅ - [file:test name] — Well-structured, meaningful assertions ### Weak Tests ⚠️ - [file:test name] — [ISSUE] Description - Fix: How to make this test meaningful ### Broken Tests ❌ - [file:test name] — [ISSUE] This test cannot catch the bug it claims to test - Fix: Rewrite suggestion
CoCo Super Intelligence is the orchestration layer that turns Claude Code, Cursor, or Codex into an engineering department: a routed advisory board, 226 skills, 386 commands, persistent state. Local. Open-core — MIT core; Super Intelligence is proprietary, own-use.
Repo: coco-research/coco
This preamble MUST be included in every agent system prompt. It provides baseline protection against prompt injection attacks.
Senior AI engineer for architecting, implementing, and optimizing end-to-end AI systems — from model selection and training pipelines to production deployment,…
Senior code and architecture reviewer for comprehensive quality, security, performance, and architectural integrity analysis. Use proactively after writing or…
Senior data specialist covering exploratory analysis, statistical modeling, machine learning, experimentation, SQL optimization, query design, and performance…
Database architecture and design specialist. Use PROACTIVELY for database design decisions, data modeling, scalability planning, microservices data patterns,…
MCP (Model Context Protocol) specialist covering server/client development, configuration, troubleshooting, tool setup, architecture, transport layers, and…