proj-builder
by @xueyetianya
Generate structured project scaffolds and template files for Node.js, Python, and Go using predefined templates via bash commands.
clawhub install proj-builderπ About This Skill
builder
Project Scaffold Generator β Instantly generate well-structured project skeletons for Node.js, Python, and Go. Get a ready-to-code directory layout with sensible defaults in seconds.
Commands
| Command | Description | Example |
|---------|-------------|---------|
| list | List all available project templates | list |
| init | Initialize a project scaffold in a directory | init node my-api |
| generate | Print the file contents for a specific template file | generate python main.py |
Usage
bash script.sh list
bash script.sh init
bash script.sh generate
Supported Templates
| Template | Language | Description |
|----------|----------|-------------|
| node | JavaScript / Node.js | Express REST API with basic routing |
| node-cli | JavaScript / Node.js | CLI tool with commander.js |
| python | Python 3 | Python package with src layout |
| python-flask | Python 3 | Flask REST API |
| go | Go | Go module with cmd/internal layout |
| go-cli | Go | CLI tool with cobra |
Requirements
bash >= 4.0python3 >= 3.7 (for init command file writing)Examples
$ bash script.sh listπ¦ Available Project Templates
ββββββββββββββββββββββββββββββββββββββ
node Node.js Express REST API
node-cli Node.js CLI tool
python Python package (src layout)
python-flask Python Flask REST API
go Go module (cmd/internal)
go-cli Go CLI tool with cobra
Usage: bash script.sh init
$ bash script.sh init python my-projectπ Scaffolding: python β my-project/
ββββββββββββββββββββββββββββββββββββββ
β
my-project/src/my_project/__init__.py
β
my-project/src/my_project/main.py
β
my-project/tests/__init__.py
β
my-project/tests/test_main.py
β
my-project/pyproject.toml
β
my-project/README.md
β
my-project/.gitignore
β¨ Done! Next steps:
cd my-project
python3 -m venv venv && source venv/bin/activate
pip install -e .
$ bash script.sh generate go main.gopackage main
import (
"fmt"
"log"
"net/http"
)
...
π‘ Examples
$ bash script.sh listπ¦ Available Project Templates
ββββββββββββββββββββββββββββββββββββββ
node Node.js Express REST API
node-cli Node.js CLI tool
python Python package (src layout)
python-flask Python Flask REST API
go Go module (cmd/internal)
go-cli Go CLI tool with cobra
Usage: bash script.sh init
$ bash script.sh init python my-projectπ Scaffolding: python β my-project/
ββββββββββββββββββββββββββββββββββββββ
β
my-project/src/my_project/__init__.py
β
my-project/src/my_project/main.py
β
my-project/tests/__init__.py
β
my-project/tests/test_main.py
β
my-project/pyproject.toml
β
my-project/README.md
β
my-project/.gitignore
β¨ Done! Next steps:
cd my-project
python3 -m venv venv && source venv/bin/activate
pip install -e .
$ bash script.sh generate go main.gopackage main
import (
"fmt"
"log"
"net/http"
)
...