AgentStack
SKILL verified MIT Self-run

Team Plan

skill-bostonaholic-team-team-plan · by bostonaholic

Produce the tactical implementation plan from the structure. The plan is an autonomous artifact for the implementer — no human approval gate at this phase (design is the pipeline's only human gate). Trigger on "plan the implementation", "spell out the steps", or "/team-plan".

No reviews yet
0 installs
16 views
0.0% view→install

Install

$ agentstack add skill-bostonaholic-team-team-plan

✓ scanned · ✓ verified — works with Claude Code, Cursor, and more.

Security review

✓ Passed

No issues found. Passed automated security review. · v0.1.0 How review works →

  • Prompt-injection patterns
  • Secret / credential exfiltration
  • Dangerous shell & filesystem operations
  • Untrusted network calls
  • Known-malicious package signatures

What it can access

  • Network access No
  • Filesystem access No
  • Shell / process execution No
  • Environment & secrets No
  • Dynamic code execution No

From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.

Are you the author of Team Plan? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

Team Plan — Tactical Implementation Plan

Run the PLAN phase. There is no human gate here; the plan is a tactical artifact for the implementer, mechanically derived from the structure.

Input

$ARGUMENTS is the artifact directory: docs/plans//. If empty, the discovery block below resolves it.

The planner reads:

  • $ARGUMENTS/structure.md
  • $ARGUMENTS/design.md
  • $ARGUMENTS/research.md

Resolve the artifact directory by running this self-contained block (one bash call — agent threads reset cwd between calls). The predecessor filter requires a structure.md (structure is not human-gated, so no approval check):

# Three-tier artifact-directory discovery (archetype A).
# ID_RE + PHASE_FILES canonical from hooks/session-start-recover.mjs.
# PHASE_FILES recency mirrors findActiveTopic() in session-start-recover.mjs.
# NOTE: this block is duplicated across 8 skills by design (see docs/architecture.md); future: shared discover-topic.sh.
ID_RE='^([A-Za-z][A-Za-z0-9_]*-[0-9]+|[0-9]{4}-[0-9]{2}-[0-9]{2})-[a-z0-9][a-z0-9-]*$'
PHASE_FILES="task questions research design structure plan"
PRED="structure.md"            # predecessor artifact this skill consumes
# Tier 1 — explicit: $ARGUMENTS names an existing dir → use verbatim.
if [ -n "$ARGUMENTS" ] && [ -d "$ARGUMENTS" ]; then
  echo "$ARGUMENTS"; exit 0
fi
# Tier 2 — discover: newest ID_RE dir under docs/plans/ that holds PRED.
best=""; best_mtime=-1
# Assumes cwd is the repo/worktree root (where docs/plans/ lives).
for dir in docs/plans/*/; do
  name="$(basename "$dir")"
  printf '%s' "$name" | grep -qE "$ID_RE" || continue   # ID_RE filter
  [ -f "$dir$PRED" ] || continue                        # predecessor filter
  m=-1
  for p in $PHASE_FILES; do
    f="$dir$p.md"
    [ -f "$f" ] || continue                             # skip racing/absent
    s="$(stat -f %m "$f" 2>/dev/null || stat -c %Y "$f" 2>/dev/null)" || continue
    [ "${s:-0}" -gt "$m" ] && m="$s"                    # max-mtime over PHASE_FILES
  done
  [ "$m" -gt "$best_mtime" ] && { best_mtime="$m"; best="$dir"; }
done
[ -n "$best" ] && { echo "$best"; exit 0; }
# Tier 3 — none found: print nothing → fall to AskUserQuestion (prose below).
  • If the block printed a path, use it as $ARGUMENTS for the rest of this

skill (tier 1 explicit arg, or tier 2 discovery of the predecessor). When the path came from tier 2 (no explicit arg), announce the resolved directory to the user before proceeding, so an auto-picked topic is never silent.

  • If the block printed nothing (tier 3 — no directory holds a

structure.md), do not hard-error. Fire AskUserQuestion with a Setup header and labeled options:

  • Run the producer — run /team-structure docs/plans// to produce

structure.md.

  • Provide a path — the user supplies the docs/plans// directory

directly (run ls docs/plans/ to find your topic directory).

Execution

> Follow skills/progress-tracking/SKILL.md: when this procedure has two or more steps, seed one todo item per step before starting and mark each complete as you go.

  1. Use the directory resolved in ## Input (the discovery there already

confirmed structure.md exists).

  1. Dispatch planner, which writes $ARGUMENTS/plan.md with file-level

steps and per-slice acceptance test mappings.

  1. Stop once $ARGUMENTS/plan.md exists.

Completion

Report plan path and tell the user: "Next: run /team-worktree docs/plans//"

Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet — be the first.

Versions

  • v0.1.0 Imported from the upstream source.