Skip to main content
تشغيل أي مهارة في Manus
بنقرة واحدة

scaffold-flatten

النجوم١
التفرعات٠
آخر تحديث٢٧ مايو ٢٠٢٦ في ١٨:٣٢

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