- Home
- Skills
- Petekp
- Agent Skills
- Deep Work
deep-work_skill
- Makefile
2
GitHub Stars
1
Bundled Files
2 months ago
Catalog Refreshed
4 months ago
First Indexed
Readme & install
Copy the install command, review bundled files from the catalogue, and read any extended description pulled from the listing source.
Installation
Preview and clipboard use veilstrat where the catalogue uses aiagentskills.
npx veilstrat add skill petekp/agent-skills --skill deep-work- SKILL.md5.3 KB
Overview
This skill provides a disciplined "deep work" development workflow that separates research, planning, annotation, and implementation into distinct phases with persistent markdown artifacts. It enforces thorough codebase investigation and a written plan before any code is touched, reducing rework and integration surprises. Artifacts are stored under .claude/ so findings, plans, and task lists persist across the effort.
How this skill works
Begin with an exhaustive research pass of the target area and write a detailed report to .claude/research.md. Next, author a concrete implementation plan in .claude/plan.md with real code snippets, file paths, and trade-offs. Iterate via annotation cycles until the plan is approved, convert the plan into a granular todo checklist, then implement tasks sequentially while updating the plan file as work completes.
When to use it
- Starting any non-trivial feature that touches multiple files or systems
- Beginning a significant refactor or architecture change
- Investigating a difficult bug that requires end-to-end tracing
- When you want a strict "plan before coding" discipline
- Onboarding to an unfamiliar codebase area before making changes
Best practices
- Read implementations, not just signatures; trace data flows and edge cases
- Stop after research.md and get user review before writing a plan
- Plans must include real file paths and concrete code diffs, not pseudocode
- Keep tasks small and checkable; each task should be completable in one focused session
- Run type checks and linters after each implementation phase and update the checklist immediately
Example use cases
- Add a cross-cutting feature that requires database, API, and frontend changes
- Refactor a shared utility while preserving multiple integration points
- Triage and fix an intermittent production bug with unclear causes
- Adopt a reference implementation from another repo, adapting it to local patterns
- Prepare a safe rollout plan for a backwards-incompatible change
FAQ
Research, plan, and task artifacts are written to persistent markdown files inside the .claude/ directory (e.g., .claude/research.md and .claude/plan.md).
When do I allow implementation to start?
Only after the research is reviewed and the plan is explicitly approved. The workflow enforces annotations and review cycles prior to any coding.