agentleFS
BitNomadABBitNomadAB/Skills/skills/atam-architecture-analysis/SKILL.md

atam-architecture-analysis

Skill3 starsChanged 48 days agoApache-2.0View on GitHub

Use when asked to evaluate an existing or proposed software architecture using ATAM, identify quality-attribute risks and tradeoffs, or produce an architecture evaluation report.

The file

Show its rules and text

We split this skill into the rules it gives an agent

21 rules. About 0 are common, 17 are distinctive, and 4 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈17

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 4

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Treat the task as analysis.

    line 26
  2. Distinctive:

    Always save each completed ATAM analysis as a report according to Report output.

    line 27
  3. Distinctive:

    Do not invent business goals, quality targets, stakeholder priorities, operational conditions, or measurements.

    line 29
  4. Distinctive:

    Use only tools available in the current environment.

    line 30
  5. Distinctive:

    No contact with the product's own systems: do not open the product's live services or administration pages.

    line 36
  6. Distinctive:

    Read relevant repository instructions before inspecting or changing files.

    line 45
  7. Distinctive:

    Elicit and prioritize stakeholder scenarios: Ask stakeholders for concrete situations that matter to them, then prioritize them.

    line 63
  8. Distinctive:

    When evidence is available, describe each quality-attribute scenario using:

    line 69
  9. Distinctive:

    Keep missing fields explicit as unknown or to be confirmed.

    line 77
  10. Distinctive:

    If business drivers or stakeholders are unavailable, continue only as a provisional, repository-based assessment and list the questions …

    line 93
  11. Distinctive:

    If architecture documentation conflicts with code or deployment configuration, report the discrepancy rather than silently choosing one …

    line 94
  12. Distinctive:

    If a scenario has no measurable response criterion, retain it as incomplete and state what measurement or target is needed.

    line 95
  13. Distinctive:

    If the evidence cannot establish a risk, sensitivity, or tradeoff, report the concern as an open question instead of overstating the …

    line 96
  14. Very specific:

    Before analysis, check the repository root for analysis/.

    line 101
  15. Distinctive:

    If file creation is unavailable, provide the report in the response and state that it could not be saved.

    line 105
  16. Very specific:

    Helper script (optional): if Python 3 is available (the command may be python3, python or py), use scripts/report.py in this skill's …

    line 106
  17. Very specific:

    Before analysis, report.py new "<topic>" creates the report with the date from the system clock, a free file name and the headings from …

    line 107
  18. Very specific:

    After writing, report.py check <report-path> checks the date line, missing or empty sections and anything that looks like a secret or token.

    line 108
  19. Distinctive:

    Use tables when they improve comparison.

    line 123
  20. Distinctive:

    Do not claim that a system satisfies a quality attribute without an applicable scenario, evidence, and response measure.

    line 136
  21. Distinctive:

    Do not change production code or architecture unless the user requests implementation.

    line 137

≈ “Common” is an estimate: at least 1 in 5 of the 408,460 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

ATAM Architecture Analysis

Purpose

Evaluate how architectural decisions support or threaten important quality goals. Use the Architecture Tradeoff Analysis Method (ATAM) structure to make assumptions, evidence, risks, sensitivities, and tradeoffs explicit.

This skill guides an agent-assisted analysis. It does not replace a facilitated ATAM evaluation with the relevant stakeholders.

Use when

  • The user requests an ATAM, architecture evaluation, or quality-attribute risk and tradeoff analysis.
  • The user wants an evidence-based review of how a software architecture supports goals such as availability, performance, security, modifiability, or deployability.

Do not use when

  • The request is only for a code-level defect review, implementation plan, or architecture diagram with no quality-attribute evaluation.
  • The user expects a certified, complete, or stakeholder-approved ATAM from repository evidence alone.

Scope and assumptions

  • Treat the task as analysis. Do not modify production code or architecture unless the user separately requests implementation.
  • Always save each completed ATAM analysis as a report according to Report output. This does not authorize changes to production code or architecture.
  • A repository reveals only part of an architecture. Mark information as observed, stakeholder-confirmed, inferred, or unknown. Do not present assumptions as facts.
  • Do not invent business goals, quality targets, stakeholder priorities, operational conditions, or measurements. Ask focused questions when needed; otherwise record the gap and its effect on confidence.
  • Use only tools available in the current environment. Never assume a particular agent, operating system, shell, diagramming tool, or repository layout.

External documentation

  • Purpose: if you can read the web, you may look up official documentation or a vendor's published material to support a claim this analysis needs, for example a provider's documented limits, quotas or availability commitments that a scenario's response measure depends on. Forums and blog posts are not evidence.
  • Confidentiality: what you type into a search leaves the machine. Never put code, secrets, internal names, unreleased product or feature names, or customer data into a search. Search for the vendor, product or standard by its public name.
  • No contact with the product's own systems: do not open the product's live services or administration pages.
  • Label and record: label such a claim external source, never observed, and list each source in a Sources section at the end of the report: ID (S1, S2, ...), title, publisher, link, publication date (or "undated"), date read (YYYY-MM-DD), and what it supports.
  • Without web access: mark the claim unknown.

Workflow

1. Establish scope and evidence

  1. Confirm the system or subsystem, architecture version, evaluation purpose, and whether the user wants a written report.
  2. Read relevant repository instructions before inspecting or changing files.
  3. Locate useful evidence: architecture views and decision records, service and module boundaries, dependency and deployment configuration, data flows, interfaces, security controls, tests, and operational configuration.
  4. Record the source for each important architectural claim. Distinguish intended design in documentation from behavior visible in implementation and deployment configuration.
  5. Identify missing evidence and stakeholders who can confirm business drivers, scenario priorities, operating conditions, and acceptable measures.

2. Follow ATAM Phase 1: evaluation team and architecture

Work through the first six ATAM steps. If the team or business context is unavailable, say so and mark the affected results as provisional.

  1. Present ATAM and set expectations. Explain the scope, participants available, evidence limits, and intended output.
  2. Present business drivers. Capture the system's purpose, stakeholders, constraints, important capabilities, and business goals. Trace each driver to its source or mark it unknown.
  3. Present the architecture. Summarize relevant components, connectors, runtime and deployment structure, data flows, external dependencies, and important decisions. Use only views supported by evidence.
  4. Identify architectural approaches. Record significant patterns, tactics, technologies, and design decisions that shape quality attributes. Link each to its evidence and rationale when known.
  5. Build and prioritize a quality-attribute utility tree. Refine business goals into relevant quality attributes and concrete scenarios. Prioritize with stakeholders when possible; keep business importance and technical difficulty as separate judgments.
  6. Analyze architectural approaches. For the highest-priority scenarios, trace how the architecture is expected to respond. Identify decisions that enable, constrain, or threaten that response, and record missing evidence.

3. Follow ATAM Phase 2: stakeholders and results

  1. Elicit and prioritize stakeholder scenarios. Ask stakeholders for concrete situations that matter to them, then prioritize them. If stakeholders are unavailable, label repository-derived scenarios as candidates, not approved priorities.
  2. Analyze the prioritized scenarios. Repeat the scenario analysis for the agreed priorities. Refine scenarios and priorities when new evidence changes the assessment.
  3. Present results. Summarize the scope, architecture, prioritized scenarios, findings, risk themes, recommendations, assumptions, and unresolved questions. Separate evidence from interpretation.

4. Make scenarios testable

When evidence is available, describe each quality-attribute scenario using:

  • Source: who or what produces the stimulus.
  • Stimulus: the event or condition.
  • Environment: the conditions under which it occurs.
  • Response: the system behavior expected.
  • Response measure: a measurable criterion for judging the response.

Keep missing fields explicit as unknown or to be confirmed. Do not fabricate numeric targets. Use only quality attributes relevant to the stated business drivers; examples include availability, performance, security, modifiability, interoperability, and operability.

5. Classify findings carefully

  • Risk: an architectural decision or unresolved issue may prevent a scenario's response from meeting its goal.
  • Non-risk: available evidence suggests a decision supports a particular scenario under stated assumptions. This is not a guarantee that the architecture is risk-free.
  • Sensitivity point: a decision or parameter can significantly affect the response to a quality-attribute scenario.
  • Tradeoff point: one decision affects multiple quality attributes, with a benefit to one potentially creating a cost to another.
  • Risk theme: a group of related risks with a shared architectural cause or concern.

For each finding, cite the relevant repository evidence or stakeholder input, explain the cause-and-effect reasoning, identify affected scenarios and quality attributes, and state confidence and unknowns. Do not label every concern a risk if the evidence does not support that conclusion.

Decision rules

  • Prioritize scenarios from business goals and stakeholder input, not from a generic checklist of quality attributes.
  • Assess technical difficulty separately from business importance. Explain the basis for each judgment; do not imply false precision with unsupported scores.
  • If business drivers or stakeholders are unavailable, continue only as a provisional, repository-based assessment and list the questions needed to validate it.
  • If architecture documentation conflicts with code or deployment configuration, report the discrepancy rather than silently choosing one source.
  • If a scenario has no measurable response criterion, retain it as incomplete and state what measurement or target is needed.
  • If the evidence cannot establish a risk, sensitivity, or tradeoff, report the concern as an open question instead of overstating the finding.
  • Tie each recommendation to a finding or evidence gap. State the expected benefit, relevant quality attribute, and any cost or tradeoff when known.

Report output

  • Before analysis, check the repository root for analysis/. Create it if missing, then create analysis/atam-architecture-analysis/ if missing.
  • Save every completed ATAM analysis as a Markdown report in analysis/atam-architecture-analysis/, even if the user did not separately request a report file.
  • Name the report <YYYY-MM-DD>-<topic-slug>.md. Never overwrite an existing report; add a numeric suffix if needed.
  • The report's first line must be the date the analysis was performed, formatted YYYY-MM-DD. Use the current date from the environment or a reliable clock; do not invent it.
  • If file creation is unavailable, provide the report in the response and state that it could not be saved.
  • Helper script (optional): if Python 3 is available (the command may be python3, python or py), use scripts/report.py in this skill's folder, with the repository being analyzed as the working directory:
    • Before analysis, report.py new "<topic>" creates the report with the date from the system clock, a free file name and the headings from Expected result, and prints its path. Write the report into that file.
    • After writing, report.py check <report-path> checks the date line, missing or empty sections and anything that looks like a secret or token. Fix every FAIL line and run it again.
    • Without Python, apply the rules above by hand and check the same things yourself before finishing.

Expected result

Provide a concise evaluation with these sections, using each bold name as a heading. If a section does not apply, keep its heading and explain why under it:

  1. At a glance: the count line and at most three key points, as described below.
  2. Scope and evidence: system boundary, sources inspected, participants, assumptions, and limitations.
  3. Business drivers and utility tree: goals, selected quality attributes, scenarios, and priority basis.
  4. Architecture and approaches: relevant design decisions with evidence.
  5. Scenario analysis: expected response, response measure, reasoning, and evidence for each prioritized scenario.
  6. Findings: first a table with one row per finding: ID (F1, F2, ...), type (risk, non-risk, sensitivity point or tradeoff point), the finding in one sentence, affected scenarios and quality attributes, evidence, and confidence. Then reasoning per finding where the table is not enough, and risk themes listing the IDs they group.
  7. Recommendations and open questions: actionable next steps, each referring to the finding IDs it addresses, and what stakeholders must confirm.

Use tables when they improve comparison. Keep observations, interpretations, and recommendations distinguishable. Include file paths or other source identifiers for repository evidence.

At a glance comes first and must be readable in under a minute:

  • The first line is the count line: N risks · N sensitivity points · N tradeoff points · N non-risks · provisional: yes or no (provisional means the priorities were not confirmed by stakeholders). Count only what the sections below record.
  • Then at most three list items, taken from the top of the report's own priorities. Each item is one plain sentence: what is at stake, for whom, and what is needed, without method terms. After the sentence, in parentheses: the report's own priority or label, the evidence label (for example observed, inferred or unknown), and the ID or heading where the details are.
  • State nothing in At a glance that the sections below do not support. Do not raise certainty, add scores or drop an evidence label to make it shorter.

Reply in chat: after saving and checking the report, reply with the report path and the At a glance section as written in the file. Add only what the user must know beyond that: a check that still fails, a file that could not be saved, or evidence that could not be reached. Do not paste other sections into the chat.

Boundaries

  • A repository-only assessment is not a complete ATAM workshop and must not be described as stakeholder-approved.
  • Do not claim that a system satisfies a quality attribute without an applicable scenario, evidence, and response measure.
  • Do not change production code or architecture unless the user requests implementation. The report described under Report output is required.
  • Preserve unrelated user changes and report checks or sources that could not be accessed.

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.