persistent-dev-agent

Fix code iteratively until lint and TypeScript validation pass with zero errors.

Updated Nov 1, 2025
One-click install
npx skills add https://github.com/mhfed/portfolio-2025 --skill persistent-dev-agent
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: persistent-dev-agent
Source: https://github.com/mhfed/portfolio-2025/tree/main/.agents/skills/persistent-dev-agent
Command: npx skills add https://github.com/mhfed/portfolio-2025 --skill persistent-dev-agent

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps when a development task is not truly finished until the codebase is verified clean, type-safe, and ready to ship. It removes the burden of repeatedly running checks, interpreting failures, and applying fixes until the project is green.

Core Features & Use Cases

  • Persistent task completion: Keeps iterating on a change until both lint and typecheck succeed with zero errors.
  • Automated quality gate recovery: Detects failures, applies auto-fixes when available, and retries the validation loop.
  • Tool-aware execution: Uses the project's package manager and adapts commands to the available lint and TypeScript setup.
  • Use case: A developer asks for a refactor or bug fix, and the Skill continues correcting code and rerunning checks until the repository passes validation.

Quick Start

Ask the persistent dev agent to complete your coding task and keep fixing the project until lint and typecheck both pass.

Frequently Asked Questions about persistent-dev-agent

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

FAQPage Schema
How do I fix TypeScript and lint errors automatically during code refactoring?

Automating TypeScript and lint error fixes during refactoring requires a persistent validation loop that reruns checks, applies available auto-fixes, and retries until the project is fully green and type-safe.

What is a persistent development agent for iterative test-fix cycles?

A persistent development agent for iterative test-fix cycles is an automated process that repeatedly executes commands, interprets failures, and applies code corrections until lint and TypeScript validation succeed with zero errors.

Does the automated quality gate work with different package managers?

Yes, the automated quality gate is tool-aware and adapts its commands to the project's specific package manager, ensuring lint and TypeScript setup workflows execute correctly across different environments.

How do I ensure my code changes pass lint and typecheck before shipping?

To ensure code changes pass lint and typecheck before shipping, implement an automated validation loop that runs the appropriate lint command, applies auto-fixes, and checks TypeScript with noEmit until the repository is fully green.

What are the limitations of automated code fixing for TypeScript validation?

Automated code fixing for TypeScript validation is limited to applying available linter auto-fixes and iterating on errors; it cannot resolve complex logical type mismatches or structural design issues without developer intervention.

Why does my automated refactoring loop fail to clear all lint errors?

An automated refactoring loop might fail to clear all lint errors if the project lacks auto-fix capabilities for specific rules, requiring manual code corrections alongside the TypeScript noEmit validation checks.