Skip to main content
Manusで任意のスキルを実行
ワンクリックで

scaffold-flatten

スター1
フォーク0
更新日2026年5月27日 18:32

Collapse this monorepo into a single-package layout. The chosen app's contents move to the root (src/, test/, docs/); each lib becomes a deep module at src/<lib>/. Workspace-name imports are rewritten to relative paths, dependencies are merged into the root package.json, pnpm-workspace.yaml is deleted, the root tsconfig.json switches from a references solution-config to a standard single-package config, and fallow.toml / cspell.json are reshaped to match. Run optionally on a fresh project (right after /scaffold-init) when a single-app layout fits better than the apps/libs split. The deterministic work happens in scripts/scaffold-flatten.mjs; this skill collects inputs, runs the script, and summarizes the result.

インストール

Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。

SKILL.md
readonly