discover-standards
This skill automates the discovery of coding patterns and extracts them into standards files.
Instructions
- •Analyze Codebase: Use
search_filesandread_fileto identify recurring patterns (API structures, naming conventions, directory layouts, test patterns). - •Propose Standards: Present identified patterns to the user and ask which should be documented as standards.
- •Create Standards Files: For each confirmed pattern:
- •Determine a category (e.g.,
api,database,ui,global). - •Create a markdown file in
agent-os/standards/{category}/{name}.md. - •Follow the Agent OS standard format for the content.
- •Determine a category (e.g.,
- •Trigger Indexing: Once standards are created, suggest running
/index-standardsto update the global index.
Constraints
- •Do not overwrite existing standards without explicit user confirmation.
- •Use
agent-os/standards/as the root for all discovered standards.