Customizing AI Workflows Cheat Sheet

This content was generated with the assistance of AI and should be verified against the official documentation before being relied on in production.

A single-page index of quick back-links to every page in this sub-section, grouped the same way as the sub-section itself — handy for jumping straight to the topic you need instead of paging through the full navigation.

Download the Customizing AI Workflows Cheat Sheet (PDF)

The downloadable PDF is a separate, single A4 page meant for printing. It states the version baseline this sub-section targets — VS Code 1.139 with the GitHub Copilot Chat extension (the single extension that now ships every Copilot feature in VS Code), GitHub Copilot CLI 1.0.88 (@github/copilot) and Claude Code 2.1.283, all re-verified as current on 2026-09-28 — and covers:

  • the surfaces decision table (always-on rules → instructions, a reusable procedure → a skill or prompt file, an isolated worker → a subagent, deterministic enforcement → a hook, distribution → a plugin, external capability → MCP);

  • the file locations for both tools, including custom commands and their $ARGUMENTS / $0 placeholders;

  • the SKILL.md and agent frontmatter reference;

  • the hook events and exit codes;

  • the permission rule syntax and permission modes;

  • the plugin layout;

  • the 12 optimisation techniques;

  • the skill-testing checklist;

  • the security checklist.

Instructions and prompts — Instruction & Memory Files and Prompt Files & Slash Commands.

Skills — Skills and Writing Effective Skills.

Distribution — Plugins & Marketplaces.

A short worked example that combines the permission rule syntax with a skill: a committed .claude/settings.json that allows the test command, asks before pushing and denies reading .env, followed by a minimal SKILL.md.

{
  "permissions": {
    "allow": ["Bash(mvn test)", "Read(./docs/**)"],
    "ask": ["Bash(git push *)"],
    "deny": ["Read(./.env)"]
  }
}
---
name: run-tests
description: Runs the project's unit tests and summarises failures. Use when asked to verify a change.
allowed-tools: Bash(mvn test)
---

Run `mvn test`, then list each failing test with its first error line.

With these files in place a call to mvn test runs without prompting, git push asks first and a read of .env is blocked, because deny rules are checked before ask and allow rules.

References

The PDF summarizes these official pages, grouped the same way as the navigation; each is cited in full on the page listed above that covers it, and in Customizing AI Workflows' bibliography.

Version baseline

Instructions and prompts

Skills

Agents

Automation and control

Distribution

Optimisation and quality