Skip to content
Back to skills

Swarm Pi Scaffold

ASecurity

Scaffold a new project through a reviewed Pi ScaffoldSpec, isolated staging, verification, and explicit materialization. Use for empty or explicitly adopted non-Git targets; route existing repositories to implement and tooling-only changes to setup.

  • 2 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added September 5, 2026
ai-agentsrustshellnodegit

Works with

  • terminal

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned September 5, 2026

npx -y skills add JiaWeiXie/swarm-pi-code-plugin --skill swarm-pi-scaffold --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Swarm Pi Scaffold?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Swarm Pi Scaffold
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/jiaweixie-swarm-pi-scaffold/badge)](https://www.skillsdirectory.com/skills/jiaweixie-swarm-pi-scaffold)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: swarm-pi-scaffold
description: Scaffold a new project through a reviewed Pi ScaffoldSpec, isolated staging, verification, and explicit materialization. Use for empty or explicitly adopted non-Git targets; route existing repositories to implement and tooling-only changes to setup.
compatibility: Requires Node.js 22.19+, local shell command execution, and first-run npm registry access with a writable plugin directory; mutation workflows also require Git.
---

# Scaffold A Project With Pi

Follow the [Skill Control Loop](../../references/skill-control-loop.md). Load
[Resource-Aware Execution](../../references/resource-aware-execution.md) before
expensive or recursive scaffold commands.

1. Run `$RUNNER plan --host "$HOST" --role project-architect --prompt-file "$PROMPT_FILE" --execution-mode "$EXECUTION_MODE" --approval-mode "$APPROVAL_MODE" --json` to draft a version 1 `ScaffoldSpec`. Use the control loop for every non-terminal result.
2. Require request, project name, target mode, runtime, package manager,
   structure, dependencies, lifecycle-script policy, observable completion
   criteria, and sequential verification. Present the complete spec before
   mutation.
3. After explicit approval, run `$RUNNER scaffold --host "$HOST" --role scaffolder --spec-file "$SPEC_FILE" --target "$TARGET" --execution-mode "$EXECUTION_MODE" --approval-mode "$APPROVAL_MODE" --json`.
4. Eligible staging is exact, in-scope, fully reversible, and paired with
   rollback and verification. Adoption and materialization remain user
   decisions.
5. Add `--adopt-existing` only after the user approves the target inventory and `targetMode: adopt`.
6. Complete only when provenance, changed files, and fresh verification satisfy
   the approved spec. After explicit approval, materialize only a
   `deliverable: true` artifact through
   `$RUNNER jobs materialize --job <id> --target "$TARGET" --json`.

The trusted control plane owns target fencing, staging metadata, the initial
artifact commit, and materialization; Pi produces the staged artifact.

Files in this skill

  • SKILL.md2 KB
  • agents/openai.yaml213 B

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.