with one click
ipa-help
Report IPA project state and suggest the next lifecycle skill to run.
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Menu
Report IPA project state and suggest the next lifecycle skill to run.
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Based on SOC occupation classification
Deploy a backend tier stack: Lambda + API Gateway v2 + DynamoDB (feature-flagged).
Compose a deployment from stack skills and generate executable artifacts (Makefiles, security disposition). Use when the user says 'compose', 'generate deployment', or invokes /ipa-compose.
Initialize IPA project configuration
Deploy a CodePipeline CI/CD pipeline with CodeBuild for automated build/test/deploy.
Deploy a Terraform state backend (S3 + DynamoDB) via CloudFormation.
Deploy a CodeCommit repository for source code management.
| name | ipa-help |
| description | Report IPA project state and suggest the next lifecycle skill to run. |
| model | opus |
Reports the current state of an IPA project and suggests the next lifecycle skill. Does not run any skill automatically.
Lifecycle: /ipa-init → /ipa-compose → /ipa-prepare → /ipa-deploy
.env (if present) to determine initialization and security statescripts/prepare.mk and scripts/deploy.mk existence to determine composition state.env contentsAWS credential resolution: All
awsCLI commands must be prefixed withsource .env 2>/dev/null;to load credentials into the environment. Do NOT pass--profileor--regionflags explicitly.
.env exists at the project root..env exists, read it and check for:
APP_NAMESPACE (set by /ipa-init)APP_ENV (set by /ipa-init)APP_BUILDER_ROLE_ARN (set by /ipa-security via /ipa-compose)scripts/deploy.mk exists.scripts/prepare.mk exists.If .env contains APP_NAMESPACE and APP_ENV, attempt to query stack status:
{APP_NAMESPACE}-{APP_ENV}-securityscripts/prepare.mk (if exists) for stack names, query each.scripts/deploy.mk (if exists) for stack names, query each.For each stack:
source .env 2>/dev/null; aws cloudformation describe-stacks \
--stack-name {stack-name} --query 'Stacks[0].StackStatus' --output text
If AWS calls fail (no credentials, network issues): degrade gracefully. Report filesystem state and note "AWS status unavailable."
| State | Detection | Suggestion |
|---|---|---|
| Not initialized | .env missing or APP_NAMESPACE absent | Run /ipa-init |
| Initialized, not composed | .env present, no scripts/deploy.mk | Run /ipa-compose <stacks> |
| Composed, security missing | scripts/deploy.mk present, APP_BUILDER_ROLE_ARN absent or security stack not *_COMPLETE | Run /ipa-compose (triggers security phase) |
| Composed, not prepared | Prepare stacks defined in prepare.mk but not deployed | Run /ipa-prepare |
| Prepared, not deployed | Prepare stacks *_COMPLETE, deploy stacks missing | Run /ipa-deploy |
| Fully deployed | All stacks *_COMPLETE | Deployment complete. Use /ipa-destroy to tear down. |
One-line state summary, followed by a single "Next:" line naming the suggested skill
with a minimal invocation example. No stack listings, no .env dump.
Example outputs:
State: Initialized, not composed.
Next: Run `/ipa-compose frontend backend` to compose your infrastructure.
State: Composed, prepare stacks not deployed.
Next: Run `/ipa-prepare` to deploy one-time prerequisites.
State: Fully deployed (all stacks active).
Next: Deployment complete. Use `/ipa-destroy` to tear down when done.
State: Initialized, security not configured.
Next: Run `/ipa-compose` — security configuration runs on first compose.