Skip to content
Skills Library
Programming · Building & coding

app-scaffold

/app-scaffold

Scaffold a buildable empty native app project with its guardrails - CLAUDE.md with hard rules, tools/check.sh (lint, unit tests, build that fails on warnings, localization completeness), doc/dev-progress.md task list with milestones and doc/decisions.md log - using the check and screenshot scripts bundled with this skill. Use for "scaffold the project", "create an empty project", "write CLAUDE.md", "add a check script", after the spec is approved, or when a port needs its new repo set up.

Licence
MIT
Last repository change
27.10.2026

Assessment and security

90/ 100Class: good
Format25 / 25
Frontmatter with name and description, valid name, description up to 1,024 characters, name matching the folder.
Discoverability25 / 25
Description explains when to use the skill, has a reasonable length and uses third person.
Content25 / 35
At least 150 words and at most 500 lines, headings, step lists, examples or code.
Hygiene15 / 15
No placeholders such as TODO, no Windows paths, with a licence.
Riskno signals detected in the scan
Files in this package
15
Scripts
8
HTML comments
0
URLs in SKILL.md
0
Deprecation

No signals detected. Repository changed on 27.10.2026, without references to retired models or APIs.

Licence

MIT, open: use and modify while retaining author attribution.

What to check before installing
  • 8 scripts in this package. Review them before installing, as Claude may execute them.

Scripts: scripts/android/check.sh, scripts/common/check-stamp.sh, scripts/ios/check-strings.sh, scripts/ios/check.sh, scripts/ios/make-icon.swift, scripts/ios/shot.sh, scripts/ios/sync-strings.sh, scripts/ios/translate.py

What it does and when to use it

Scaffold a buildable empty native app project with its guardrails - CLAUDE.md with hard rules, tools/check.sh (lint, unit tests, build that fails on warnings, localization completeness), doc/dev-progress.md task list with milestones and doc/decisions.md log - using the check and screenshot scripts bundled with this skill. Use for "scaffold the project", "create an empty project", "write CLAUDE.md", "add a check script", after the spec is approved, or when a port needs its new repo set up.

Triggers from the description

scaffold the projectcreate an empty projectwrite CLAUDE.mdadd a check script
Original author description

Scaffold a buildable empty native app project with its guardrails - CLAUDE.md with hard rules, tools/check.sh (lint, unit tests, build that fails on warnings, localization completeness), doc/dev-progress.md task list with milestones and doc/decisions.md log - using the check and screenshot scripts bundled with this skill. Use for "scaffold the project", "create an empty project", "write CLAUDE.md", "add a check script", after the spec is approved, or when a port needs its new repo set up.

How it works

  1. 1. Project
  2. 2. Check script tools/check.sh
  3. 3. Docs
  4. Done when
  5. Pitfalls
Original SKILL.md headings · 46 lines, 518 words
SKILL.md preview
---
name: app-scaffold
description: Scaffold a buildable empty native app project with its guardrails - CLAUDE.md with hard rules, tools/check.sh (lint, unit tests, build that fails on warnings, localization completeness), doc/dev-progress.md task list with milestones and doc/decisions.md log - using the check and screenshot scripts bundled with this skill. Use for "scaffold the project", "create an empty project", "write CLAUDE.md", "add a check script", after the spec is approved, or when a port needs its new repo set up.
---

# Scaffold and guardrails

Install two things in the very first code commit: the rules the agent follows every time, and the checks every commit must pass. From then on, quality rests on these two, not on memory.

Read `doc/feature-requirements.md`, `doc/tech-spec.md` and `doc/adr/README.md` first. If they don't exist, stop and suggest running app-spec first.

## 1. Project

| Platform | Approach |
|---|---|
| Android | Copy the layout of an existing project: single module `:app`, a `libs.versions.toml` version catalog, compileSdk / targetSdk, JVM target, `extraWarnings`. ADR-0001 records which project you followed and what you rejected. |
| iOS | Hand-write `project.pbxproj` (objectVersion 77, with `PBXFileSystemSynchronizedRootGroup` folder-synced groups so adding or removing files never touches the project file). Put pure logic in a local Swift package (`Packages/<Kit>`) that the app and its extensions depend on; put Info.plist fragments in `Config/`; share the scheme. |
| macOS / CLI | A single Swift package with several targets (core library, app, CLI); `scripts/build-app.sh` bundles the .app. |

## 2. Check script `tools/check.sh`

Copy `scripts/<platform>/` from this skill's directory into the project's `tools/`, and hardcode defaults such as `APP` and `KIT` at the top. Also copy `scripts/common/check-stamp.sh`: as its last step, a passing `check.sh` calls it to record a fingerprint, and the pre-commit hook only lets a commit through when that fingerprint matches. See [scripts/README.md](scripts/README.md) for what each script does and its parameters.

| Step | Android | iOS |
|---|---|---|
| Format / lint | `:app:lintDebug`; fail if anything remains after filtering out `UnusedResources` | `swift format lint --strict` |
| Unit tests | `:app:testDebugUnitTest` | `swift test --package-path Packages/<Kit>` |
| Build | Already built by lint | `xcodebuild … build`, plus a scan of this repo's sources for `warning:` |
| Localization | Every key exists in each language's `strings.xml` | `xcstringstool sync` merges strings into the String Catalog, then every key is checked for a translation |

For iOS, also copy `shot.sh` (screenshots), `sync-strings.sh`, `check-strings.sh` and `translate.py`, and copy `swift-format.json` to `.swift-format` at the repo root. Draw the app icon with `make-icon.swift` (1024×1024, no alpha, full bleed).

## 3. Docs

- `CLAUDE.md`: use [CLAUDE-FORMAT.md](CLAUDE-FORMAT.md). One line per hard rule, drawn from the ADR red lines and project conventions.
- `doc/dev-progress.md`: use [DEV-PROGRESS-FORMAT.md](DEV-PROGRESS-FORMAT.md). Break the FRs and tech-spec into tasks, one commit's worth of work per line; suffix each task name with its FR-n and mark milestones with ★.
- `doc/decisions.md`: use [DECISION-LOG-FORMAT.md](DECISION-LOG-FORMAT.md). D-001 records which project the scaffold follows.

## Done when

- You have pasted the output of `tools/check.sh > /tmp/check.log 2>&1; echo $?` on the empty project, and the exit code is 0.
- `CLAUDE.md`, `doc/dev-progress.md` and `doc/decisions.md` exist.
- The first commit is `build: …`: one line, no body, no attribution.

## Pitfalls

- `xcodebuild` doesn't sync strings into `.xcstrings`. Run `xcstringstool sync` yourself, or missing translations go unnoticed.
- Pipes swallow the failure code: `tools/check.sh | tail -1 && git commit` commits even when the check fails. Write the output to a file first, then check the exit code.
- Without a shared scheme, xcodebuild prints "Supported platforms … is empty". It's noise.
Files in this package (15)
  • CLAUDE-FORMAT.md 2 KB
  • DECISION-LOG-FORMAT.md 1 KB
  • DEV-PROGRESS-FORMAT.md 2 KB
  • SKILL.md 4 KB
  • agents/openai.yaml 1 KB
  • scripts/README.md 2 KB
  • scripts/android/check.sh 2 KB
  • scripts/common/check-stamp.sh 1 KB
  • scripts/ios/check-strings.sh 1 KB
  • scripts/ios/check.sh 1 KB
  • scripts/ios/make-icon.swift 2 KB
  • scripts/ios/shot.sh 2 KB
  • scripts/ios/swift-format.json 1 KB
  • scripts/ios/sync-strings.sh 1 KB
  • scripts/ios/translate.py 1 KB

Versions

The database has no other skills named app-scaffold.

Database snapshot: 13.11.2026 · package version a66f612e6cba (SHA-256 digest of the entire package)

Downloads in the last 30 days: 3 · ranking

Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.

Similar skills

  • 100app-task-loop
    Implement an app task by task from doc/dev-progress.md - one task per single-line Conventional Commit, tools/check.sh (lint, tests, build, localization) must exit 0 before every commit, decisions and problems logged in doc/decisions.md, milestones reviewed with screenshots and a…
  • 81scaffold-app
    Read and set the scaffold-app channel with the scaffold-app tools: read_channel shows what the panel shows, set_channel writes behind the operator's approval. Use when asked what the scaffold-app channel reads or to set it to a value.
  • 95solo-scaffold
    Use when "scaffold project", "create new project", "start new app", "bootstrap project", "set up from PRD", or need project from PRD + stack template. Do NOT use for planning features (/plan) or PRD generation (/validate).
  • 90scaffold-project
    Scaffold a new app, API, backend, fullstack project, mobile app, polyglot service, monorepo, or starter with Better Fullstack. Use when the user wants to create, start, bootstrap, initialize, or generate a project from a stack description. Prefer the bundled Better Fullstack MCP…
  • 100app-creator
    Creates new iOS/macOS app projects with a professional architecture using Tuist for project management, modular Swift packages (Core, UI, Features), and a thin app shell. Includes Unit, UI, and Snapshot tests, CI scripts, Fastlane configuration, SwiftFormat, and…
  • 90Project Scaffolding
    This skill should be used when the user wants to set up Claude for a project, create a CLAUDE.md file, scaffold the .claude directory, initialize an AI workflow, configure a project for Claude, set up dev intelligence, initialize a new project, or do a new project setup.…

Feedback and reports

Your message goes to Bartosz Sokoliński. An email address is needed only for a reply. See the privacy policy.