Refactor: Clean up.
NEVER write implementation code without a failing test.NEVER fix a bug without a reproduction case.
Handoff Protocol
[!CAUTION]
BEFORE delegating to next skill:
✅ Final document exists in project/docs/ (not just brain artifact)
✅ File header changed from Draft to Approved
✅ project/docs/ARTIFACT_REGISTRY.md updated to ✅ Done
✅ User approved via notify_user
THEN delegate
Resources
scripts/:
example_script.py: {{SCRIPT_DESC}}
references/:
reference.md: {{REF_DESC}}
1---2name: object-object3description: [object Object]4---56# {{SKILL_TITLE}}78{{SKILL_PURPOSE_SUMMARY}}910> [!IMPORTANT]11> ## First Step: Read Project Config & MCP12> Before making technical decisions, **always check**:13> 14> | File | Purpose |15> |------|---------|16> | `project/CONFIG.yaml` | Stack versions, modules, architecture |17> | `mcp.yaml` | Project MCP server config |18> | `mcp/` | Project-specific MCP tools/resources |19> 20> **Use project MCP server** (named after project, e.g. `mcp_xlinefitness-bot_*`):21> - `list_resources` → see available project data22> - `*_tools` → project-specific actions (db, cache, jobs, etc.)23> 24> **Use `mcp_context7`** for library docs:25> - Check `mcp.yaml → context7.default_libraries` for pre-configured libs26> - Example: `libraryId: /nuxt/nuxt`, query: "Nuxt 4 composables"2728## When to use this skill2930- **Trigger 1**: Description of situation...31- **Trigger 2**: Description of situation...32- **Anti-pattern**: Do NOT use this skill when...3334## Decision Tree3536Before acting, determine the specific scenario:37381. **IF** [Condition A]:39 - Use `scripts/script_a.py`40 - Refer to `references/guide_a.md`412. **IF** [Condition B]:42 - Follow the manual workflow below433. **ELSE**:44 - Ask user for clarification4546## Workflow4748### Phase 1: Preparation491. Verify prerequisites...502. Check for existing files...5152### Phase 2: Execution53> **Tip**: Use `task_boundary` to track progress if this is a long task.54551. Step 1...562. Step 2...5758### Phase 3: Verification591. Run validation checks...602. Notify user...616263## Iteration Protocol (Ephemeral → Persistent)6465> [!IMPORTANT]66> **Phase 1: Draft in Brain**67> - Create drafts as UI Artifacts (in `brain/` conversation directory)68> - Iterate with user via `notify_user` until approved69> - Keep Q&A and sketches here — do NOT pollute `project/docs/`70>71> **Phase 2: Persist on Approval**72> - ONLY after "Looks good" → write final to `project/docs/` path73> - Update file status: `Draft` → `Approved` in header74> - The `project/docs/` folder is the ONLY memory that survives sessions7576## Artifact Ownership7778- **Creates**: `project/docs/<category>/<artifact>.md`79- **Reads**: `<previous skill artifacts>`80- **Updates**: `project/docs/ARTIFACT_REGISTRY.md` (status + timestamp)8182## TDD Protocol8384> [!CAUTION]85> **NO CODE WITHOUT FAILING TEST.**86> - **Red**: Write test → Fail.87> - **Green**: Write code → Pass.88> - **Refactor**: Clean up.89> **NEVER write implementation code without a failing test.**90> **NEVER fix a bug without a reproduction case.**9192## Handoff Protocol9394> [!CAUTION]95> **BEFORE delegating to next skill:**96> 1. ✅ Final document exists in `project/docs/` (not just brain artifact)97> 2. ✅ File header changed from `Draft` to `Approved`98> 3. ✅ `project/docs/ARTIFACT_REGISTRY.md` updated to ✅ Done99> 4. ✅ User approved via `notify_user`100> 5. THEN delegate101102## Resources103104- `scripts/`:105 - `example_script.py`: {{SCRIPT_DESC}}106- `references/`:107 - `reference.md`: {{REF_DESC}}
Run npx skillmds@latest add ydnikolaev/object-object in your terminal (requires Node.js), paste this page's agent-chat prompt into Claude, Cursor, or any MCP-connected agent, or download the SKILL.md file and copy it into your agent's skills directory.
[object Object] It is listed under AI & ML on SkillMD.
This skill has not completed SkillMD's automated safety review yet. Independent scanners report: SkillSpector: PASS, Skill Scanner: PASS. SkillMD never runs a skill's scripts for you; review the SKILL.md before installing.
This skill is tagged as working with Claude Code, Claude.ai, OpenAI Codex. SKILL.md is an open format, so most agents that read a skills directory can load it too.
Yes. Installing skills from SkillMD is free, and the skill stays under its author's original license.
ydnikolaev (@ydnikolaev) published this skill. Their other Agent Skills are listed on their SkillMD profile.