Skip to content

An agent Skill for collaborative planning and autonomous coding

License

Notifications You must be signed in to change notification settings

paleo/alignfirst

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AlignFirst Skill

Important: This is the v2 of AlignFirst (formerly Vibe Flow). AlignFirst is now distributed as an Agent Skill. If you work with a compatible agent, go ahead. For other agents, you want probably install the v1.

AlignFirst helps produce good plans that enable AI agents to code autonomously. It's distributed as an Agent Skill and works well with any agent powered by a coding model such as:

  • Claude Opus 4+ or Claude Sonnet 4+ (Anthropic)
  • GPT 5+ (OpenAI)
  • Composer 1 (Cursor)
  • Gemini 3 Pro (Google)

Get Started

  1. Ensure your agent uses a capable coding model.
  2. Give it this installation prompt.

It will install the AlignFirst skill:

{.claude|.github|.cursor|.codex|.gemini|.agent}/skills/alignfirst/
├── SKILL.md
├── README.md
├── spec-protocol.md
├── plan-protocol.md
├── do-protocol.md
└── description-protocol.md

Then, start using the workflow.

Using AlignFirst

Generate Technical Specification

A specification can be written long before the implementation. The agent helps you write it by investigating and initiating a discussion:

/alspec [something to do]

The agent will discuss with you, then write a _plans/123/A1-spec.md file.

Note: 123 is the ticket ID. If it can be deduced from the branch name, it will. Otherwise the agent will ask you. A1 means it's the first file of cycle A (files are organized by cycles).

Generate Implementation Plan(s)

Plans orchestrate what agents or subagents will do:

/alplan

The agent reads the spec and writes a plan _plans/123/A2-plan.md, or a main plan _plans/123/A2-main-plan.md with several sub-plans.

Implementation

Clear the context, then execute the plan(s):

Execute the plan `_plans/123/A2-main-plan.md`

The agent executes the plan and writes .summary.md files.

Align-and-Do Protocol (AAD)

There is also a lighter prompt for small tasks without specs or plans. Here's how to trigger it:

/al [something to do]

The agent will discuss it with you first, then work directly on the codebase. At the end, a _plans/123/A1-AAD.summary.md file will be written.

Additional Information

About Agent Skills

Agent Skills is an open standard that works out of the box in Claude Code. Editor support is still experimental. Here are the documentations:

Rationale

Specs, plans, and summaries must be written in well-organized (git-ignored) local files, because:

  1. The context window is limited, the compression mechanism is opaque, and we want to be able to continue an unfinished task in a fresh session.
  2. It's a way to keep track of what was agreed upon with the agent and what has been done.

Is it "Spec-Driven Development" (SDD)?

I don't know. If you have a clue, let me know, I'm interested.

Technical Documentation Authoring Skill

The Technical Documentation Authoring skill is independent of AlignFirst but is provided here. It helps you create skills that document your project:

  1. Give your agent this installation prompt.

  2. Clear the context, then ask it:

    Help me bootstrap our project skills. Use technical-documentation-authoring.

It can also work alongside AlignFirst:

/al We need a documentation about [topic]. Use technical-documentation-authoring.

Installation, Migrations

License

CC0 1.0 Universal.

About

An agent Skill for collaborative planning and autonomous coding

Topics

Resources

License

Stars

Watchers

Forks