Software architecture engineering uap
Skill oghie/skillsets/skills/software-architecture-engineering-uap
Use when designing, evaluating, documenting, modernizing, reviewing, refactoring, or implementing software architecture and code-level structure, including requirements, context, architecture style selection, microservices patterns, clean code, code smells, Rust crate/library API architecture, Cargo feature/MSRV/SemVer policy, unsafe/FFI/no_std/library testing, modularity, views, NFR tactics, IAM/auth, security patterns, cost estimation, architecture-as-code fitness functions, ADR/RFC work, and engineering execution plans.From its SKILL.md
npx -y skills add oghie/skillsets --skill software-architecture-engineering-uapAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
2 things to look at
- 8 stars8 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
- runs commandsInstructs the agent to run 3 commands, including `scripts/architecture_static_audit.py <file-or-dir>` and 2 more.
What its file declares
Copied from the file, not written here
The file declares its own license as MIT. That is the author’s claim about this one file, and it is not the same thing as the license GitHub reports for the repository, which is listed with the other numbers below.
SKILL.md
11.0 KB, ~2.1k tokens by cl100k_base, as published. Nobody here has run it
Software Architecture Engineering UAP
Core Rule
Treat architecture as traceable engineering: requirements -> context -> schematic style choices -> architecture views -> NFR tactics -> evaluation -> implementation work. Do not recommend structure, technology, or patterns without naming the forces, trade-offs, evidence, and validation path.
First Pass
- Classify the task: greenfield design, architecture review, modernization, decomposition, clean-code review/refactoring, Rust library/crate architecture, microservices pattern design, API/service design, data architecture, IAM/auth design, security-pattern design, cost-aware decision, deployment/operation planning, architecture-as-code governance, NFR design, evaluation, ADR/RFC, or implementation planning.
- Identify scope and risk: users, stakeholders, business goals, current system evidence, constraints, critical workflows, quality attributes, team/deployment context, and reversibility.
- Tailor the Unified Architecture Process: lightweight for local low-risk changes; full A1-A6 for high-risk, distributed, regulated, long-lived, or irreversible decisions.
- Decide the visual artifacts needed: boundary/context, use case, component, class/data, activity, sequence, state, deployment, development/operation, style schematic, NFR conformance map, policy enforcement map, or fitness-function map.
- Define verification before recommending: repository inspection, docs review, scenario walk-through, prototype, benchmark, threat model, operational review, or implementation test plan.
Required Reads By Task
- Intake, scoping, or deciding how much process to use:
tasks/intake-and-tailoring.md. - Ambiguous requirements, stakeholder conflict, or missing acceptance criteria:
tasks/requirements-refinement.md. - External actors, integrations, data flows, system boundaries, or operational environment:
tasks/system-context-analysis.mdandreferences/context-and-views.md. - Architecture style choice, schematic structure, decomposition, or modernization target:
tasks/schematic-architecture-design.mdandreferences/architecture-style-catalog.md. - Microservices, modular monolith vs microservices, service decomposition, saga compensation/retry/idempotency, outbox relay/deduplication, CQRS projection/rebuild/lag, API composition, API gateway, BFF, service discovery, circuit breaker, event schema/order/replay/DLQ, contract testing, service chassis, service mesh, sidecar, strangler migration, anti-corruption layer, or production-ready service design:
tasks/microservices-pattern-architecture-design.mdandreferences/microservices-pattern-language.md. - Design principles, modularity, coupling/cohesion, KISS, SOLID, DRY, YAGNI, SoC, package boundaries, or code-level architecture heuristics:
references/design-principles-and-modularity.md. - Clean code, code smells, refactoring, code review, craftsmanship, naming/functions/classes/comments/error handling/tests, behavior-preserving cleanup, technical debt reduction, or implementation hygiene:
tasks/clean-code-refactoring-and-review.md,references/clean-code-craftsmanship.md, andtemplates/clean-code-review-checklist.md. - Rust library, crate, SDK, parser, reusable package, public API design, Cargo features, MSRV, SemVer,
unsafe, FFI,no_std, macro crate, async crate, or senior QA/testing plan for a Rust library:tasks/rust-library-design-review-and-testing.md,references/rust-library-architecture.md,templates/rust-library-contract-matrix.md, andtemplates/rust-library-release-flow.mmd. - Functional, information, behavior, deployment, development, or operation design:
tasks/architecture-view-design.md,references/context-and-views.md,references/development-and-operation-views.md, andreferences/diagram-visualization-guide.md. - Identity, IAM, authentication, authorization, sessions, tokens, MFA, passwordless, account lifecycle, admin users, audit logs, or auth API design:
tasks/identity-access-design.mdandreferences/iam-auth-architecture.md. - Security patterns, access-control models, policy engines, reference monitor, RBAC/ABAC/PBAC/ACL/capability, security logger/auditor, secure middleware/network patterns, misuse cases, or threat-driven design:
tasks/security-pattern-architecture-design.mdandreferences/security-architecture-patterns.md. - Cost, estimation, schedule/effort risk, operational cost, total ownership cost, performance capacity, resource-usage modeling, PERT/WBS/function points/COCOMO-style reasoning, or queueing models:
tasks/cost-aware-architecture-decision.mdandreferences/cost-estimation-and-performance-models.md. - Architecture-as-code, ADL-lite constraints, dependency rules, layer/database constraints, fitness functions, repository/package alignment, or architecture drift:
tasks/architecture-as-code-governance.mdandreferences/architecture-as-code-and-fitness-functions.md. - Performance, security, availability, modifiability, observability, compliance, or other NFR work:
tasks/nfr-and-conformance-design.mdandreferences/nfr-tactics-and-conformance.md. - Architecture evaluation, review gate, design risk assessment, or validation plan:
tasks/architecture-evaluation.mdandreferences/architecture-evaluation-methods.md. - Existing system review, refactor, migration, or modernization:
tasks/architecture-review-and-modernization.md. - ADR/RFC writing, implementation breakdown, rollout, tests, or repository mapping:
tasks/implementation-planning.mdandreferences/engineering-translation.md. - When a prompt primarily belongs to another skill but code-level maintainability is material, use the cross-skill map in
references/clean-code-craftsmanship.md; do not load clean-code material for pure strategy, research, or architecture-only prompts without code/refactoring/testability impact. - Quick UAP activity-step-task reminders or SRS intake extraction:
references/uap-appendix-artifact-playbooks.md. - Final architecture quality check:
references/review-checklist.md.
Decision Discipline
- Separate
Fact,Inference,Assumption, andQuestion. - For each major decision, state the decision, rationale, alternatives rejected, trade-offs, consequences, validation method, and engineering impact.
- Prefer the smallest viable architecture. Add distribution, indirection, async flow, shared platforms, or style complexity only when forces justify the cost.
- Treat diagrams as executable thinking aids: every diagram must clarify a boundary, ownership rule, interaction, deployment constraint, NFR impact, or implementation task.
- For cost-sensitive decisions, report estimate range, assumptions, uncertainty drivers, risk reserve, and update trigger.
- For governed boundaries, turn architecture rules into fitness functions or local verification commands when feasible.
Architecture Heuristics
- Preserve dependency direction and data ownership before optimizing for frameworks.
- Treat clean code as component-level architecture: names, functions, classes, tests, error paths, and boundary adapters must preserve architecture decisions in executable form.
- Treat Rust libraries as public-contract architecture: every public item, feature flag, dependency type, auto-trait, MSRV promise, doc example, and release gate can become a compatibility boundary.
- Prefer modular monoliths when independent deployment, team autonomy, or scale isolation is not yet justified.
- Use layered, MVC-family, N-tier, client-server, broker, dispatcher, event-driven, pub-sub, service-oriented, microservice, pipe-filter, repository, edge, controller, or plugin styles only when their forces match the system.
- For microservices, require business capability/subdomain decomposition, data ownership, transaction/consistency strategy, API/event contracts, testing strategy, production-readiness baseline, team ownership, deployment/release path, and migration strategy when relevant.
- For refactoring, require behavior evidence first. Do not approve style-only churn unless it reduces ambiguity, coupling, risk, or change cost.
- Treat identity and access as a cross-cutting architecture boundary: session/token design, authorization checks, MFA recovery, admin surfaces, audit logs, and key management must be explicit.
- Treat security as pattern-driven architecture, not only auth endpoints: define protected resources, subjects, policy model, enforcement points, decisions, audit events, and misuse cases.
- Never accept "scalable", "secure", "fast", "reliable", or "cloud native" without measurable scenarios and verification such as SLO, p95/p99, RTO/RPO, workload, or load-test evidence.
- Connect every NFR tactic to affected views: functional components, data ownership, behavior/control flow, deployment topology, development structure, operations, tests, observability, and rollback.
Evidence And Verification
- Inspect code, tests, schemas, API contracts, infra manifests, logs, ADRs, docs, and diagrams before judging an existing system.
- Current external facts such as service limits, pricing, regulations, CVEs, framework behavior, and product capabilities require live verification.
- Do not invent repository structure, requirements, latency numbers, uptime targets, security posture, compliance duties, or stakeholder priorities.
- Mark unknowns explicitly and explain why they affect architecture risk.
Script Helper
- Run
scripts/architecture_static_audit.py <file-or-dir>for a heuristic scan of architecture docs, ADRs, RFCs, and Markdown design plans for missing context, NFRs, view coverage, decision rationale, and common style risks. - Run
scripts/architecture_constraint_audit.py --root <repo> --config <constraints.json>for lightweight architecture-as-code checks over component path mappings, allowed dependencies, and forbidden imports. - Run
scripts/rust_library_surface_audit.py <crate-root>for a heuristic Rust crate review overCargo.toml, public API shape, docs, unsafe comments, feature/dependency posture, examples, and integration-test signals.
Output Standard
Lead with the architecture judgment or proposed path. Name assumptions, decision drivers, selected process depth, key diagrams/views, risks, cost/uncertainty when relevant, validation commands or checks, and residual uncertainty. For implementation work, include repository impact, task breakdown, tests, rollout, observability, and rollback.
What ships with it: 49 files
258.5 KB alongside SKILL.md, 3 of them executable
agents/
- openai.yaml571 B
references/
- architecture-as-code-and-fitness-functions.md5.0 KB
- architecture-evaluation-methods.md7.1 KB
- architecture-style-catalog.md7.6 KB
- clean-code-craftsmanship.md19.4 KB
- context-and-views.md5.6 KB
- cost-estimation-and-performance-models.md6.5 KB
- design-principles-and-modularity.md7.9 KB
- development-and-operation-views.md3.3 KB
- diagram-visualization-guide.md5.9 KB
- engineering-translation.md5.1 KB
- iam-auth-architecture.md14.0 KB
- microservices-pattern-language.md18.4 KB
- nfr-tactics-and-conformance.md5.6 KB
- review-checklist.md8.6 KB
- rust-library-architecture.md20.0 KB
- security-architecture-patterns.md9.0 KB
- uap-appendix-artifact-playbooks.md3.7 KB
- uap-process-map.md5.5 KB
scripts/
- architecture_constraint_audit.pyruns7.8 KB
- architecture_static_audit.pyruns21.2 KB
- rust_library_surface_audit.pyruns9.5 KB
tasks/
- architecture-as-code-governance.md1.2 KB
- architecture-evaluation.md1.7 KB
- architecture-review-and-modernization.md3.2 KB
- architecture-view-design.md2.8 KB
- clean-code-refactoring-and-review.md4.6 KB
- cost-aware-architecture-decision.md1.4 KB
- identity-access-design.md4.6 KB
- implementation-planning.md2.8 KB
- intake-and-tailoring.md1.6 KB
- microservices-pattern-architecture-design.md3.1 KB
- nfr-and-conformance-design.md2.1 KB
- requirements-refinement.md2.0 KB
- rust-library-design-review-and-testing.md7.8 KB
- schematic-architecture-design.md1.9 KB
- security-pattern-architecture-design.md1.5 KB
- system-context-analysis.md2.0 KB
templates/
- agent.md4.7 KB
9 more files not listed here. See all 49 in the repository.
Gives 0 of the 12 instructions most architecture codebase skills give in ~2.1k tokens
Counted across 858 of the 1,304 authors here whose files we hold, read 2026-09-06
- Apply the deletion test to identify shallow modulesin 32 of 858, across 31 files
- Read domain glossary and ADRs before exploringin 22 of 858, across 19 files
- Use Tailwind and Mermaid via CDN for reportsin 21 of 858, across 18 files
- Document architecture decision recordsin 20 of 858, across 12 files
- Offer to record ADRs for rejected candidatesin 17 of 858, across 14 files
- Limit primary navigation to four to seven itemsin 17 of 858, across 7 files
- Write HTML report to the system temp directoryin 17 of 858, across 14 files
- Read product marketing context before asking questionsin 16 of 858, across 6 files
- Use Mermaid graph TD for visual sitemapsin 15 of 858, across 5 files
- Ensure every page has at least one internal linkin 15 of 858, across 5 files
- Use ASCII tree format for page hierarchy draftsin 15 of 858, across 5 files
- Enforce lowercase URLs with hyphensin 15 of 858, across 5 files
Said here and by no other author read
- classify the task before starting
- identify scope and risk factors
- tailor process depth to project risk
- define verification methods before recommending solutions
- state rationale and trade-offs for every decision
- treat diagrams as executable thinking aids
Grouped from the skills themselves: near-identical wordings counted once, and counted by distinct author, so one author publishing three of these counts once. Length counted with cl100k_base; the agent that loads this file may tokenize it differently.