workie

Manage git worktree workflows with branch-isolated PostgreSQL databases for Phoenix/Elixir projects.

1|Updated May 7, 2026
One-click install
npx skills add https://github.com/agoodway/GoodSkills --skill workie
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: workie
Source: https://github.com/agoodway/GoodSkills/tree/main/skills/workie
Command: npx skills add https://github.com/agoodway/GoodSkills --skill workie

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Workie eliminates the friction and risk of running multiple feature branches against a single shared database by giving each branch its own isolated dev/test PostgreSQL databases.

Core Features & Use Cases

  • Branch-isolated database lifecycle: Creates and drops branch-specific APP_NAME_<branch_id>_dev and APP_NAME_<branch_id>_test databases for Phoenix/Ecto apps.
  • Automated worktree setup: Bootstraps a .workie.yaml, env/config strategy integration, and database setup/cleanup scripts so future worktrees are consistent.
  • Safe teardown with guardrails: Finishes worktrees with safety checks (uncommitted changes, unpushed commits) and optional PR awareness.
  • Use cases: Parallel feature development, reducing test/data contamination between branches, and speeding up repeatable onboarding for a team using worktrees.

Quick Start

In your Phoenix project, run: /workie bootstrap to set up branch-isolated worktrees and databases.

Frequently Asked Questions about workie

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

FAQPage Schema
How do I set up isolated PostgreSQL databases for each git worktree in a Phoenix project?

To set up isolated PostgreSQL databases for each git worktree in Phoenix, you use the workie bootstrap process. It automatically generates per-worktree `.branch` identifiers and configures branch-specific `APP_NAME_<branch_id>_dev` and `_test` databases to prevent data contamination across parallel features.

Does workie support detecting environment variables with Dotenvy or .env scripts for Phoenix worktrees?

Workie supports detecting environment variables with Dotenvy, .env scripts, or System.get_env for Phoenix worktrees. It automatically wires the project's environment-loading strategy during the bootstrap process to ensure each isolated worktree operates with the correct database configuration.

How do I safely tear down a git worktree and its associated branch database?

To safely tear down a git worktree and its associated branch database, the system performs safety checks for uncommitted changes and unpushed commits before finishing. It includes optional PR awareness and executes database cleanup scripts to remove the branch-specific PostgreSQL state securely.

Why should I use branch-isolated databases for parallel feature development in PostgreSQL?

Branch-isolated databases for parallel feature development in PostgreSQL eliminate the risk of running multiple feature branches against a single shared database. This isolation reduces test and data contamination between branches, ensuring clean, repeatable environments for every worktree.

Do I need a specific environment bootstrap strategy to run parallel Phoenix feature branches?

You need an environment bootstrap strategy like workie to run parallel Phoenix feature branches effectively. It bootstraps a `.workie.yaml` configuration, integrates your environment-loading strategy, and generates database setup scripts to ensure consistent, isolated dev and test PostgreSQL state across all worktrees.