Skip to content
Back to skills

Yaml

ASecurity

Create and review YAML files with safe indentation, schema-aware structure, and low-surprise serialization. Use when editing YAML config or workflow files.

  • 9 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added June 1, 2026
ai-agentsgo

Security analysis

A100/100

Pro scans all 5 files and shows the line behind each finding

Scanned June 1, 2026

npx -y skills add jscraik/Agent-Skills --skill yaml --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Yaml?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Yaml
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/jscraik-yaml/badge)](https://www.skillsdirectory.com/skills/jscraik-yaml)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: yaml
description: Create and review YAML files with safe indentation, schema-aware structure, and low-surprise serialization. Use when editing YAML config or workflow files.
metadata:
  skill-type: code_quality_review
---

## Table of Contents

- [When to use](#when-to-use)
- [Required inputs](#required-inputs)
- [Deliverables](#deliverables)
- [Philosophy](#philosophy)
- [Procedure](#procedure)
- [YAML Guidelines](#yaml-guidelines)
- [Editing Rules](#editing-rules)
- [Validation](#validation)
- [Constraints](#constraints)
- [Anti-patterns](#anti-patterns)
- [Failure mode](#failure-mode)
- [Gotchas](#gotchas)
- [References](#references)

## When to use

- Use for YAML authoring, review, or schema-safe fixes.
- Inputs: target files, consumer tool, required keys, and formatting conventions.
- Deliver valid YAML with stable indentation, key ordering, and scalar notes.

## Required inputs

- Target YAML file path and consuming tool or schema.
- Required keys, scalar expectations, and formatting conventions.
- Validation command or parser expected to consume the file.

## Deliverables

- Minimal YAML edit preserving meaningful ordering and comments.
- Validation evidence from parser, schema, or consuming tool.
- Notes for indentation, scalar coercion, or compatibility risk.

## Philosophy

- Prefer schema truth and low-churn edits over clever rewrites.

## Procedure

1. Confirm the consumer schema and current key paths.
2. Make the smallest compatible edit.
3. Validate before closeout.

## YAML Guidelines

- Use spaces only; never use tabs for indentation.
- Keep indentation width consistent within a file.
- Quote values that could be misread as booleans, numbers, dates, or null.
- Prefer block style for complex mappings and sequences.

## Editing Rules

- Minimize whitespace-only churn unless formatting is the task.
- Preserve key order when downstream tooling expects logical ordering.
- Avoid mixing flow style with block style in the same section.

## Validation

- Run the relevant parser/schema/tool checks for touched files.
- Fail fast: stop at the first failed gate and report exact blocker evidence.

## Constraints

- If schema compatibility is uncertain, stop and confirm constraints.
- Redact secrets and do not run destructive or network commands unless explicitly approved.

## Anti-patterns

- Reindenting unrelated sections, changing scalar meaning, or skipping validation.

## Failure mode

If the consuming schema, scalar expectations, or validation command cannot be identified, stop and report the missing contract before editing.

## Gotchas

- Unquoted values like `on`, `off`, or `no` may coerce unexpectedly.

## See Also

| Skill | When to use |
|---|---|
| [[toml]] | Schema-aware config review for TOML-based tooling configs |
| [[he-fix-bugs]] | Triage config parsing failures with evidence-first diagnosis |

**Topic map:** [[agent-ops]]

## References

- Deep guidance: `references/deep-guidance.md`

Files in this skill

  • SKILL.md2.9 KB
  • references/contract.yaml371 B
  • references/deep-guidance.md880 B
  • references/evals.yaml2.2 KB
  • references/task-profile.json1.3 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.