code-writing

Plan, write, and review code using a phase-driven workflow with test-driven development.

12|2|Updated Feb 2, 2020
One-click install
npx skills add https://github.com/servitola/dotfiles --skill code-writing-servitola
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: code-writing
Source: https://github.com/servitola/dotfiles/tree/main/claude-code/skills/code-writing
Command: npx skills add https://github.com/servitola/dotfiles --skill code-writing-servitola

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Planning and executing coding tasks can be error-prone without a structured process. This skill provides a disciplined workflow to guide users from requirements to validated, maintainable code.

Core Features & Use Cases

  • Phase-based workflow: preparation, implementation, and post-work verification.
  • Test-driven development: tests are written before code to ensure correct behavior and guard against regressions.
  • Structured reviews and linting: ensures code quality, consistency, and maintainability.
  • Works for standalone tasks or integrated task pipelines in real projects.

Quick Start

Plan, write, and review code with a universal quality process.

Frequently Asked Questions about code-writing

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I enforce a test-driven development workflow for new coding tasks?

To enforce a test-driven development workflow, write tests before implementation to ensure correct behavior and guard against regressions. This phase-driven approach guides context reading, acceptance criteria, and strict test-first execution.

What is the best way to structure code reviews and linting for maintainable code?

The best way to structure code reviews and linting is applying a post-work verification phase after implementation. This enforces code quality, consistency, and maintainability through structured reviews following test-first development.

Can I use a phase-based coding workflow for standalone and pipeline tasks?

Yes, you can use a phase-based coding workflow for both standalone tasks and integrated task pipelines in real projects. It guides execution from requirements through preparation, implementation, and post-work verification.

How do I plan and execute coding tasks to prevent errors and ensure quality?

To plan and execute coding tasks and prevent errors, follow a disciplined workflow from requirements to validated, maintainable code. This involves preparation, test-first implementation, and structured post-work reviews.

Do I need to define acceptance criteria before writing code?

Yes, you need to define acceptance criteria before writing code during the preparation phase. Reading context and establishing criteria ensures the test-driven development workflow targets the correct behavior and reliable results.