From fullstack-agents
Resolve runtime and compile-time errors as a batch operation, not iteratively.
npx claudepluginhub adelabdelgawad/fullstack-agents --plugin fullstack-agentsThis skill uses the workspace's default tool permissions.
Resolve runtime and compile-time errors as a batch operation, not iteratively.
Searches, retrieves, and installs Agent Skills from prompts.chat registry using MCP tools like search_skills and get_skill. Activates for finding skills, browsing catalogs, or extending Claude.
Searches prompts.chat for AI prompt templates by keyword or category, retrieves by ID with variable handling, and improves prompts via AI. Use for discovering or enhancing prompts.
Checks Next.js compilation errors using a running Turbopack dev server after code edits. Fixes actionable issues before reporting complete. Replaces `next build`.
Resolve runtime and compile-time errors as a batch operation, not iteratively.
Use this skill when:
Do NOT use for: Single, isolated errors that can be fixed immediately.
Errors are batch operations, not iterative loops.
Re-running compiler/tests after each fix wastes time and creates noise. Fix ALL errors first, then verify once.
┌─────────────────────────────────────────────────────────────┐
│ 1. COLLECT - Gather all errors from output │
│ • List every error explicitly │
│ • Do NOT attempt fixes yet │
└──────────────────────────┬──────────────────────────────────┘
│
▼
┌─────────────────────────────────────────────────────────────┐
│ 2. ANALYZE - Study errors together │
│ • Identify shared root causes │
│ • Find dependency relationships between errors │
│ • Spot opportunities for single-fix-multiple-errors │
└──────────────────────────┬──────────────────────────────────┘
│
▼
┌─────────────────────────────────────────────────────────────┐
│ 3. RESOLVE - Apply all fixes │
│ • Work on errors conceptually in parallel │
│ • No partial or speculative fixes │
│ • Address every listed error │
└──────────────────────────┬──────────────────────────────────┘
│
▼
┌─────────────────────────────────────────────────────────────┐
│ 4. VERIFY - Single re-run after ALL fixes complete │
│ • Only now run compiler/tests/linter │
│ • Confirm no new errors introduced │
└─────────────────────────────────────────────────────────────┘
Do NOT re-run:
Until: Every error in the collected list has been addressed.
| Don't Do | Why It's Wrong |
|---|---|
| Fix one error, run tests, fix next | Wastes cycles, creates noise |
| Re-run checks after each fix | Same error cascade repeats |
| Ignore secondary/cascading errors | They may reveal root cause |
| Trial-and-error debugging | Undisciplined, slow |
| Speculative "maybe this fixes it" | Fix what you understand |
When collecting errors, enumerate them explicitly:
## Collected Errors (7 total)
1. **TypeError** at `src/utils.ts:45` - Cannot read property 'id' of undefined
2. **TypeError** at `src/utils.ts:52` - Same root cause (uses result from line 45)
3. **ImportError** at `src/index.ts:3` - Module './missing' not found
4. **SyntaxError** at `src/parser.ts:88` - Unexpected token '}'
5. **TypeError** at `src/api.ts:12` - Argument type mismatch
6. **TypeError** at `src/api.ts:34` - Related to #5 (same function signature)
7. **ESLint** at `src/helpers.ts:15` - 'unused' is defined but never used
### Analysis
- Errors #1 and #2: Same root cause - null check missing at line 45
- Errors #5 and #6: Same root cause - function signature changed
- Error #3: Independent - missing file
- Error #4: Independent - syntax issue
- Error #7: Independent - dead code
Multiple errors often share a root cause:
10 type errors → 1 interface change
5 import errors → 1 renamed module
8 test failures → 1 broken fixture
Fix the root cause, not each symptom.
Some errors depend on others:
Error A: Function signature wrong
Error B: Call to function fails (depends on A)
Error C: Test of function fails (depends on A)
Fix A first. B and C may resolve automatically.
Work on independent errors mentally in parallel:
While fixing Error #1 in file A:
- Note what Error #3 in file B needs
- Note what Error #5 in file C needs
Then apply all fixes before re-running anything.
| Phase | Action | Output |
|---|---|---|
| Collect | Run build/test once | Numbered error list |
| Analyze | Study relationships | Root causes identified |
| Resolve | Apply ALL fixes | All errors addressed |
| Verify | Single re-run | Clean or new error list |
| Mistake | Fix |
|---|---|
| "Let me just run tests to see if that worked" | No. Complete all fixes first. |
| "This error might be related" | Don't guess. Analyze the full list. |
| "I'll fix the easy ones first" | Fix by root cause, not difficulty. |
| "The cascade is too long to read" | Read it. That's the job. |