yaml
Skill4 starsChanged 7 months agoMITView on GitHub
Generic guidelines for YAML formatting, linting, and structural rules. You MUST load this skill when updating or creating YAML files.
2 other projects use a version of this.
Adopted by
Most recently taken up by
- jscraik/Agent-Skillstheir own version, first seen Sep 27, 2026
- vercel-labs/json-rendertheir own version, first seen Sep 23, 2026
Other versions2 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 2
- vercel-labs/json-render★ 18ksame name
- jscraik/Agent-Skills★ 9same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository124 other files it gives its agents.
- AGENTS.mdAGENTS.md
- .github/AGENTS.mdAGENTS.md
- .github/workflows/AGENTS.mdAGENTS.md
- .vscode/AGENTS.mdAGENTS.md
- .github/copilot-instructions.mdCopilot instructions
- agent-log-analysisSkill
- agent-mdSkill
- agent-md-writerSkill
- agent-skill-md-writerSkill
- agentskillsSkill
- agents-md-writerSkill
- ai-prompt-writerSkill
- ansibleSkill
- apache-airflow-apiSkill
- apache-airflow-dagsSkill
- astro-cliSkill
- astronomer-docsSkill
- awesome-copilotSkill
- brainstorm-agent-runsSkill
- brainstorm-github-prSkill
- brainstormSkill
- catSkill
- chrome-devtoolsSkill
- claude-docsSkill
- codeqlSkill
- code-reviewSkill
- code-tourSkill
- coding-standard-writerSkill
- context-aware-opsSkill
- copilot-cliSkill
- copilot-docsSkill
- critical-thinkingSkill
- datadog-agentSkill
- datadog-apiSkill
- datadog-mcpSkill
- datadog-monitorsSkill
- datadog-pulumiSkill
- devcontainerSkill
- dictationSkill
- direnvSkill
- dockerfileSkill
- dockerSkill
- docs-reviewSkill
- docs-writerSkill
- dot-claudeSkill
- dotfilesSkill
- dot-githubSkill
- editorconfigSkill
- fact-writerSkill
- gdpr-compliantSkill
- gh-agent-taskSkill
- gh-apiSkill
- gh-aw-compileSkill
- gh-aw-firewall-debugSkill
- gh-aw-firewallSkill
- gh-aw-newSkill
- gh-awSkill
- gh-aw-troubleshootingSkill
- gh-codespaceSkill
- gh-issueSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
9 rules. About 0 are common, 3 are distinctive, and 6 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈3
Distinctive · estimate
This author's own choices. Worth a look.
6
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 17
When creating or modifying YAML configuration files (e.g., .yml, .yaml).
- Distinctive: line 19
Before committing YAML files to ensure they pass project linting standards.
- Very specific: line 23
When performing complex, programmatic queries, merges, or deep value extractions from YAML files (use the yq skill instead).
- Distinctive: line 25
When working in a repository that mandates a strictly different data serialization format (e.g., TOML, INI).
- Distinctive: line 35
Indentation: Use 2 spaces for indentation.
- Very specific: line 36
Structure: Ensure valid YAML structure, with proper use of dash-space list items (-) and objects.
- Very specific: line 38
Comments: Use # for comments. Be descriptive but concise.
- Very specific: line 43
yamllint: Use yamllint to check for syntax and style issues according to the project's .yamllint configuration.
- Very specific: line 44
yamlfix: Use yamlfix for automated formatting based on .yamlfix.toml settings.
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
yaml
<!-- markdownlint-disable MD013 MD023 MD031 MD032 -->Generic guidelines for YAML formatting, linting, and structural rules.
When to Use
- When creating or modifying YAML configuration files (e.g.,
.yml,.yaml). - To ensure proper formatting, quoting, and indentation of YAML data structures.
- Before committing YAML files to ensure they pass project linting standards.
When Not to Use
- When performing complex, programmatic queries, merges, or deep value extractions from YAML files (use the
yqskill instead). - For processing JSON files, unless converting them explicitly to YAML.
- When working in a repository that mandates a strictly different data serialization format (e.g., TOML, INI).
Common Pitfalls
- Tabs for Indentation: Using tabs instead of spaces, which is strictly invalid in the YAML specification and will cause parsing errors.
- Unquoted Boolean Strings: Writing unquoted
yes,no,on, oroff, which older YAML 1.1 parsers evaluate as booleans rather than strings. - Relying on Text Tools: Using
sedorawkto modify YAML structures, leading to broken indentation and corrupted files.
Core Principles
- Indentation: Use 2 spaces for indentation. Never use tabs.
- Structure: Ensure valid YAML structure, with proper use of dash-space list items (
-) and objects. - Quoting: Strings do not need to be quoted unless they contain special characters or might be evaluated as a different type (e.g.,
true,false,yes,no, numbers). - Comments: Use
#for comments. Be descriptive but concise. - yq Skill: For programmatic parsing, editing, merging, and transforming of YAML files, load the yq skill instead.
Linting and Formatting
- yamllint: Use
yamllintto check for syntax and style issues according to the project's.yamllintconfiguration. Run it via pre-commit:pre-commit run yamllint -a. - yamlfix: Use
yamlfixfor automated formatting based on.yamlfix.tomlsettings. Run it via pre-commit:pre-commit run yamlfix -a. - Pre-commit: It is best practice to run all validation hooks before pushing changes:
pre-commit run -a.
What to Avoid
- Using
sed,awk, orgrepto modify YAML structures, as these tools are not schema-aware and often break indentation. - Mixing tabs and spaces.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

