yaml-configuration-1-use-consistent-indentation

Sub-skill of yaml-configuration: 1. Use Consistent Indentation (+4).

5 stars

Best use case

yaml-configuration-1-use-consistent-indentation is best used when you need a repeatable AI agent workflow instead of a one-off prompt.

Sub-skill of yaml-configuration: 1. Use Consistent Indentation (+4).

Teams using yaml-configuration-1-use-consistent-indentation should expect a more consistent output, faster repeated execution, less prompt rewriting.

When to use this skill

  • You want a reusable workflow that can be run more than once with consistent structure.

When not to use this skill

  • You only need a quick one-off answer and do not need a reusable workflow.
  • You cannot install or maintain the underlying files, dependencies, or repository context.

Installation

Claude Code / Cursor / Codex

$curl -o ~/.claude/skills/1-use-consistent-indentation/SKILL.md --create-dirs "https://raw.githubusercontent.com/vamseeachanta/workspace-hub/main/.agents/skills/_archive/data/scientific/yaml-configuration/1-use-consistent-indentation/SKILL.md"

Manual Installation

  1. Download SKILL.md from GitHub
  2. Place it in .claude/skills/1-use-consistent-indentation/SKILL.md inside your project
  3. Restart your AI agent — it will auto-discover the skill

How yaml-configuration-1-use-consistent-indentation Compares

Feature / Agentyaml-configuration-1-use-consistent-indentationStandard Approach
Platform SupportNot specifiedLimited / Varies
Context Awareness High Baseline
Installation ComplexityUnknownN/A

Frequently Asked Questions

What does this skill do?

Sub-skill of yaml-configuration: 1. Use Consistent Indentation (+4).

Where can I find the source code?

You can find the source code on GitHub using the link provided at the top of the page.

SKILL.md Source

# 1. Use Consistent Indentation (+4)

## 1. Use Consistent Indentation

```yaml
# ✅ Good: 2 spaces
vessel:
  dimensions:
    length: 320
    beam: 58

# ❌ Bad: Mixed indentation
vessel:
   dimensions:
     length: 320
   beam: 58
```


## 2. Quote Strings When Needed

```yaml
# Quote strings that could be interpreted as numbers or booleans
name: "12345"  # Without quotes, would be number
flag: "true"   # Without quotes, would be boolean

# Quote strings with special characters
description: "Wave height: 8.5m"
```


## 3. Use Anchors for Reusability

```yaml
# Define common material
steel: &steel
  density: 7850
  E: 200e9

# Reuse
chain_material: *steel
pipe_material: *steel
```


## 4. Add Comments for Clarity

```yaml
environment:
  water_depth: 1500  # meters, site-specific
  wave:
    Hs: 8.5  # 100-year return period
    Tp: 12.0  # Associated peak period
```


## 5. Organize Logically

```yaml
# Group related items
analysis:
  # ... analysis settings

environment:
  # ... environmental parameters

vessel:
  # ... vessel properties

mooring:
  # ... mooring system
```

Related Skills

portable-baseline-configuration-pattern

5
from vamseeachanta/workspace-hub

Separate portable/universal config from machine-specific settings to enable safe template reuse across environments

orcaflex-yaml-gotchas

5
from vamseeachanta/workspace-hub

Production-proven OrcaFlex YAML traps and solutions covering dormant properties, boolean mismatches, section ordering, Pydantic integration, and section name aliases.

hermes-local-configuration

5
from vamseeachanta/workspace-hub

Class-level Hermes local configuration and setup workflows, including config audit gotchas and Windows installation.

yaml-workflow-executor

5
from vamseeachanta/workspace-hub

Execute configuration-driven analysis workflows from YAML files. Use for running analysis pipelines, data processing tasks, and automation workflows defined in YAML configuration.

mkdocs-8-plugin-configuration

5
from vamseeachanta/workspace-hub

Sub-skill of mkdocs: 8. Plugin Configuration (+4).

json-config-loader-6-yaml-configuration-via-yq

5
from vamseeachanta/workspace-hub

Sub-skill of json-config-loader: 6. YAML Configuration (via yq).

json-config-loader-5-environment-variable-configuration

5
from vamseeachanta/workspace-hub

Sub-skill of json-config-loader: 5. Environment Variable Configuration.

json-config-loader-1-keyvalue-configuration-parsing

5
from vamseeachanta/workspace-hub

Sub-skill of json-config-loader: 1. Key=Value Configuration Parsing (+1).

interactive-menu-builder-1-consistent-navigation

5
from vamseeachanta/workspace-hub

Sub-skill of interactive-menu-builder: 1. Consistent Navigation (+3).

vscode-extensions-6-workspace-configuration

5
from vamseeachanta/workspace-hub

Sub-skill of vscode-extensions: 6. Workspace Configuration.

vscode-extensions-4-keybindings-configuration

5
from vamseeachanta/workspace-hub

Sub-skill of vscode-extensions: 4. Keybindings Configuration.

vscode-extensions-2-settings-configuration

5
from vamseeachanta/workspace-hub

Sub-skill of vscode-extensions: 2. Settings Configuration.