ask-copilot
Use GitHub Copilot CLI in non-interactive mode to ask questions, review code, or generate snippets without manual interaction.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Use GitHub Copilot CLI in non-interactive mode to ask questions, review code, or generate snippets without manual interaction.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
UI/UX design intelligence for web and mobile. Searchable local database with 50+ styles, 161 color palettes, 57 font pairings, 161 product types, 99 UX guidelines, and 25 chart types across 10 stacks (React, Next.js, Vue, Svelte, SwiftUI, React Native, Flutter, Tailwind, shadcn/ui, and HTML/CSS). Use when designing, building, or reviewing UI: pages, components, color schemes, typography, layout, accessibility, animation, or data visualization.
Security audit, hardening, threat modeling (STRIDE/PASTA), Red/Blue Team, OWASP checks, code review, incident response, and infrastructure security for any project.
Ingeniero de Sistemas de Andru.ia. Diseña, redacta y despliega nuevas habilidades (skills) dentro del repositorio siguiendo el Estándar de Diamante.
AI-powered presentation generation via the 2slides API — create slides from text, match a reference image style, summarize documents into decks, add AI voice narration, and export pages/audio. Use for any "make slides", "create a deck", or "slides from this document" request.
Structured guide for setting up A/B tests with mandatory gates for hypothesis, metrics, and execution readiness.
When the user wants to plan, design, or implement an A/B test or experiment, or build a growth experimentation program. Also use when the user mentions "A/B test," "split test," "experiment," "test this change," "variant copy," "multivariate test," "hypothesis," "should I test this,"...
| name | ask-copilot |
| description | Use GitHub Copilot CLI in non-interactive mode to ask questions, review code, or generate snippets without manual interaction. |
| category | development |
| risk | critical |
| source | self |
| source_repo | cshara1/antigravity-awesome-skills |
| source_type | self |
| date_added | 2026-07-08 |
| author | cshara1 |
| tags | ["copilot","github","cli","review","prompt"] |
| tools | ["claude","cursor","gemini"] |
This skill allows the agent to interact with GitHub Copilot CLI (copilot) in a non-interactive (headless) mode. Use this skill when the user explicitly wants secondary advice, code reviews, explanations, or code generation from GitHub Copilot's models.
Use source: self and source_type: self when the skill is original to this repository and does not require README external-source credit.
Copilot is an external service. Treat prompts, file paths, snippets, repository content, command output, and generated suggestions as data that may leave the local environment.
Before executing any command that references local files, repository paths, snippets, command output, secrets-adjacent config, or private project context, you MUST obtain explicit user consent to send that material to GitHub Copilot.
Ask for separate approval before allowing Copilot to run tools, execute shell commands, edit files, install packages, or mutate the workspace.
To prevent TUI lockups, execute the copilot command with headless flags. Do not use blanket bypasses such as --yolo, --allow-all-tools, or --allow-all-paths for routine Q&A or review.
To maintain conversation context, use --name and --resume flags, or pass a --session-id on subsequent calls.
Does not require repository path access or mutation permissions.
copilot -p "Explain how to implement a debounce function in TypeScript" -s
Always confirm the exact file and excerpt with the user before executing. Keep the path in a quoted variable; build the prompt from a static instruction plus the approved excerpt. Shell does not re-evaluate command-substitution output, so metacharacters inside the reviewed file remain prompt text rather than shell syntax:
review_file="path/to/file.ts"
test -f "$review_file" || { echo "File not found: $review_file" >&2; exit 1; }
copilot -p "$(printf '%s\n\n' 'Review this approved excerpt for potential memory leaks:'; sed -n '1,220p' -- "$review_file")" -s
Never construct a shell command by interpolating user-controlled prompt text, paths, issue content, or filenames into shell source. Use fixed command structure, quoted variables, and approved file content only.
copilot -p "Remember this session label for follow-up questions." -s --name "my-session-name"
copilot -p "Summarize the prior advice in this session." -s --resume "my-session-name"
-s (silent) to suppress metadata and statistics, leaving only clean output.--allow-all-paths for a review, or interpolate untrusted text inside copilot -p "...".copilot without permission-bypass flags in background tasks, as it will hang waiting for interactive input.--yolo flag bypasses all permission prompts and allows Copilot CLI to run arbitrary shell commands and mutate workspace files. It must be treated as a high-risk option and never used by default.--allow-all-paths grants Copilot broader local visibility than a narrow review requires; it is not a read-only least-privilege flag.-p (or --prompt) and the narrowest required non-interactive permission flag are present in the command arguments. Without required permission flags, the CLI may prompt for confirmation and hang headless processes.@cli-assistant - How to interact with CLI tools in general.