apex_process_ape

module
v0.0.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 9, 2026 License: Apache-2.0

README

ape — APEX Process Engine

ape is a single-binary CLI that runs APEX framework pipelines on projects: collapsing six-to-eight skill invocations through Claude Code into one command, managing ADRs, governance patterns, and traits, and giving you a Bubble Tea TUI to watch each step land.

Status: pre-1.0. Public API and command surface may change between minor releases until v1.0.0. See CHANGELOG.md.

Why ape

APEX is a planning-and-implementation framework for Claude Code that breaks software work into a sequence of named skills (apex-create-prd, apex-create-architecture, apex-create-epics-and-stories, etc.). On its own, exercising APEX means invoking each skill manually. ape collapses those into named pipelines (design, governance, epics, …) with pre-flight prerequisite checks, prompt-quoting safety, and a two-panel TUI that streams per-skill output as each Claude invocation returns.

Install

The fastest path on Linux x64:

VERSION=$(curl -fsSL https://api.github.com/repos/diegosz/apex_process_ape/releases/latest | jq -r .tag_name)
curl -fsSL "https://github.com/diegosz/apex_process_ape/releases/download/${VERSION}/ape_linux_amd64.tar.gz" \
  | sudo tar -xz -C /usr/local/bin ape
ape version

For macOS, Windows, go install, or build-from-source paths, see docs/how-to/install.md.

Quickstart

ape operates on the working directory. From any APEX-bootstrapped project root:

# Run the design pipeline: prd → ux-design → architecture (with shards).
ape pipeline design

# Run governance scaffolding: pattern + adr + capability/feature activation.
ape pipeline governance

# Generate epics + stories from a one-line product brief.
ape pipeline epics --prompt "minimal greeter app, single screen, no auth"

# Disable the TUI for scripted runs (auto-detected on non-TTY).
ape pipeline design --no-tui

Pre-flight checks run before any Claude invocation. If a pipeline requires upstream artifacts (e.g., governance needs architecture.md), ape fails fast with a message naming the missing file and the upstream pipeline that produces it.

Commands

Command What it does
ape pipeline Run a named APEX pipeline against the working directory.
ape adr Manage Architecture Decision Records (list, validate, new).
ape pattern Manage governance patterns (list).
ape trait Inspect APEX traits (list, show, validate, conflicts).
ape sync Sync governance artifacts (placeholder — patterns and adrs coming soon).
ape bootstrap Bootstrap governance artifacts from declared traits.
ape update Self-update to the latest release.
ape rollback Roll back to the previously installed binary.
ape version Print version, build date, and git commit.

Run ape <command> --help for command-specific flags.

Updating

ape update

Self-updates to the latest release. Use ape rollback to undo the most recent update. Full details: docs/how-to/update.md.

Documentation

Full docs follow the Diátaxis framework — pick the quadrant that matches what you need:

  • Tutorials — learn ape by walking through complete examples.
  • How-to guides — recipes for specific tasks (install, update, CI, etc.).
  • Reference — exhaustive command, pipeline, and config descriptions.
  • Explanation — design rationale and conceptual background.

Start at docs/README.md for a guided index.

Development

git clone https://github.com/diegosz/apex_process_ape.git
cd apex_process_ape
make help          # available targets
make tools         # build the pinned dev tools (golangci-lint, gofumpt, goreleaser) under $GOBIN
make build         # build ./ape
make test          # run tests with -race
make lint          # golangci-lint (pinned via bingo)
make govulncheck   # scan dependencies for known vulnerabilities
make pre-commit    # run all pre-commit hooks

CI runs build + test + lint + govulncheck on every push to main and every pull request — see .github/workflows/ci.yml.

Tooling is pinned via bingo — the .bingo/ directory contains a per-tool .mod file, and make lint / make fmt / make snapshot build the pinned binary on first use. Bumping a version: go install github.com/bwplotka/bingo@v0.10.0 (one-time), then bingo get <module>@<version>.

Releases are cut by pushing a v* tag; the release workflow runs goreleaser and publishes artifacts to GitHub Releases. Issues and pull requests welcome.

License

Apache License 2.0. See LICENSE and NOTICE.

Directories

Path Synopsis
cmd
ape command
internal
pipeline
Package pipeline implements the ape pipeline runner: it loads named pipeline specifications (embedded YAML), validates prerequisites, and drives the underlying claude CLI through each stage's skill chain.
Package pipeline implements the ape pipeline runner: it loads named pipeline specifications (embedded YAML), validates prerequisites, and drives the underlying claude CLI through each stage's skill chain.
tui

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL