agentleFS
pecigonzalopecigonzalo/agent-skills/skills/standards-analysis/SKILL.md

standards-analysis

Skill0 starsChanged 4 months agoMITView on GitHub

Use this skill for complex problem analysis, architectural decisions, bug investigation, or requirement gathering, including when a problem is ambiguous and needs decomposition before work starts. Provides decomposition, trade-off, and root-cause frameworks. Use workflow-debugging once the problem is a reproducible defect.

The file

We split this skill into the rules it gives an agent

2 rules. About 0 are common, 2 are distinctive, and 0 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈2

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Read relevant code / data points

    line 42
  2. Distinctive:

    Search for similar implementations

    line 125

≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Analysis Standards

Provides: Problem decomposition techniques, requirement gathering checklists, trade-off analysis frameworks, and analysis report templates.

Quick Reference

Process: Context → Gather → Patterns → Impact → Recommendations

Report Format: Context, Findings, Patterns, Issues (🔴🟡🔵), Recommendations, Trade-offs, Next Steps

Be: Thorough, Objective, Specific, Actionable

Checklist: Context stated, Evidence gathered, Patterns identified, Issues prioritized, Recommendations specific, Trade-offs considered


Purpose

Framework for analyzing code, patterns, and technical issues systematically.

When to Use

Reference this when:

  • Analyzing codebase patterns
  • Investigating bugs or issues
  • Evaluating architectural decisions
  • Assessing code quality
  • Researching solutions

Analysis Process

1. Understand Context

  • What are we analyzing and why?
  • What's the goal or question?
  • What's the scope?
  • What constraints exist?

2. Gather Information

  • Read relevant code / data points
  • Check documentation
  • Search for patterns
  • Review related issues
  • Examine dependencies

3. Identify Patterns

  • What's consistent across the codebase?
  • What conventions are followed?
  • What patterns are repeated?
  • What's inconsistent or unusual?

4. Assess Impact

  • What are the implications?
  • What are the trade-offs?
  • What could break?
  • What are the risks?

5. Provide Recommendations

  • What should be done?
  • Why this approach?
  • What are alternatives?
  • What's the priority?

Analysis Report Format

## Analysis: {Topic}

**Context:** {What we're analyzing and why}

**Findings:**
- {Key finding 1}
- {Key finding 2}
- {Key finding 3}

**Patterns Observed:**
- {Pattern 1}: {Description}
- {Pattern 2}: {Description}

**Issues Identified:**
- 🔴 Critical: {Issue requiring immediate attention}
- 🟡 Warning: {Issue to address soon}
- 🔵 Suggestion: {Nice-to-have improvement}

**Recommendations:**
1. {Recommendation 1} - {Why}
2. {Recommendation 2} - {Why}

**Trade-offs:**
- {Approach A}: {Pros/Cons}
- {Approach B}: {Pros/Cons}

**Next Steps:**
- {Action 1}
- {Action 2}

Common Analysis Types

Code Quality Analysis

  • Complexity (cyclomatic, cognitive)
  • Duplication
  • Test coverage
  • Documentation completeness
  • Naming consistency
  • Error handling patterns

Architecture Analysis

  • Module dependencies
  • Coupling and cohesion
  • Separation of concerns
  • Scalability considerations
  • Performance bottlenecks

Bug Investigation

  • Reproduce the issue
  • Identify root cause
  • Assess impact and severity
  • Propose fix with rationale
  • Consider edge cases

Pattern Discovery

  • Search for similar implementations
  • Identify common approaches
  • Document conventions
  • Note inconsistencies
  • Recommend standardization

Best Practices

Be Thorough

  • Check multiple examples
  • Consider edge cases
  • Look for exceptions
  • Verify assumptions

Be Objective

  • Base conclusions on evidence
  • Avoid assumptions
  • Consider multiple perspectives
  • Acknowledge limitations

Be Specific

  • Provide concrete examples
  • Include file names and line numbers
  • Show code snippets
  • Quantify when possible

Be Actionable

  • Clear recommendations
  • Prioritize findings
  • Explain rationale
  • Suggest next steps

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.