piperack-configure
4
总安装量
3
周安装量
#52611
全站排名
安装命令
npx skills add https://github.com/pipe-rack/skills --skill piperack-configure
Agent 安装分布
codex
3
cursor
2
claude-code
2
gemini-cli
2
continue
1
mcpjam
1
Skill 文档
Piperack Configuration
Overview
This skill helps you configure Piperack for a project by generating a piperack.toml file. Piperack is a process manager that runs multiple commands in parallel (similar to Foreman or Goreman) with a TUI.
Workflow
-
Analyze the Project: Inspect the current directory to identify the project type and required processes.
- Look for
package.json(Node.js scripts). - Look for
Cargo.toml(Rust binaries). - Look for
docker-compose.yml(Docker services). - Look for
Procfile(Heroku/Foreman definitions). - Look for
Makefile. - Look for
go.mod. - Look for
requirements.txtorpyproject.toml.
- Look for
-
Determine Processes: Based on the analysis, determine which processes should be run.
- Frontend:
npm start,yarn dev, etc. - Backend:
cargo run,go run,python app.py, etc. - Database:
docker-compose up db, etc. - Worker: background jobs.
- Frontend:
-
Draft Configuration: Create a
piperack.tomlcontent.- Use the
assets/piperack.tomltemplate as a starting point. - Add a
[[process]]block for each identified service. - Use
references/configuration.mdto ensure correct syntax and available options (e.g.,ready_check,depends_on,watch).
- Use the
-
Propose and Write: Present the proposed configuration to the user.
- If the user approves, write the file to
piperack.toml.
- If the user approves, write the file to
Best Practices
- Colors: Assign different colors to different processes to make the TUI readable.
- Ready Checks: If a service depends on another (e.g., API depends on DB), add a
ready_checkto the dependency (e.g.,{ tcp = 5432 }) anddepends_onto the dependent service. - Watch Mode: Suggest enabling
watchfor development servers that don’t have built-in hot reloading.
Reference
- Configuration: See references/configuration.md for detailed documentation on all available options in
piperack.toml.