agent-customization
**WORKFLOW SKILL** — Create, update, review, fix, or debug VS Code agent customization files (.instructions.md, .prompt.md, .agent.md, SKILL.md…
Skill by pubgo
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/pubgo-agent-customization
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: backend, writing, productivity, agent-building
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions: not checked yet.
What's inside
- Skill name
agent-customization- Description
- **WORKFLOW SKILL** — Create, update, review, fix, or debug VS Code agent customization files (.instructions.md, .prompt.md, .agent.md, SKILL.md, copilot-instructions.md, AGENTS.md). USE FOR: saving coding preferences; troubleshooting why instructions/skills/agents are ignored or not invoked; configuring applyTo patterns; defining tool restrictions; creating custom agent modes or specialized workflows; packaging domain knowledge; fixing YAML frontmatter syntax. DO NOT USE FOR: general coding questions (use default agent); runtime debugging or error diagnosis; MCP server configuration (use MCP docs directly); VS Code extension development. INVOKES: file system tools (read/write customization files), ask-questions tool (interview user for requirements), subagents for codebase exploration. FOR SINGLE OPERATIONS: For quick YAML frontmatter fixes or creating a single file from a known pattern, edit the file directly — no skill needed.
- License
- MIT
- Instructions
- 79 lines in SKILL.md · view on GitHub
Files (14)
- SKILL.md
- SKILL.zh.md
- agents.md · references/
- agents.zh.md · references/
- hooks.md · references/
- hooks.zh.md · references/
- instructions.md · references/
- instructions.zh.md · references/
- prompts.md · references/
- prompts.zh.md · references/
- skills.md · references/
- skills.zh.md · references/
- workspace-instructions.md · references/
- workspace-instructions.zh.md · references/
SKILL.md (first lines)
# Agent Customization
## Decision Flow
| Primitive | When to Use |
|-----------|-------------|
| Workspace Instructions | Always-on, applies everywhere in the project |
| File Instructions | Explicit via `applyTo` patterns, or on-demand via `description` |
| MCP | Integrates external systems, APIs, or data |
| Hooks | Deterministic shell commands at agent lifecycle points (block tools, auto-format, inject context) |
| Custom Agents | Subagents for context isolation, or multi-stage workflows with tool restrictions |
| Prompts | Single focused task with parameterized inputs |
| Skills | On-demand workflow with bundled assets (scripts/templates) |
## Quick Reference
Consult the reference docs for templates, domain examples, advanced frontmatter options, asset organization, anti-patterns, and creation checklists. If the references are not enough, load the official documentation links for each primitive.
| Type | File | Location | Reference |
|------|------|----------|-----------|
| Workspace Instructions | `copilot-instructions.md`, `AGENTS.md` | `.github/` or root | [Link](./references/workspace-instructions.md) |
| File Instructions | `*.instructions.md` | `.github/instructions/` | [Link](./references/instructions.md) |
| Prompts | `*.prompt.md` | `.github/prompts/` | [Link](./references/prompts.md) |
| Hooks | `*.json` | `.github/hooks/` | [Link](./references/hooks.md) |
| Custom Agents | `*.agent.md` | `.github/agents/` | [Link](./references/agents.md) |
| Skills | `SKILL.md` | `.github/skills/<name>/`, `.agents/skills/<name>/`, `.claude/skills/<name>/` | [Link](./references/skills.md) |
**User-level**: `{{USER_PROMPTS_FOLDER}}/` (*.prompt.md, *.instructions.md, *.agent.md; not skills)
Customizations roam with user's settings sync
## Creation Process
If you need to explore or validate patterns in the codebase, use a read-only subagent. If the ask-questions tool is available, use it to interview the user and clarify requirements.
Follow these steps when creating any customization file.
### 1. Determine Scope
Ask the user where they want the customization:
- **Workspace**: For project-specific, team-shared customizations → `.github/` folder
- **User profile**: For personal, cross-workspace customizations → `{{USER_PROMPTS_FOLDER}}/`
### 2. Choose the Right Primitive
Use the Decision Flow above to select the appropriate file type based on the user's need.
### 3. Create the File
Create the file directly at the appropriate path:
- Use the location tables in each reference file
- Include required frontmatter as needed
- Add the body content following the templates
### 4. Validate
After creating:
- Confirm the file is in the correct location
- Verify frontmatter syntax (YAML between `---` markers)
- Check that `description` is present and meaningful
## Edge Cases
**Instructions vs Skill?** Does this apply to *most* work, or *specific* tasks? Most → Instructions. Specific → Skill.
**Skill vs Prompt?** Both appear as slash commands in chat (type `/`). Multi-step workflow with bundled assets → Skill. Single focused task with inputs → Prompt.
**Skill vs Custom Agent?** Same capabilities for all steps → Skill. Need context isolation (subagent returns single output) or different tool restrictions per stage → Custom Agent.
**Hooks vs Instructions?** Instructions *guide* agent behavior (non-deterministic). Hooks *enforce* behavior via shell commands at lifecycle events like `PreToolUse` or `PostToolUse` — they can block operations, require approval, or run formatters deterministically. See [hooks reference](./references/hooks.md).
## Common Pitfalls
**Description is the discovery surface.** The `description` field is how the agent decides whether to load a skill, instruction, or agent. If trigger phrases aren't IN the description, the agent won't find it. Use the "Use when..." pattern with specific keywords.
**YAML frontmatter silent failures.** Unescaped colons in values, tabs instead of spaces, `name` that doesn't match folder name — all cause silent failures with no error message. Always quote descriptions that contain colons: `description: "Use when: doing X"`.
**`applyTo: "**"` burns context.** This means "always included for every file request" — it loads the instruction into the context window on every interaction, even when irrelevant. Use specific globs (`**/*.py`, `src/api/**`) unless the instruction truly applies to all files.From pubgo/agentdocs, MIT.
More from pubgo/agentdocs
- 0.471score
breakdown-epic-pm
pubgo
Prompt for creating an Epic Product Requirements Document (PRD) for a new epic.
SkillCFreshness: CClaude Code +9 - 0.471score
create-implementation-plan
pubgo
Create a new implementation plan file for new features, refactoring existing code or upgrading packages, design, architecture or infrastructure.
SkillCFreshness: CClaude Code +9 - 0.471score
update-implementation-plan
pubgo
Update an existing implementation plan file with new or update requirements to provide new features, refactoring existing code or upgrading packages, design…
SkillCFreshness: CClaude Code +9 - 0.469score
breakdown-epic-arch
pubgo
Prompt for creating the high-level technical architecture for an Epic, based on a Product Requirements Document.
SkillCFreshness: CClaude Code +9 - 0.469score
breakdown-feature-prd
pubgo
Prompt for creating Product Requirements Documents (PRDs) for new features, based on an Epic.
SkillCFreshness: CClaude Code +9 - 0.469score
create-github-issues-feature-from-implementation-plan
pubgo
Create GitHub Issues from implementation plan phases using feature_request.yml or chore_request.yml templates.
SkillCFreshness: CClaude Code +9 - 0.405score
install-vscode-extension
pubgo
How to install a VS Code extension from an extension ID.
SkillDFreshness: DClaude Code +9 - 0.399score
get-search-view-results
pubgo
Get the current search results from the Search view in VS Code
SkillDFreshness: DClaude Code +9
Signals
- Stars
- 0
- Forks
- 1
- Open issues
- 0
- Last commit (this folder)
- Apr 26, 2026 (6 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/pubgo/agentdocs
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
Same skill elsewhere
Copies of this SKILL.md published by others; search shows only one of them.
More from pubgo
- 0.471score
breakdown-epic-pm
pubgo
Prompt for creating an Epic Product Requirements Document (PRD) for a new epic.
SkillCFreshness: CClaude Code +9 - 0.471score
create-implementation-plan
pubgo
Create a new implementation plan file for new features, refactoring existing code or upgrading packages, design, architecture or infrastructure.
SkillCFreshness: CClaude Code +9 - 0.471score
update-implementation-plan
pubgo
Update an existing implementation plan file with new or update requirements to provide new features, refactoring existing code or upgrading packages, design…
SkillCFreshness: CClaude Code +9 - 0.469score
breakdown-epic-arch
pubgo
Prompt for creating the high-level technical architecture for an Epic, based on a Product Requirements Document.
SkillCFreshness: CClaude Code +9 - 0.469score
breakdown-feature-prd
pubgo
Prompt for creating Product Requirements Documents (PRDs) for new features, based on an Epic.
SkillCFreshness: CClaude Code +9 - 0.469score
create-github-issues-feature-from-implementation-plan
pubgo
Create GitHub Issues from implementation plan phases using feature_request.yml or chore_request.yml templates.
SkillCFreshness: CClaude Code +9
Cite this page
agent-customization skill. Agent Mart. https://agentmart.dev/skills/pubgo-agent-customization (last updated 2026-10-24)