agentleFS
Beskars-CodeBeskars-Code/Skills/skills/analyze/SKILL.md

analyze

Skill0 starsChanged 5 days agoMITView on GitHub

Use when the user asks to look into, investigate, or research a bug, an idea, or a question before anything is built, or to audit or assess existing code or a repo. Also runs nested under write-ticket or review remediation. Returns findings in chat; writes no tickets or code.

70 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use constitution, revise and 10 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • ArvorCoSkill

    constitution

    Create or update the project constitution - personalized governance and coding principles. Use when starting a project or updating project standards. Triggers on: create constitution, update principles, set project rules.

    Also in 4 projects that use this

  • stormlightlabsSkill

    revise

    Address review comments on an open pull request and push the fixes. Use for /edit, /revise, or when asked to respond to review feedback on a PR number.

    Also in 3 projects that use this

  • DockerSkill

    write

    Write or edit reader-facing technical prose for immediate comprehension. Use for documentation, PR titles and descriptions, release notes, design documents, user-facing explanations, and substantive comments. Also use when asked to make writing clearer, more natural, less AI-generated, or easier to read. For documentation fixes, handles edits, formatting, self-review, and commits after research identifies what to change. Do not use for code-only tasks with no prose deliverable.

    Also in 6 projects that use this

  • ArvorCoSkill

    specify

    Create feature specification from natural language description. Use when starting a new feature or creating a spec. Triggers on: create spec, specify feature, new feature spec.

    Also in 5 projects that use this

  • H-mmerSkill

    submit

    Draft and submit a vulnerability report to the bug bounty platform. Reads scope.yaml for platform/program, uses brain + findings for content. Always drafts first for review.

    Also in 3 projects that use this

  • GoogleSkill

    quality

    Evaluates whether a GitHub issue is spam, empty, needs more information, or is OK to proceed.

    Also in 3 projects that use this

  • +1 more from ArvorCo

The file

We split this skill into the rules it gives an agent

6 rules. 0 are common, 5 are distinctive, and 1 is very specific to this project.

  • 0

    Common

    Most of the 59 edited versions we read keep these.

  • 5

    Distinctive

    This author's own choices. Worth a look.

  • 1

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Keep user decisions, rules, areas, and promotion state (whether the user approved turning this analysis into a build or ticket, see Apply) …

    line 22
  2. Very specific:

    If the user only wants how something works (a walkthrough, who owns a layer, how layers fit), stop and follow /how.

    line 28
  3. Distinctive:

    When a parent already locked Done when and rules that must stay true, reuse them without re-grilling product intent.

    line 33
  4. Distinctive:

    Use this mode only when the active orchestrator requests analysis of named Fix-now rows under remediation.

    line 45
  5. Distinctive:

    Follow nested capabilities.

    line 54
  6. Distinctive:

    Ask only hard, ambiguous unknowns, then end with the final report.

    line 60

“Common” is measured: kept by at least 6 in 10 of the 59 edited versions of this file we could read. “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

Analyze

Investigate a task, idea, ticket, PR, or review-fix backlog and return an evidence-backed memo in chat. Never write to Linear or GitHub.

Read when

  • Investigating a touched user flow, visible action, or UX complaint? Open user-experience.md and inspect the current entry point, context, continuation, and existing design before recommending controls. Backend-only work skips this.
  • About to research, even when the ask looks like a single file? Open code-quality.md, code-structure.md, doctrine.md, and the execution context. Skip them and the memo recommends a fix the rules reject.
  • About to search widely or read large files? Open main-context.md. Skip it and raw search output buries the analysis.
  • About to ask the user anything? Open Asking the user. Skip it and you ask what the repo already answers.
  • About to post the memo? Open Plain language. Skip it and the memo reads like pack jargon.

Contract

  • Rediscover repository, ticket, PR, and diff facts from their live sources.
  • Keep user decisions, rules, areas, and promotion state (whether the user approved turning this analysis into a build or ticket, see Apply) visible in the execution context, and take them from the user, not from code.
  • Return the analysis memo in chat only, and keep state in the execution context.
  • Save a memo only when the user explicitly requests it and approves the destination.

Mechanics or rationale only

If the user only wants how something works (a walkthrough, who owns a layer, how layers fit), stop and follow /how. If they only want why it is this way, stop and follow /why. A bug, an idea, impact, or a build seed stays here.

Process

  1. Establish or refresh the relevant execution context and normalize the ask. When a parent already locked Done when and rules that must stay true, reuse them without re-grilling product intent.
  2. Investigate the affected flow with the doctrine's research rules. Separate facts, settled decisions, ordinary implementer choices, and unresolved tradeoffs before recommending a design.
    • Meaningful feature or boundary change, or observed architecture friction: apply public boundary investigation. Small changes that keep the contract skip it.
    • An independently uncertain boundary: use a bounded scout.
    • Existing mechanics or history could change the analysis: use /how or /why for that bounded question and carry its conclusions, sources, and uncertainty into the memo. Neither chooses the new design or starts another interview.
    • Under a parent: return facts, conclusions, source pointers, and uncertainty under nested capabilities, with no standard memo.
  3. Standalone, post the doctrine memo. Lead with a Mermaid diagram. Include an inline execution seed when the work is buildable.

Review remediation

Use this mode only when the active orchestrator requests analysis of named Fix-now rows under remediation. Return root cause, smallest fix, touch surface, uncertainty, and verification keyed to each stable finding ID. Add no findings, product discovery, or follow-ups. The orchestrator adjudicates and dispatches once; analysis does not promote or launch an implementation lifecycle.

If a parent already owns the next step

Follow nested capabilities. Return bounded evidence and recommendations. The parent owns preparation, promotion, and any next step, including when it already has implementation authorization.

If this is a user one-off

Ask only hard, ambiguous unknowns, then end with the final report. Its Next line offers the hand-off that fits; promote only on the user's reply. Work without a parent brief.

Anti-patterns

  • Returning a raw search hit list instead of the memo
  • Answering a pure how or why question with this memo
  • Creating tickets, implementing code, or writing tests

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.