ck:loop

Iteratively optimize code metrics using Git for change tracking and rollback.

Updated Apr 18, 2026
One-click install
npx skills add https://github.com/lengo0951/pms --skill ck-loop-lengo0951
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ck:loop
Source: https://github.com/lengo0951/pms/tree/main/.claude/skills/ck-loop
Command: npx skills add https://github.com/lengo0951/pms --skill ck-loop-lengo0951

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires pypdf, pdfplumber, pdf2image, and includes scripts (resource) and references (resource) and assets (resource) components.

What problem does it solve?

This Skill solves the problem of optimizing code metrics such as coverage, performance, or bundle size by automating iterative code changes and learning from git history.

Core Features & Use Cases

  • Automated Code Optimization: Iteratively applies changes to code based on a predefined goal and verifies improvements.
  • Git Integration: Leverages Git for change tracking and rollback on regression.
  • Use Case: Use this Skill to automatically increase test coverage or reduce bundle size for your codebase, without manual intervention.

Quick Start

Run the 'ck:loop' skill with a specific goal, scope, and verification command to start an optimization loop.

Frequently Asked Questions about ck:loop

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

FAQPage Schema
How do I automate iterative code optimization for measurable metrics?

Automating iterative code optimization involves applying targeted changes to a codebase and verifying metric improvements autonomously. This process uses Git for version control, tracking changes and rolling back automatically if regressions occur during metrics tuning.

What is the best way to increase test coverage without manual intervention?

Increasing test coverage without manual intervention is achieved through an autonomous iterative process. By setting a predefined coverage goal and a verification command, the system automatically applies code refactoring changes and validates them against the target.

Can I use Git to automatically roll back code refactoring that causes regressions?

Yes, Git integration allows you to automatically roll back code refactoring that causes regressions. The optimization loop leverages Git history to discard failed experiments, ensuring your codebase maintains stable metrics throughout the iterative process.

How do I reduce bundle size through an iterative process?

To reduce bundle size through an iterative process, you run an optimization loop with a specific scope and verification command. The system autonomously applies code changes, measures the resulting bundle size, and commits the improvements via Git.

Does automated performance tuning work with any codebase?

Automated performance tuning works with any codebase requiring repetitive code changes for measurable metrics improvement. You must define a specific goal, scope, and verification command to start the optimization loop for your performance targets.

What are the limitations of autonomous code optimization loops?

Limitations of autonomous code optimization loops include the necessity of predefined goals and verification commands. The process relies entirely on measurable metrics like bundle size or test coverage, meaning subjective code quality improvements cannot be autonomously verified.