NAC General Development Rules

Enforce YAML and Python formatting rules across agent-generated files.

Updated Apr 14, 2026
One-click install
npx skills add https://github.com/hayibrah/nac-iosxr-agents --skill nac-general-development-rules
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: NAC General Development Rules
Source: https://github.com/hayibrah/nac-iosxr-agents/tree/main/skills/iosxr_dev_rules
Command: npx skills add https://github.com/hayibrah/nac-iosxr-agents --skill nac-general-development-rules

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

The NAC Development Rules provide a universal standard for all agent-generated files, ensuring consistent formatting, safety, and reliability across the NAC IOS-XR automation lifecycle.

Core Features & Use Cases

  • Enforce YAML and Python formatting rules (2-space indentation, trailing newline, no trailing whitespace) across all generated files.
  • Serve as the CI gate reference, guiding yamllint, ruff, and schema-driven validation to reduce errors and onboarding friction.
  • Provide clear guidance for safe development practices and error handling to improve maintainability and cross-team collaboration.

Quick Start

Apply these rules to every agent output to ensure consistent formatting and safe, predictable automation.

Frequently Asked Questions about NAC General Development Rules

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I enforce consistent YAML formatting standards in CI pipelines?

Enforce YAML formatting standards in CI by applying rules for 2-space indentation, trailing newlines, and no trailing whitespace using yamllint validation. This ensures consistent formatting across all agent-generated files.

What development rules are needed for agent-generated Python and YAML files?

Development rules for agent-generated Python and YAML files require 2-space indentation, trailing newline enforcement, and no trailing whitespace. Ruff and yamllint validate these standards within CI environments.

Does NAC General Development Rules support schema-driven validation for IOS-XR automation?

Yes, NAC General Development Rules supports schema-driven validation for IOS-XR automation by guiding yamllint and ruff checks within CI environments to ensure safe, predictable, and reliable file outputs.

How do I configure ruff and yamllint to check for trailing whitespace and indentation?

Configure ruff and yamllint to check for trailing whitespace and 2-space indentation by applying universal development rules that serve as a CI gate reference for all generated Python and YAML files.

Why does my CI pipeline fail on YAML files with inconsistent indentation?

CI pipelines fail on inconsistent YAML indentation because universal development rules enforce 2-space indentation and no trailing whitespace to maintain formatting consistency and reduce errors in agent-generated files.