Skip to main content

VS Code-native AI engineering workflow system for microservices, libraries, and backend systems.

Project description

vstack

PyPI version Python version Verify status Security checks Runtime: PyYAML License: MIT GitHub Discussions

The VS Code-native AI workflow system for backend engineering.

vstack installs structured agents, skills, instructions, and prompts into .github/ so GitHub Copilot Agent Mode can run repeatable backend workflows with clear role boundaries.

It provides a fixed role model for end-to-end software delivery: product, architect, designer, engineer, tester, and release.

Best for

  • Backend and API teams using GitHub Copilot Agent Mode in VS Code
  • Repositories that want consistent planning, implementation, verification, and release flow
  • Teams that want reusable AI workflows instead of one-off prompt crafting

What you get

  • Fixed role model: product, architect, designer, engineer, tester, release
  • Template-driven install model from src/vstack/_templates/
  • Backend-first verification, security, and release discipline
  • One runtime dependency: PyYAML

Building blocks

Artifact type Purpose Typical invocation
Agents Main operating interface for role-based work @product, @tester
Skills Reusable task procedures /verify, /security
Instructions Baseline policy and repository guardrails auto-loaded by context
Prompts Reusable prompt artifacts where direct prompting is useful explicit prompt use

Prompt catalog

Prompts are .prompt.md files installed to .github/prompts/. Invoke them via the VS Code command palette (Chat: Run Prompt File) or the Copilot Chat attach button.

Prompt Purpose
api-design-review Review an API design or OpenAPI spec for correctness
architecture-risk Identify architectural risks and mitigation priorities
code-review Review a change for bugs, regressions, and missing tests
dependency-audit Audit dependencies for vulnerabilities and licence risks
incident-timeline Build an evidence-based incident timeline and post-mortem
migration-safety Review DB migration safety, rollback, and zero-downtime
release-readiness Evaluate release readiness from reports and open blockers

Quickstart — fresh install

Install with pipx, then install vstack artifacts into your repository:

# Install the CLI once, globally
pipx install vstack

# Move to your repository root and run install — no --target needed
cd /path/to/your/project
vstack install        # seeds .vstack/config.yaml and generates .github/ in the current directory
vstack validate       # confirm no errors

When you omit --target, vstack uses the current working directory. The equivalent explicit form is vstack install --target /path/to/your/project.

Run a first task in Copilot Agent Mode:

@tester /verify Check this repository and summarize findings

Expected result:

  • vstack validate reports no unresolved template tokens
  • Agent command returns a concrete verification summary for your repository

Quick upgrade

Patch or minor version (e.g. v3.1 → v3.2, same major)

Docs paths never change within a major version. Only .github/ artifacts are updated.

pipx upgrade vstack

cd /path/to/your/project
vstack init           # idempotent — safe to run in CI

Major version (e.g. v2 → v3)

Docs paths may change on a major version bump. Run vstack migrate before vstack init.

pipx upgrade vstack

cd /path/to/your/project
vstack migrate        # moves docs files to their new paths (auto-detects installed version)
vstack init           # regenerates .github/ artifacts

# Only if you see "Legacy manifest schema detected" in the output above:
vstack manifest upgrade
vstack init

Preview the docs moves without touching any files:

vstack migrate --dry-run

For upgrades spanning multiple major versions (e.g. v1 → v3), vstack migrate chains all intermediate steps automatically. Use --from and --to to specify the range explicitly if auto-detection from the manifest fails:

vstack migrate --from 1 --to 3
vstack init

Force reinstall (overwrite local edits)

vstack install --force                       # overwrite all managed artifacts
vstack install --force-name agent/engineer   # overwrite one specific artifact

Why this helps

  • Consistent role boundaries for planning, implementation, validation, and release
  • Reusable skills and instructions instead of ad hoc prompts
  • Better release hygiene with documented workflows and CI alignment

Core commands

vstack --version
vstack validate

# Run from your repository root (--target defaults to the current directory)
vstack install
vstack init
vstack migrate
vstack manifest verify
vstack manifest status
vstack manifest upgrade

# Or specify a path explicitly
vstack install --target /path/to/your/project

Common usage patterns

Repository-scoped install (recommended for teams):

# Move to your repository root and install there
cd /path/to/your/project
vstack install

# Or specify a path explicitly from any directory
vstack install --target /path/to/your/project

Profile-wide install (optional defaults for all projects):

vstack install --global

vstack install is the first-run command: it seeds .vstack/config.yaml in your project (never overwrites), then generates .github/ artifacts from templates. vstack init re-runs generation idempotently — safe to use in CI after upgrading vstack.

By default, vstack install preserves existing unmanaged files and local edits to tracked files by comparing the current file contents with the SHA-256 checksum recorded in .vstack/vstack.json. Use --adopt-name <name> to start tracking one existing unmanaged file without overwriting it. vstack uninstall also preserves locally modified tracked files unless you explicitly pass --force or --force-name <name>. Use vstack manifest status --target ... (or vstack status --target ...) to see what still matches the manifest. If a legacy manifest schema is detected, run vstack manifest upgrade --target ... first.

To skip artifact types or individual artifacts you do not need, edit .vstack/config.yaml:

exclude:
  skills:
    - terraform
    - helm
  instructions: all   # skip the entire type

If you already have agents, skills, or other files in .github/, run a dry-run first to see what would be preserved before committing:

# Run from your repository root
vstack install --dry-run

The summary lists preserved files as type/name selectors (e.g. agent/engineer). Resolve each conflict with --force-name type/name to overwrite, --adopt-name type/name to take ownership without overwriting, or --force to overwrite everything.

Fast troubleshooting

  • Command not found after install: ensure your pipx binary path is in PATH
  • Validation error: rerun vstack install from your repository root and then vstack validate
  • Agent results look generic: explicitly invoke a role (for example @tester) before a skill

Full documentation

For complete documentation (including architecture details, workflow diagrams, and contributor guides), use GitHub:

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

vstack-3.1.1.tar.gz (191.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

vstack-3.1.1-py3-none-any.whl (289.7 kB view details)

Uploaded Python 3

File details

Details for the file vstack-3.1.1.tar.gz.

File metadata

  • Download URL: vstack-3.1.1.tar.gz
  • Upload date:
  • Size: 191.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for vstack-3.1.1.tar.gz
Algorithm Hash digest
SHA256 cfe12037090c45ea488ef05d1e3ceafa18ce43ae5999a4d498c53355bb88114f
MD5 66744927a2d7960e1bd5c0bba9e1813b
BLAKE2b-256 c673d7609c9d7e256f4e8f122f00e065c92b6a27f4964c1804517f7f18b189ba

See more details on using hashes here.

Provenance

The following attestation bundles were made for vstack-3.1.1.tar.gz:

Publisher: publish.yml on eschaar/vstack

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file vstack-3.1.1-py3-none-any.whl.

File metadata

  • Download URL: vstack-3.1.1-py3-none-any.whl
  • Upload date:
  • Size: 289.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for vstack-3.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 9f97e9eac2d100ce0310a102d5e5c3d6a6021b174bc1ff8478bcf2911aff9073
MD5 246a3d964f76c92adc9ca30c88862e2f
BLAKE2b-256 ea043933dbbbb1b43b2ba0a8dae609c09abebb49c5d7e8b6e6869f634286abb4

See more details on using hashes here.

Provenance

The following attestation bundles were made for vstack-3.1.1-py3-none-any.whl:

Publisher: publish.yml on eschaar/vstack

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page