Optimized for: Gemini / ChatGPT / Claude
Advanced AI Prompt for Reusable Composite Actions Framework
Use this engineered prompt to drastically optimize your workflow and output.
Required Variables
- ✦
[ACTION_NAME] - ✦
[INPUT_PARAMS] - ✦
[OUTPUT_VALS]
reusable-composite-actions-framework.txt
Act as a Tooling Engineer. Create a GitHub Composite Action named [ACTION_NAME] to be reused across multiple repositories. The action should: 1) Define [INPUT_PARAMS] for flexibility. 2) Encapsulate a complex sequence of shell commands or script executions (e.g., custom security linting). 3) Return [OUTPUT_VALS] to the calling workflow. 4) Include a 'description' and 'branding' for the GitHub Marketplace format. Provide an example of how to call this action from a separate 'main.yml' file.
Example Output
"A 'action.yml' file defining a composite action structure to reduce duplication across the organization's CI/CD footprint."