aif-evolve

Analyze patches and codebase patterns to update aif-* skill-context rules.

Updated Mar 22, 2026
One-click install
npx skills add https://github.com/afterwork/arra-aif --skill aif-evolve-afterwork
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: aif-evolve
Source: https://github.com/afterwork/arra-aif/tree/main/.cursor/skills/aif-evolve
Command: npx skills add https://github.com/afterwork/arra-aif --skill aif-evolve-afterwork

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Self-improve AI Factory skills by analyzing project context, patches, and codebase patterns to produce more robust rules and better automation for future runs.

Core Features & Use Cases

  • Incrementally analyze patches using a cursor to avoid reprocessing historical data and surface actionable improvements.
  • Generate project-specific skill-context rules that guide future evolutions and guard against regressions.
  • Produce an evolution log and update skill-context guidance to accelerate learning across all installed aif-* skills.

Quick Start

Run the evolution workflow to analyze the latest patches and update skill-context rules accordingly.

Frequently Asked Questions about aif-evolve

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

FAQPage Schema
How do I automate code quality improvements using patch analysis?

Analyze patch history incrementally using a cursor-driven process to avoid reprocessing historical data. This surfaces actionable improvements and updates skill-context rules for all installed automation skills without redundant overhead.

Can I target a single skill for evolution instead of all installed ones?

Yes, you can target a single skill for evolution. While the process applies to all installed aif-* skills by default, you can specify a single skill to update its specific skill-context rules and evolution log individually.

Where are the updated skill context rules and evolution logs stored?

Updated skill-context rules are output to .ai-factory/skill-context/<skill-name>/SKILL.md. A comprehensive evolution log detailing the improvements is simultaneously generated and stored in the .ai-factory/evolutions/ directory.

What's the best way to prevent regressions when updating automation skills?

Prevent regressions by applying project-specific skill-context rules generated from patch analysis. These rules guide future evolutions and ensure automated improvements remain robust across subsequent workflow runs.

Do I need existing aif-* skills installed to use the evolution workflow?

Yes, existing aif-* skills are required. The evolution workflow self-improves installed AI Factory skills by analyzing project context and patches to produce better rules and automation for future runs.