xiaohongshu
xiaohongshu
failure-criteria
Immediate failure conditions that stop work
Full skill instructions
Task FAILS immediately if any of these conditions are met:
Condition: Operation name contains 'describe' Action: STOP immediately, use 'get' instead Why: 'describe' is reserved for AWS-style APIs. Use standard HTTP verbs.
Condition: API spec contains 4xx or 5xx responses Action: DELETE all error responses Why: Framework handles errors automatically through core error types
Condition: Did not run npm run clean && npm run generate after API changes
Result: TASK FAILED
Fix: Must run generation before implementation
Condition: Operation implemented without tests Result: TASK FAILED Fix: Tests are mandatory, not optional
Condition: Tests written but not run
Result: TASK FAILED
Fix: Must execute npm test and verify pass
Condition: Did not run npm run build
Result: TASK FAILED
Fix: Must verify build succeeds before completion
Condition: Did not run npm run shrinkwrap
Result: TASK FAILED
Fix: Must lock dependencies for npm package
Condition: Used Promise<any> in method signatures
Result: TASK FAILED
Fix: Use generated types from generated/api/
Condition: Stopped before Gate 6 Result: TASK INCOMPLETE Fix: Continue working through all gates
Condition: Schema used in BOTH nested and direct contexts without separation
Criteria: Schema has 10+ properties AND is referenced by other schemas AND has its own endpoint
Action: CREATE separate {Schema}Summary for nested usage
Reference: See api-specification.md Rule #19
Condition: Integration tests contain hardcoded IDs or test data Examples:
const userId = '12345'const email = '[email protected]'
Action: Move ALL test values to .env
Process:const userId = TEST_USER_ID (from .env via Common.ts)
Reference: See testing.md Rule #7Watch for these indicators that work is not complete:
npm test output shownIf user has to say any of these, TASK HAS FAILED:
| Rule | Violation = Task Failure |
|---|---|
| NEVER use 'describe' prefix | ✅ Yes |
| ONLY 200/201 responses | ✅ Yes |
| ALWAYS run generate after API changes | ✅ Yes |
| ALWAYS write tests | ✅ Yes |
| ALWAYS run tests | ✅ Yes |
| ALWAYS build and verify | ✅ Yes |
| ALWAYS run shrinkwrap | ✅ Yes |
NO Promise<any> types | ✅ Yes |
| NO hardcoded test values in integration tests | ✅ Yes |
Gates must be passed in order:
GATES ARE NOT OPTIONAL
Every operation MUST pass through ALL gates sequentially. No shortcuts. No exceptions. Complete or fail.
xiaohongshu
technical spec
product ux expert
database patterns
Conduct multi-agent task orchestration and workflow coordination.
Initialize project with Conductor artifacts (product definition,
Expert in web animations, transitions, and motion design using Framer Motion and CSS
Creates Mermaid and ASCII diagrams for flowcharts, architecture, ERDs, state machines, mindmaps, and more. Use when user mentions diagram, flowchart, mermaid, ASCII diagram, text diagram, terminal diagram, visualize, C4, mindmap, architecture diagram, sequence diagram, ERD, or needs visual docume...
PostgreSQL bindings for H3 hexagonal grid system. Use when working with H3 cells in Postgres, including spatial indexing, geometry/geography integration, and raster analysis.
Context-Driven Development skill for projects using Conductor. Use this skill when you detect a `conductor/` directory in the project, when working on tasks defined in a `plan.md` file, or when the user asks about tracks, specs, or plans. Automatically applies TDD workflow, tracks task completion...
Display project status, active tracks, and next actions
Official Stakpak application containerization standard operating procedure, a step-by-step guidline to properly dockerize applications. This is a rule book curated by the Stakpak Team.
Generate, edit, and beat-sync AI video with leading models in one workspace.
The world's fastest calendar for remote work
Transform Your Design with AI Designer by ImgCreator.ai
Revolutionizing Video Production with AI-Powered Creativity
Extend an image past the frame and let AI fill the new aspect ratio.
Discover your celebrity doppelgänger with StarByFace!
ChainClarity explains 700+ crypto whitepapers in plain English, with layered summaries, comparisons, research tools, alerts, and a $4.99 Pro plan.
Opus.ai: Revolutionize Your Web Experience