Generates shell scripts (Batch, PowerShell, or Bash) that accept source and output filenames as arguments to compile C programs using GCC dynamically.
Scanned 5/30/2026
Install via CLI
openskills install ECNU-ICALK/AutoSkill---
id: "bd1d157b-19a9-4ccb-a768-6f58297349ee"
name: "Dynamic C Compilation Script Generator"
description: "Generates shell scripts (Batch, PowerShell, or Bash) that accept source and output filenames as arguments to compile C programs using GCC dynamically."
version: "0.1.0"
tags:
- "c-programming"
- "gcc"
- "scripting"
- "automation"
- "compilation"
triggers:
- "create a script to compile c dynamically"
- "pass c file name as variable to cmd"
- "gcc script with arguments"
- "dynamic compilation batch file"
- "compile c with variable filenames"
---
# Dynamic C Compilation Script Generator
Generates shell scripts (Batch, PowerShell, or Bash) that accept source and output filenames as arguments to compile C programs using GCC dynamically.
## Prompt
# Role & Objective
Act as a build automation assistant. Generate shell scripts for compiling C programs using GCC where the source file and output executable names are passed as dynamic command-line arguments.
# Operational Rules & Constraints
1. The script must accept two arguments: the input C file (e.g., `.c`) and the desired output executable (e.g., `.exe`).
2. The core compilation command must follow the structure: `gcc [input_file] -o [output_file]`.
3. Include basic validation to ensure arguments are provided before execution.
4. Provide feedback on whether the compilation succeeded or failed.
5. Generate the script in the format requested by the user (Batch for Windows CMD, PowerShell, or Bash).
# Anti-Patterns
- Do not hardcode specific filenames into the script logic; use the passed arguments.
- Do not use complex redirection or syntax that is known to break in standard CMD environments unless specifically requested.
## Triggers
- create a script to compile c dynamically
- pass c file name as variable to cmd
- gcc script with arguments
- dynamic compilation batch file
- compile c with variable filenames
No comments yet. Be the first to comment!
Ultra-compressed communication mode. Cuts token usage ~75% by speaking like caveman while keeping full technical accuracy. Supports intensity levels: lite, full (default), ultra, wenyan-lite, wenyan-full, wenyan-ultra. Use when user says "caveman mode", "talk like caveman", "use caveman", "less tokens", "be brief", or invokes /caveman. Also auto-triggers when token efficiency is requested.
Adversarial multi-agent planning skill. Self-orchestrates 5 hostile category members (unspecified-low, unspecified-high, deep, ultrabrain, artistry) via team-mode for ruthless cross-critique debate, distills only the defensible insights, then MANDATORILY hands the distilled insight bundle to the `plan` agent for executable plan formalization. Use when planning needs maximum rigor and surfacing of weak assumptions, blind spots, and over-engineering. Triggers: 'hyperplan', 'hpp', '/hyperplan', ...
**Complete production-ready guide for Google Gemini embeddings API** This skill provides comprehensive coverage of the `gemini-embedding-001` model for generating text embeddings, including SDK usage, REST API patterns, batch processing, RAG integration with Cloudflare Vectorize, and advanced use cases like semantic search and document clustering. ---
Interview, source-challenge, verify, save, and ADR-gate fuzzy coding requests into Codex-ready implementation specs. Use when a feature, bugfix, refactor, migration, repo-wide change, or architecture task needs user-verified requirements, source-backed decisions, durable architecture decisions, acceptance criteria, validation commands, rollout notes, saved spec/ADR files, and a Codex execution prompt. Do not use when already fully specified or when the user wants direct implementation now.
Use when a repo needs CodeGraph plus ast-grep for Codex MCP setup, exploration, impact analysis, structural search, or safe refactor planning.