start-a-new-project
Use when the user wants to start a new project, asks how to begin, or is in an empty or nearly empty repository ("how do I start?", "I want to build an app", "help me set up a new project"). Guides them, in plain language, to describe the app as specs first (spec-driven development with OpenSpec), recommends Flutter (and the Flame engine for games and graphics), and sets up specs, a plan folder for longer work, and a README. Works for any project, not only Tillandsias.
- License 许可
- MIT
- 最近更新
- 2026-11-15
- Stars
- ★ 6
- Forks
- 0
01 前言 Front Matter
- name
- start-a-new-project
- license
- MIT
- metadata
- { "author": "tillandsias" }
- description
- Use when the user wants to start a new project, asks how to begin, or is in an empty or nearly empty repository ("how do I start?", "I want to build an app", "help me set up a new project"). Guides them, in plain language, to describe the app as specs first (spec-driven development with OpenSpec), recommends Flutter (and the Flame engine for games and graphics), and sets up specs, a plan folder for longer work, and a README. Works for any project, not only Tillandsias.
02 资源文件 16
- 参考文档deploy-cloudflare.md1.6 KB
- 参考文档deploy-google-cloud.md2.2 KB
- 脚本scaffold.sh7.7 KB
- 其他templates/cloudflare/dev.vars.example221 B
- 参考文档templates/cloudflare/index.html235 B
- 其他templates/cloudflare/wrangler.spa.jsonc378 B
- 其他templates/cloudflare/wrangler.static.jsonc277 B
- 参考文档templates/gcp/cloudbuild.yaml935 B
- 脚本templates/gcp/Dockerfile.go499 B
- 其他templates/gcp/Dockerfile.node427 B
- 其他templates/gcp/Dockerfile.python610 B
- 其他templates/gcp/Dockerfile.static506 B
- 其他templates/gcp/dockerignore52 B
- 其他templates/gcp/nginx.conf.template245 B
- 其他templates/gcp/project.toml271 B
- 参考文档templates/gcp/service.yaml362 B
03 SKILL.md 正文
Start a new project
The user is starting something new. Help them get from an idea to a running app quickly, with a project shape that keeps working as the app grows.
Speak plainly. The user may not be a developer. Do not explain how this environment works behind the scenes; just help them build their app.
1. Ask what they want to build
Ask one short question: what is the app, and who is it for? If they already said, restate it in one sentence and confirm. Do not ask a list of questions.
1b. Start with the research
Before writing specs, look for research that applies to this kind of app and keep it next to the project. Nothing to explain to the user yet; one short sentence is enough ("I'm checking what's known about <games / forms / onboarding> first").
lib="${TILLANDSIAS_RESEARCH:-/opt/research}"
[ -f "$lib/INDEX.md" ] || lib="research"
rg -i '<two or three words for the app: game, form, loading, animation>' "$lib/INDEX.md"
Pull each relevant record into the project: copy
$lib/<domain>/<slug>.md to research/<domain>/<slug>.md and change
origin: shared to origin: project. For a game, that is at least
games/gameflow-sweetser-wyeth-2005 and
psychology/flow-nakamura-csikszentmihalyi-2014; for anything with buttons
and waits, interaction/fitts-law-1954 and
interaction/response-time-limits-nielsen-1993. If the library has nothing
for this kind of app, use the find-research skill once the first spec names
the behaviour that matters most.
When you write the specs in step 2, cite what you pulled in ("as per
research:<id>, ... because ...") — see the cite-research skill. Research
goes in research/; the scaffold below creates its README.
2. Recommend spec-driven development
Suggest writing down what the app should do before writing code, as short specs the agent and the user both keep up to date. Say why in one or two sentences: the specs become the shared memory of the project, so later sessions (and other agents) pick up exactly where the last one stopped, and changes are proposed and reviewed before they are built.
Recommend OpenSpec for this (it is already installed here). Ask for a yes. If they decline, skip the specs and keep going; never insist.
3. Recommend a stack
- Apps (web, mobile, desktop): strongly recommend Flutter. One codebase runs on phones, tablets, desktop and the web, and you can preview it right here on several phone sizes at once.
- Games, animations, anything graphics-heavy: Flutter plus the Flame engine.
- If the user already has a preference (a plain website, React, something else), follow it. The recommendation is a suggestion, not a rule.
Before promising Flutter works, check: command -v flutter. If it is not
available, say so honestly in one sentence ("Flutter support in this
environment is still being set up; I can start with the specs and plan now,
or build a plain web version first") and let the user choose. Never claim a
tool works without having run it.
4. Set the project up
Once the user agrees, run the setup script from this skill's directory:
bash "<this skill's directory>/scaffold.sh" --name "<App Name>" --summary "<one-sentence description>" [--stack flutter|flutter-flame|web|other] [--no-specs]
It creates only what is missing and never overwrites the user's files:
openspec/with a first spec describing the app (unless--no-specs),plan/with aREADME.mdand aroadmap.mdfor work that spans sessions,research/with aREADME.mdsaying how records are kept and cited,README.mdwith the app's name and summary.
Then fill in the first spec together with the user: three to five requirements in their own words, each with one concrete example.
4b. Choose where it will run (optional)
For a web app, ask once whether they want it online, and offer:
- Cloudflare (the default for a website or a Flutter app): the app is
served from Cloudflare's network. The setup in step 4 already added its
settings file, so nothing more runs now. Free, with no payment method on
file: a site made only of pages and pictures has no daily limit, and if it
later gains server code, that code gets 100,000 requests a day before
extra requests are turned away; nothing is ever charged. Read
deploy-cloudflare.mdin this skill's directory for what each file does and how the user puts the app online when they are ready. - Google Cloud (Dockerfile): Google builds the app from a Dockerfile in the project and runs it on Cloud Run. Works for every kind of web app, including Flutter web and plain websites.
- Google Cloud (Buildpacks): Google works out how to build the app from its own files, with no Dockerfile. Works for Node.js, Python and Go servers, not for Flutter web or plain websites.
- Not now: nothing more is added; they can choose later. If they pick
Google Cloud or say no to Cloudflare,
wrangler.jsoncand.dev.vars.examplecan simply be deleted.
Before setting up either Google Cloud option, say plainly: Google Cloud needs a billing account with a payment method, even for its free allowance. Small apps usually stay inside the free monthly allowance, but anything beyond it is charged to that account. Never create a Google Cloud project, link billing, or start a cloud build for them; they connect the repository in their own Google Cloud console.
Then run the same setup script with the choice:
bash "<this skill's directory>/scaffold.sh" --name "<App Name>" --summary "<one sentence>" --deploy gcp-dockerfile|gcp-buildpacks [--runtime node|python|go|static] [--port 8080]
It adds the deploy files filled in with the app's name, port and kind, and
never overwrites the user's own. Read deploy-google-cloud.md in this
skill's directory for what each file does and how the user connects the
repository.
5. Build the first version
Start with the smallest version that runs. For Flutter:
flutter create . (or flutter create --platforms web,android,ios .), add
Flame with flutter pub add flame for a game, then build and show it. When
it runs, offer to open it on a couple of phone sizes side by side.
Commit and push after each working step, with a short message saying what the user can now do. Unpushed work is lost when the session ends.
6. Keep the plan current
When a task will take more than one session, add it to plan/roadmap.md as
one line: what is left, not what was done. At the end of a session, update
the line so the next session can start from it.
04 同仓库更多 Skills
smoke-curl-install-and-test-e2e
Clean-room end-to-end smoke test of a PUBLISHED release. Curl-installs the latest release binary from GitHub, does a full `podman system reset --force`, runs `tillandsias --debug --init` from a pristine state, and (if init is clean) launches `tillandsias --cloud 8007342/tillandsias --opencode` with ONE short fixed smoke prompt (run the credential guard, reply with a fixed token; never the /meta-orchestration loop, 1941-smkp). Every issue observed — by this skill's agent during install/reset/init, or by the agent's one turn inside the forge — is filed as a plan/issues work packet for later pickup by /advance-work-from-plan.
project-discipline
How THIS project wants its branches and pushes shaped — read its branch-discipline level (0 push to main freely; 1 integration branch + pull requests; 2 work refs into the integration branch), the drift between what it declares and what its history shows, which hooks it has installed, how to raise it, and the work format each hook refusal asks for. Every refusal that says "use /project-discipline for instructions" resolves here. Works for any project in a Tillandsias forge, not only Tillandsias.
probe-macos-tray-on-windows
Daily cross-platform health probe — compiles the macos-tray crate from the local Windows host. Expected to succeed as a stub (the crate is fully cfg-gated for non-macOS); a build failure here means a shared module or crate broke for everyone. Files structured findings to plan/issues/probe-macos-tray-on-windows-findings-<DATE>.md.
multihost-orchestration
Compatibility alias for the canonical coordinate-multihost-work skill.
meta-orchestration
Host-aware Tillandsias recurring runtime loop: sync remote state, drain claimable plan work, run eligible e2e smoke gates, coordinate integrations on mutable Linux, release when warranted, update plan, commit, and push before exit.
merge-to-main-and-release
Refresh linux-next, open/update the PR to main, merge once green, bump VERSION, tag, and trigger the workflow_dispatch release. Runs on a daily cadence so the latest linux-next work reaches a downloadable Linux release operators can smoke-test on a Fedora Silverblue host.