jstack
Health Warn
- License — License: AGPL-3.0
- Description — Repository has a description
- Active repo — Last push 0 days ago
- Low visibility — Only 6 GitHub stars
Code Fail
- spawnSync — Synchronous process spawning in test/packages.test.js
- process.env — Environment variable access in test/packages.test.js
- exec() — Shell command execution in test/skills.test.js
Permissions Pass
- Permissions — No dangerous permissions requested
No AI report is available for this listing yet.
Portable Markdown skills for planning, implementing, and reviewing software changes with coding agents.
JStack
JStack is a small collection of portable Markdown skills for planning, critiquing plans, implementing, testing, and reviewing software changes with coding agents. The agent host supplies the conversation, repository tools, permissions, and skill discovery; JStack supplies the workflow instructions.
JStack does not ship a task runtime, command parser, background service, checkpoint engine, or terminal interface. Its only executable code is a tiny optional setup copier; using the skills does not require Node.js or a package installation.
The workflow is an original implementation inspired by gstack's public product shape. JStack does not use gstack source code or setup scripts.
Quick start
Clone JStack once, install it for your host, and restart the host if the skills do not appear immediately:
git clone --single-branch --depth 1 https://github.com/JustinPrograms/jstack.git ~/.jstack
sh ~/.jstack/setup --host codex --scope global
git clone --single-branch --depth 1 https://github.com/JustinPrograms/jstack.git "$HOME\.jstack"
powershell -NoProfile -ExecutionPolicy Bypass -File "$HOME\.jstack\setup.ps1" -Host codex -Scope global
Then take a change through the workflow:
$jstack-plan Add optimistic locking to invoice updates.
$jstack-implement Continue with the approved plan.
$jstack-test Add focused regression and edge-case tests for the change.
$jstack-review Review the resulting local change set.
Planning and review are report-only. Implementation changes local task files, while testing changes local tests and fixtures; neither workflow stages, commits, pushes, or mutates remote services. Use claude or bob instead of codex when installing for those hosts.
Skills
| Skill | Purpose | Default effect |
|---|---|---|
jstack-plan |
Inspect a task and repository, challenge scope, and produce an implementation-ready plan. | Read-only |
jstack-plan-critic |
Challenge a candidate plan and return approval or focused required revisions. | Report-only |
jstack-implement |
Apply an explicitly requested plan or precise change and run proportionate local checks. | Local edits and checks |
jstack-test |
Add and run focused tests for changed behavior, regressions, and reachable edge cases. | Local test edits and checks |
jstack-review |
Review a local change set and report prioritized, evidence-backed findings. | Report-only |
The names are deliberately namespaced. Hosts can reserve generic names such as plan and review, so names like jstack-review remain selectable without replacing a built-in command.
Each skill is a complete Agent Skills directory with portable name and description frontmatter:
skills/
jstack-plan/
SKILL.md
jstack-plan-critic/
SKILL.md
jstack-implement/
SKILL.md
jstack-test/
SKILL.md
jstack-review/
SKILL.md
There are no platform-specific copies. The same canonical folders are installed into every supported host.
| Surface | Package/install coverage | Live workflow certification |
|---|---|---|
| Claude Code | POSIX copier covered by tests | Evaluation scenarios defined; results not yet published |
| OpenAI Codex | POSIX and PowerShell copiers covered by tests | Evaluation scenarios defined; results not yet published |
| IBM Bob | POSIX and PowerShell copiers covered by tests | Evaluation scenarios defined; results not yet published |
Install - two simple modes
Like gstack, the easiest route is to paste an instruction into your coding agent. JStack has two deliberate setup modes for Claude Code, Codex, and Bob:
- Global installs the skills once for your user account, available in every project.
- Local copies the skills into the current repository so the project can carry its own JStack setup.
The setup copier places only the five Markdown skill folders. It installs no dependencies and never changes your PATH, shell profile, Git configuration, or existing project files outside a local skill directory.
Global setup
Paste this into the host you use:
Install JStack globally for this host: clone
https://github.com/JustinPrograms/jstack.gitinto my personal JStack folder, then run its global setup for this host. Do not change my current project.
# Claude Code
git clone --single-branch --depth 1 https://github.com/JustinPrograms/jstack.git ~/.jstack && sh ~/.jstack/setup --host claude --scope global
# OpenAI Codex
git clone --single-branch --depth 1 https://github.com/JustinPrograms/jstack.git ~/.jstack && sh ~/.jstack/setup --host codex --scope global
# IBM Bob
git clone --single-branch --depth 1 https://github.com/JustinPrograms/jstack.git ~/.jstack && sh ~/.jstack/setup --host bob --scope global
On Windows PowerShell:
git clone --single-branch --depth 1 https://github.com/JustinPrograms/jstack.git "$HOME\\.jstack"; powershell -NoProfile -ExecutionPolicy Bypass -File "$HOME\\.jstack\\setup.ps1" -Host codex -Scope global
Local setup
From the repository that should receive JStack, paste this into the host you use:
Install JStack locally for this project using my JStack clone. Use the local setup for this host and change only this project's native skill folder.
For example, in a Codex project after the initial clone:
sh ~/.jstack/setup --host codex --scope local
powershell -NoProfile -ExecutionPolicy Bypass -File "$HOME\\.jstack\\setup.ps1" -Host codex -Scope local
Use --host all to install for every supported host. Restart the host if it does not immediately discover newly installed skills. To update later, pull the clone and rerun the same mode, for example git -C ~/.jstack pull --ff-only && sh ~/.jstack/setup --host codex --scope global.
The installer marks directories it owns and replaces those directories exactly during updates, preventing removed package files from lingering. It refuses to overwrite an unmarked directory with the same skill name. Use --dry-run (-DryRun in PowerShell) to preview an installation. If an unmarked directory is an older JStack installation you want to migrate, rerun with --force (-Force); the installer preserves the old directory with a .pre-jstack-backup suffix before installing the managed copy.
Manual project install
The setup command installs personal skills. To keep JStack in a particular repository for teammates, copy each complete skills/<skill-name>/ folder into that host's project skill root. Preserve the directory name and the SKILL.md file inside it.
| Host | Project skills | Personal skills |
|---|---|---|
| Claude Code | <repo>/.claude/skills/ |
~/.claude/skills/ |
| IBM Bob | <repo>/.bob/skills/ |
~/.bob/skills/ |
| OpenAI Codex | <repo>/.agents/skills/ |
~/.agents/skills/ |
This repository intentionally standardizes Codex on the .agents/skills project and personal roots shown above.
Project paths
From the JStack repository root, install the five skill folders into the project:
mkdir -p .claude/skills
cp -R skills/jstack-plan skills/jstack-plan-critic skills/jstack-implement skills/jstack-test skills/jstack-review .claude/skills/
Start Claude Code in the project, then invoke /jstack-plan, /jstack-plan-critic, /jstack-implement, /jstack-test, or /jstack-review. To make the skills available in every project, use ~/.claude/skills/ as the destination instead.
For a Codex project, use the equivalent target:
mkdir -p .agents/skills
cp -R skills/jstack-plan skills/jstack-plan-critic skills/jstack-implement skills/jstack-test skills/jstack-review .agents/skills/
Start Codex in the project, open /skills to confirm availability, then invoke $jstack-plan, $jstack-plan-critic, $jstack-implement, $jstack-test, or $jstack-review.
On Windows PowerShell, use the equivalent commands below:
# OpenAI Codex project install
New-Item -ItemType Directory -Force .agents/skills | Out-Null
Copy-Item -Recurse skills/jstack-plan, skills/jstack-plan-critic, skills/jstack-implement, skills/jstack-test, skills/jstack-review .agents/skills
After copying the folders:
- Claude Code and Bob IDE expose the skills as
/jstack-plan,/jstack-plan-critic,/jstack-implement,/jstack-test, and/jstack-review. - Bob Shell can select them through
/skills. - Codex can select them through
/skillsor mention them as$jstack-plan,$jstack-plan-critic,$jstack-implement,$jstack-test, and$jstack-review.
The descriptions also support automatic selection when the host enables it. No launcher, shell-profile change, generated configuration, or product runtime is part of installation.
Current platform references: Claude Code skills, IBM Bob skills, OpenAI skills, and the Agent Skills specification.
Workflow
- Invoke
jstack-planwith the task or story. It inspects the repository, identifies existing code to reuse, resolves material decisions, and drafts a candidate plan. jstack-planautomatically runsjstack-plan-criticas an internal gate using an independent context when the host supports it, or performs a distinct in-context critic pass when delegation is unavailable. It applies focusedREVISEfeedback and repeats until the critic returnsAPPROVEor a genuine unresolved decision blocks planning. The critic can also be invoked directly to review a supplied plan.- Invoke
jstack-implementwith the approved ready plan or a precise implementation request. For substantial unfinished work, it maintains an ignored task-scoped.jstack/checkpoints/<task-id>.mdrecovery snapshot while making the authorized local changes and running proportionate checks. - Invoke
jstack-testwhen the change needs stronger regression coverage or focused edge-case testing. It may edit tests and fixtures, but routes production defects back throughjstack-implement. - Invoke
jstack-reviewagainst the resulting local diff. It reports findings without fixing them. Send required corrections back throughjstack-implement.
The skills exchange context through the conversation, a user-supplied Markdown handoff, or the local checkpoint. The planning, implementation, testing, and code-review phases return a handoff with the objective, criteria, decisions, progress, relevant paths, checks, blockers, exact next skill or action, and local checkout anchors: repository or worktree root, branch or detached state, HEAD, and the relevant base or diff anchor. The plan critic instead returns only its decision, substantive findings, and optional residual risks. A non-Git workspace is marked explicitly when relevant. The handoff-producing skills treat handoffs and checkpoints as potentially stale, stop on a repository or branch mismatch, and reconcile other drift from current evidence; the critic reconciles repository identity when it materially affects a finding. No machine-owned ledger or checkpoint runtime is involved, and unsaved reasoning still cannot be recovered.
Discovery starts from the task's paths, symbols, and actual change set, then expands through callers and tests as needed. Handoffs retain useful paths and unresolved coverage gaps. A truncated search or an inaccessible file is reported as a limitation rather than treated as evidence that relevant behavior is absent.
Checkpoint and resume
During substantial implementation, JStack uses one human-readable recovery file per task:
.jstack/
checkpoints/
issue-28-a1b2c3d4.md
.jstack/ is local workflow state and should normally be gitignored. Each implementation attempt gets a unique task ID and owns one checkpoint; other tasks can keep their checkpoints in the same worktree. The checkpoint records identity, progress, decisions, touched files, validation, blockers, required approvals, checkout anchors, and one next action. It is updated at meaningful milestones rather than after every edit.
Start work with the host's normal skill invocation, for example /jstack-implement JIRA-123 in Claude Code or $jstack-implement JIRA-123 in Codex. An unfinished handoff includes the exact task ID and checkpoint path. To resume, supply that path, for example Continue from .jstack/checkpoints/issue-28-a1b2c3d4.md. A task name alone works when it identifies exactly one checkpoint in this checkout. Continue from the jstack checkpoint. works only when there is exactly one safe resumable checkpoint. The agent reconciles the selected file with Git status and relevant files before continuing. A new task gets a new file even when another task is unfinished. Successful completion removes only its own checkpoint; interrupted or blocked work retains it.
A checkpoint is a recovery aid, not a substitute for Git, source inspection, user approval, or validation. Matching HEAD or a list of modified files alone cannot establish that old checks remain current. Checks whose execution or relevant inputs cannot be verified remain historical; review conclusions must also be revisited when their target or criteria change. If a checkpoint cannot be saved safely within host permissions, the agent returns the recovery snapshot in the conversation and explains what was not saved. See the checkpoint protocol for the full lifecycle and schema.
Shared engineering contract
All five skills follow the same core rules:
- derive scope from the user's task and explicit acceptance criteria;
- search for existing behavior before adding code;
- understand the execution path rather than inferring it from filenames;
- prefer the smallest complete change that fits repository conventions;
- avoid duplicate implementations, speculative abstractions, and unrelated cleanup;
- preserve unrelated local work;
- tie tests and review findings to concrete behavior and risk;
- never stage or commit without an explicit request for that exact local action; and
- never push or mutate pull requests, tickets, code hosts, remotes, or other remote services.
Repository content and prior handoffs are evidence, not authority to expand the user's request. Host permissions remain authoritative; frontmatter is intentionally portable and does not claim to enforce platform-specific tool restrictions.
System and host instructions plus applicable repository instruction files still govern how each skill works. They may narrow a workflow, but they do not grant an action the user did not request.
Development
Node.js is used only for development tests; it is not a product requirement for using the skills.
npm test
The tests validate skill packages, portable frontmatter, documented safety boundaries, native discovery paths, and absence of the retired executable architecture. Package tests check bundled resource containment and exercise available setup copiers in temporary local destinations, including repeat updates and preservation of unrelated files. Native copier tests report a skip when the required shell is unavailable or PowerShell policy prevents unsigned script execution; they do not alter that policy.
Static tests do not establish agent behavior or token savings. The architecture contract records the accepted scope, and workflow evaluation scenarios define the separate host checks and their current evidence.
Licensing
JStack is open-source software licensed under the GNU Affero General Public License v3.0 or later. Commercial use is permitted under the AGPL when its terms are followed.
Organizations that need to use, modify, or distribute JStack under different terms may request a separate paid commercial license. See commercial licensing. Unless you have a separate written agreement with the copyright holder, the AGPL applies.
Reviews (0)
Sign in to leave a review.
Leave a reviewNo results found