flows-install
Installation
SKILL.md
Flows Install
This skill automatically detects which frameworks the user's project uses, then performs the full Flows installation.
Step 0: Check if already installed
Before doing anything, check if @flows/react or @flows/js already appear in any package.json in the project. If found, tell the user: "Flows is already installed in this project. Do you want to reinstall or reconfigure it?" and stop unless they confirm.
Step 1: Detect installation location
Analyze the project structure to determine where to install Flows. Identify if the project is a monorepo or a single app project. Look for these indicators:
Monorepo Indicators
- Presence of
packages/,apps/, orlibs/directories - Multiple
package.jsonfiles in subdirectories - Use of monorepo tools like Lerna, Nx, or Turborepo
- Presence of a root
package.jsonwith workspaces defined