agentleFS
bookchaowalitbookchaowalit/platform-agent-skills/solution-architecture/SKILL.md

solution-architecture

Skill0 starsChanged 8 days agoApache-2.0View on GitHub

Produce and review Solution Architect (SA) artifacts for Solo Empire systems — context and container architecture, tech-stack and ADR decisions, NFR targets, security and data boundaries, API and data-model TRDs, sequence diagrams, deployment topology, migration plans, and runbooks. Use when designing or documenting how a system is built, deployed, scaled, secured, or migrated, or when a docpack needs architecture, nfr-security, runbook, or trd-api-data documents.

6 other projects use a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

1 rule. 0 are common, 1 is distinctive, and 0 are very specific to this project.

  • 0

    Common

    Most of the 6 edited versions we read keep these.

  • 1

    Distinctive

    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:

    Write the runbook: environments, build/deploy, variable names, health checks, rollback, backup/restore, incident steps.

    line 31

“Common” is measured: kept by at least 6 in 10 of the 6 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

Solution Architecture

Turn requirements and existing code into a defensible, evidence-backed architecture that delivery, operations, and the client can act on.

Workflow

  1. Read dashboard/CURRENT-STATE.md, docs/ARCHITECTURE.md, systems/architecture/repository-boundaries.md, and the system's rows in repository-catalog/registries/runtime-boundaries.yaml and service-deployments.yaml.
  2. Inventory the as-built system from code: entry points, routes/controllers, models and migrations, integrations, config variable names, build and deploy files (Dockerfile, railway.toml, vercel.json, CI).
  3. Model it: context diagram, containers/components, data stores, trust boundaries, deployment topology (mermaid flowchart/sequence/erDiagram).
  4. Record decisions as ADR-xx (context, options, decision, consequences) using templates/development-cycle/system-architecture-decision.md when a standalone record is needed.
  5. Set measurable NFR-xx targets (latency, availability, RPO/RTO, capacity, security controls, observability) with templates/development-cycle/non-functional-requirements.md; unknown targets become owner questions, not guesses.
  6. For APIs and data, produce the TRD: endpoint table (method, path, auth, purpose), entity/ER model, integration contracts — see templates/development-cycle/api-contract.md and technical-design.md.
  7. Write the runbook: environments, build/deploy, variable names, health checks, rollback, backup/restore, incident steps.
  8. Review with templates/positions/solution-architect/architecture-review-record.md and hand security/privacy questions to security-and-privacy.

Decision rules

  • Describe the as-built system first; label target or proposed designs [สมมติฐาน] until approved.
  • Hosting follows the recorded decision (Railway primary PaaS, Vercel for frontends) unless a client contract says otherwise; never invent a target.
  • Secrets: variable names only, never values or provider IDs that grant access.
  • Production changes, migrations, spending, or provider switches → explicit owner approval before acting; documents only describe the plan.

Handoff

Report diagrams and ADRs produced, NFR targets with their source, open architecture questions, risks (R-xx), and the verification run.

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.