13 lines
953 B
Plaintext
13 lines
953 B
Plaintext
{
|
|
"enabled": true,
|
|
"name": "Project Initialization",
|
|
"description": "Manually triggered hook that sets up a new project: asks Commercial vs Church to set priority, creates standard folder structure (docs, scripts, configs, .secrets), and initializes git with a security-focused .gitignore.",
|
|
"version": "1",
|
|
"when": {
|
|
"type": "userTriggered"
|
|
},
|
|
"then": {
|
|
"type": "askAgent",
|
|
"prompt": "Initialize a new project. First ask the user: \"Commercial or Church project?\" and set the priority level accordingly (Church = maximum quality/pro-bono mindset, Commercial = efficiency + best practices). Then create this standard folder structure at the project root: docs/, scripts/, configs/, and .secrets/ (which must be added to .gitignore). Initialize a git repository if one does not exist, and create a .gitignore from a security template that excludes .secrets/, .env, *.key, and *.pem. Keep the structure clean and minimal."
|
|
}
|
|
} |