learn

Analyze codebases to detect patterns and generate governance proposals.

1|Updated Feb 24, 2026
One-click install
npx skills add https://github.com/MartinNevlaha/stratus-v2 --skill learn-martinnevlaha
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: learn
Source: https://github.com/MartinNevlaha/stratus-v2/tree/main/cmd/stratus/skills/learn
Command: npx skills add https://github.com/MartinNevlaha/stratus-v2 --skill learn-martinnevlaha

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill automates the process of identifying, documenting, and codifying recurring patterns and anti-patterns within a codebase, transforming them into actionable rules, templates, or architectural decisions.

Core Features & Use Cases

  • Pattern Detection: Analyzes code for repeated structures, inconsistencies, and documentation gaps.
  • Proposal Generation: Creates draft rules, templates, or ADRs based on detected patterns.
  • Automated Documentation: Facilitates the writing and indexing of governance documents.
  • Use Case: After completing a complex feature, use this Skill to identify common code snippets that could be abstracted into a new template or to document an architectural decision made during the implementation.

Quick Start

Analyze the codebase for new patterns and generate proposals for documentation.

Frequently Asked Questions about learn

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

FAQPage Schema
How do I detect repeating patterns and anti-patterns in my codebase?

Code analysis for pattern detection scans a codebase to identify repeated structures, inconsistencies, and anti-patterns, then generates proposals for new rules, templates, or architectural decision records based on findings.

How do I automatically generate architectural decision records from existing code?

Automated documentation generates draft architectural decision records by analyzing your codebase for patterns and decisions made during implementation, creating proposals that can be automatically written to files upon acceptance.

What is the best way to codify recurring code snippets into reusable templates?

Codifying recurring code snippets into templates involves analyzing the codebase for repeated structures and generating draft template proposals that can be reviewed, accepted, and automatically written to files.

Can I automate code governance document indexing when files are modified?

Yes, governance document indexing is automated by re-indexing governance documents upon modification, ensuring that accepted rules, templates, and architectural decision records remain synchronized with the codebase.

Does pattern detection work for identifying documentation deficiencies across a project?

Yes, pattern detection analyzes a codebase to identify documentation gaps and deficiencies, generating proposals for new rules or architectural decision records to address the documentation shortfall.