Skip to content

Repository files navigation

AlignFirst monorepo

Companion products for AI-assisted software work. They can be used independently.

Home page: alignfirst.paroi.tech.

Command skills

Ten Agent Skill stubs expose the CLIs as commands, such as /alspec in Claude Code and $alspec in Codex. Nine run the AlignFirst CLI (details); aligndev turns the session into an AlignDev assistant through the AlignDev CLI (details). Install them globally:

npx skills add https://github.com/paleo/alignfirst --global \
  --skill alspec --skill alplan --skill al --skill almerge \
  --skill alreview --skill aldescription --skill alcatchup \
  --skill alcatchupaad --skill alcatchupspec --skill aligndev

These examples use the / form. Replace it with $ in Codex, or with /skill: in Pi (for example /skill:alspec).

Workflow Command Result
Specification /alspec <request> Discuss and write a technical specification.
Planning /alplan Turn a specification into one or more implementation plans.
Align and do /al <request> Discuss and implement a small change, then write a summary.
Description /aldescription Summarize the work and propose a commit message.
Review /alreview Review the current branch against its base.
Merge /almerge Resolve merge or rebase conflicts.
Catch up /alcatchup Load the current ticket history and continue.
Catch up and AAD /alcatchupaad <request> Load ticket history, then start AAD.
Catch up and spec /alcatchupspec <request> Load ticket history, then start specification.
AlignDev /aligndev <request> Switch your session to an AlignDev assistant.

alignfirst CLI

The alignfirst CLI provides the AlignFirst workflows. See the CLI README for installation and usage.

Docmap - Agent-discoverable documentation

alignfirst docmap is a lightweight table of contents that lets agents navigate documentation files. This way we have one set of docs, shared by humans and AI agents. See packages/docmap/README.md.

Workspaces - Local environments with worktrees

alignfirst workspace and alignfirst dev, backed by @alignfirst/workspace, prepare and run language-neutral Git-worktree environments without consumer JavaScript wrappers. See packages/workspace/README.md.

AlignDev CLI

aligndev turns a Claude Code, Codex, Pi or Antigravity session, or an OpenClaw bot, into an assistant: you talk to it, and it delegates the coding to an AI coding agent through the AlignFirst protocols. See packages/aligndev/README.md.

AlignDev for OpenClaw

AlignDev for OpenClaw deploys the assistant as an OpenClaw bot. One deployment is a dedicated service account running it under its own name and channel identity. See Start as an OpenClaw Bot.

@alignfirst/service-openclaw-plugin supplies an assistant's OpenClaw capabilities under plugin ID alignfirst-service. Its first capability, thread handoff, durably activates the ordinary thread session after confirmed native starter delivery.

OpenClaw Test toolkit

@alignfirst/openclaw-test and three companion channel packages are a Dockerised regression-test harness that drives OpenClaw through synthetic Discord and Slack channels. See packages/openclaw-test/README.md.


Set up your project

The AlignFirst CLI guides your agent through the setup of these tools. In your project, ask your agent:

Run `npx -y alignfirst setup`. What can I set up in this project?

Contribute

After a fresh clone:

npm install
npm run build
# Prepare ignored effective .plans separately, then:
npm run workspace -- setup

Tracked settings, nested conventions and the workspace recipe live in one alignfirst.json. A fresh linked worktree can run npx -y alignfirst workspace setup without local dependencies or build output; see ASSISTANTS.md for preparation and cleanup. Existing old runtime state needs the coordinated upgrade before lifecycle use.

Contributors

Languages