xiaohongshu
xiaohongshu
migrate
Interactive cleanup of broken tests and code after a new feature lands. Use this skill when: (1) TDD is complete but the full test suite has failures, (2) the user says "migrate" or "fix broken tests", (3) preparing a branch for PR after feature work.
Full skill instructions
Interactive cleanup after TDD execution. You run the suite, surface breakage, and the user decides what to do about each failure. You execute their decisions.
Activate virtual environments and verify infrastructure before running tests:
# Backend: activate venv (NEVER claim "pytest unavailable" without checking)
cd backend && source venv/bin/activate && python -m pytest --version
# Frontend: verify node_modules
cd frontend && ls node_modules/.bin/vitest
# E2E: start servers if needed for E2E tests
cd backend && source venv/bin/activate && uvicorn app.main:app --port 8001 &
cd frontend && npm run dev -- --port 5174 &
If venv or node_modules don't exist, install dependencies first (pip install -r requirements.txt / npm install).
Run all test layers (with venv activated for backend):
cd backend && source venv/bin/activate && python -m pytest
cd frontend && npm test -- --run
cd e2e && npx playwright test
Collect all failures.
Separate failures into:
| Category | Meaning | Action |
|---|---|---|
| New feature tests failing | Bug in the feature | Flag — TDD didn't complete cleanly |
| Existing tests failing | Cascade from new behavior | Present to user for decision |
All failures are caused by this branch — main is always green.
For each existing test failure caused by the new feature, use AskUserQuestion:
Present:
Options:
Group related failures by topic when possible (e.g., "These 4 tests all assert the old response format for GET /recipes").
For each decision:
Evaluate code changes in this branch for database impact:
If database changes are detected, present to user via AskUserQuestion:
For each migration needed:
If no database changes detected, skip this step.
After all decisions are executed:
Present final state:
Tell the user: "Migration complete. Run /code-review to verify against the plan
before PR."
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