Chous

From managedcode/dotnet-skills · View interactive version

Chous is an AI agent skill from the GitHub repository managedcode/dotnet-skills. Use Chous in .NET repositories that ship sizeable frontend codebases and want file-structure linting, naming convention enforcement, and folder-layout policy as a CLI gate. USE FOR: growing frontend trees; naming, folder, or file-placement policy; CI checks for frontend layout drift. DO NOT USE FOR:

How to use this skill

Skill file

Chous for Frontend File-Structure Linting in .NET Repositories

Trigger On

Do Not Use For

Inputs

Workflow

  1. Define the structure problem first:
  1. Start from chous init or a known preset, then tighten only the rules the repo can explain.
  2. Keep the checked-in .chous file readable enough that future contributors understand the policy.
  3. Add repeatable commands such as:
  1. Exclude generated folders, build artifacts, and vendored assets so the signal stays architectural.
  2. Use Chous as a supplement to semantic linters, not as their replacement.
  3. Re-run after moves or refactors to confirm the structure policy still matches the intended design.

Bootstrap When Missing

  1. Detect current state:
  1. Start with the official no-install or global paths:
  1. Initialize config when the repo truly wants structure policy:
  1. Add a repeatable command to AGENTS.md and package.json, then verify with:
  1. Return status: configured if the repo now has a checked-in structure-lint baseline, or status: improved if an existing baseline was tightened.
  2. Return status: not_applicable when the repo is too small or too fluid to justify a structure-lint gate right now.

Handle Failures

Deliver

Validate

Ralph Loop

  1. Plan: analyze current state, target outcome, constraints, and risks.
  2. Execute one step and produce a concrete delta.
  3. Review the result and capture findings.
  4. Apply fixes in small batches and rerun checks.
  5. Update the plan after each iteration.
  6. Repeat until outcomes are acceptable.
  7. If a dependency is missing, bootstrap it or return status: not_applicable with a reason.

Required Result Format

Example Requests

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.