ensemble-discover-standardslisted
Install: claude install-skill FortiumPartners/ensemble
# Ensemble Command: /ensemble:discover-standards
This Codex skill mirrors the Ensemble slash command `/ensemble:discover-standards`.
Follow the workflow below, adapt to the current repository, and keep outputs structured.
<!-- DO NOT EDIT - Generated from discover-standards.yaml -->
<!-- To modify this file, edit the YAML source and run: npm run generate -->
Analyze a project codebase to extract coding conventions, naming patterns, error handling
styles, test structures, and git commit practices. Write discovered standards to a
standards/ directory with a machine-readable index.yml for token-efficient reference by
future agent sessions. Always merge with existing standards rather than replacing them.
## Workflow
### Phase 1: Codebase Scan
**1. Tech Stack Detection**
Identify the primary language, framework, test framework, and tooling
- Read package.json, Gemfile, requirements.txt, go.mod, mix.exs, *.csproj, or equivalent manifest files
- Identify primary language(s) and framework(s) (e.g., Next.js 14, Rails 7, Phoenix 1.7, ASP.NET Core 8)
- Detect test framework(s) from devDependencies, Gemfile, or test directory conventions
- Detect linter/formatter config (.eslintrc, .prettierrc, rustfmt.toml, .rubocop.yml, .editorconfig)
- Note monorepo structure if present (workspaces, packages/, apps/)
- Print detected stack summary before proceeding
**2. Convention Extraction**
Sample representative source files to identify project-specific coding patte