| name | starting-new-project |
| description | Plans and initializes a new software project through one-question-at-a-time discovery, current primary-source research, explicit recommendations and trade-offs, selected host and assistant profiles, an approved file manifest, and deterministic verification. Use for a new project, repository plan, scaffold, codebase initialization, or stack-selection request. Do not use to repair an established project, create unselected provider folders, or write files before the user approves both the plan and exact file list.
|
| license | Apache-2.0 |
| metadata | {"polymind.version":"2.0.0","polymind.tags":"project-planning,repository-scaffolding,portable,governance","polymind.risk":"writes-after-two-approvals"} |
| allowed-tools | Read Grep Glob WebFetch WebSearch |
Starting a New Project
Guide a new project across two explicit boundaries: first research and
recommendation, then optional scaffolding. Keep the user in control of both.
Phase A: discover, research, and recommend
- Load discovery-questions.md. Ask exactly
one targeted question per turn, reflect the answer briefly, and skip every
dimension the user already answered. Use the fast exit when enough context
is available.
- Identify the required host, CI, and assistant profiles from user choices and
repository evidence. Never select a provider merely because support might be
useful later.
- Research volatile stack, host, CI, and assistant facts using current primary
sources. Record each material fact using
volatile-facts.md: claim, source URL,
verified_at, and applicability. Do not present a current-version claim from
memory.
- Present one
[RECOMMENDED] plan, at least one [ALTERNATIVE] when viable,
the decisive [TRADE-OFF], and every preference-only choice as
[USER DECIDES].
- Include the repository tree, stack, verification command, selected profiles,
governance depth, and initialization order. Ask for approval of the plan.
Stop here until the user approves or revises it.
Read only the selected profile references:
Use repo-conventions.md only when the user
explicitly selects the legacy GitHub-first profile.
Phase B: scaffold after approval
- Confirm the target directory.
- Derive the smallest file manifest from the approved stack and profiles. Show
every create and modify path. Do not add dormant provider configuration.
- Render selected assets into a staging preview. Resolve every
{{PLACEHOLDER}}; fail the preview if any unresolved token remains.
- Show the complete diff, validation commands, and rollback procedure. Ask:
“Create these exact files?” Stop until the user explicitly approves.
- Apply only the approved diff. Preserve unrelated and human-authored content.
- Run the repository's deterministic
scripts/verify contract, or create that
contract as an approved scaffold item before making a local/CI parity claim.
Run host-specific linting when the selected profile provides it.
- Report created files, command results, remaining assumptions, and recovery
steps. Do not publish, push, or create remote resources without separate
authorization.
Output contract
The recommendation must identify:
- project goal and constraints;
- selected host, CI, and assistant profiles with prerequisites;
- annotated repository tree;
- stack and current-source evidence;
- one deterministic verification command used both locally and in CI, when CI
is selected;
- recommendation, alternative, trade-off, and user decisions;
- implementation order and explicit research-to-scaffolding boundary.
Available assets: