Prompt file imported from pagopa/oneidentity (
.github/prompts/tech-ai-github-composite-action.prompt.md). Fill in{{action}},{{action_name}},{{purpose}},{{action_path}}before use. Copyright stays with the author.
Composite Action Task
Required inputs
- Action: {{action}}
- Action name: {{action_name}}
- Purpose: {{purpose}}
- Action path: {{action_path}}
Instructions
- Use
.github/skills/tech-ai-composite-action/SKILL.md. - Apply
.github/instructions/github-action-composite.instructions.md. - If
action=modify, preserve public inputs/outputs unless changes are explicitly requested. - Keep logs, comments, and user-facing output in English.
- Keep shell logic readable; move complex logic to scripts when needed.
Minimal example
- Input:
action=create action_name=validate-input purpose="Validate required inputs for deployment" - Expected output:
- A composite action file with explicit inputs and safe shell execution.
- Early validation with clear failure messages.
- No secret leakage and deterministic logs.
Validation
- Validate YAML syntax.
- Validate input handling and failure paths.
- Verify no unsafe shell patterns (
eval, unquoted variable expansion).