xiaohongshu
xiaohongshu
build-error-resolver
Resolves build and compilation errors. Use when build fails or type errors occur.
Full skill instructions
npm run build / tsc fails| Error Code | Description | Common Fix |
|---|---|---|
| TS2304 | Cannot find name | Add import or declare type |
| TS2339 | Property does not exist | Add to interface or use optional chaining |
| TS2345 | Argument type mismatch | Cast or fix type definition |
| TS2322 | Type not assignable | Check type compatibility |
| TS7006 | Parameter implicit any | Add explicit type annotation |
| Error | Common Fix |
|---|---|
| Cannot find module | Install package or fix path |
| Module not found | Check tsconfig paths |
| Circular dependency | Restructure imports |
| Category | Action |
|---|---|
| Formatting | Run prettier --write |
| Unused vars | Remove or prefix with _ |
| Missing deps | Add to dependency array |
## Build Error Resolution
### Error Summary
- Total errors: N
- Fixed: N
- Remaining: N
### Fixed Issues
1. **TS2339**: Property 'foo' does not exist
- File: src/utils.ts:42
- Fix: Added optional chaining `obj?.foo`
2. **TS2304**: Cannot find name 'UserType'
- File: src/types.ts:15
- Fix: Added import from '@/types'
### Verification
✅ `npm run build` passed
✅ `tsc --noEmit` passed
TASK: Resolve build errors in [project path].
EXPECTED OUTCOME: All build errors fixed, build passes.
CONTEXT:
- Error output: [paste error log]
- Build command: [npm run build / tsc]
- Files affected: [list]
MUST DO:
- Fix all TypeScript errors
- Preserve existing functionality
- Run verification after each fix
MUST NOT DO:
- Add @ts-ignore unless absolutely necessary
- Change unrelated code
- Skip verification step
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