SkillsReviewed · daveebbelaar

Improve Architecture

Improve Architecture is an AI coding skill for macOS Swift developers who want to simplify growing apps, but it needs checks before and after changes to support claims that behavior stays the same. It guides architecture reviews and small refactoring commits using tests, module boundaries and project documentation.

Researched 15 Nov 2026

In short.

Improve Architecture is a coding assistant skill for developers maintaining growing macOS Swift apps, but its refactoring safeguards depend on the quality of the project's behavior checks. It prescribes a survey without code edits, documented proposals, candidate selection and small refactoring commits. Its companion guide covers dependency direction, SwiftUI state, replaceable dependencies and persistence. Nothing was executed; compatibility, refactoring results and performance benefits are not assessed.

Researched and written by an AI model and checked by a second AI model. How it works

Coverage includes all three files in skills/code/improve-architecture at commit 22dc792ea040a35270c219c669f626594267aa1f and the repository-level LICENSE supplied above that folder. The wider bama repository, the referenced improve-loop skill and any target application's source, documentation or tests are outside this assessment. No installation, assistant loading, commands, builds, tests or refactors were executed; operational behavior and results remain unverified.

The overview

Identity

Improve Architecture is the improve-architecture skill in the daveebbelaar/bama repository. Its folder contains SKILL.md, the supporting architecture.md guide and agents/openai.yaml display metadata. The metadata names it Improve Architecture and describes architecture check-ins and safe refactors as an app grows.

The original resource location is [https://github.com/daveebbelaar/bama/tree/main/skills/code/improve-architecture]. The supplied contents correspond to commit 22dc792ea040a35270c219c669f626594267aa1f.

Assessment

The skill offers a concrete way to decide whether restructuring is worthwhile before changing code. Proposals must identify a current problem, suggest an interface, explain the benefits and name the checks that would demonstrate unchanged behavior. Concluding that the code needs no refactor is explicitly acceptable.

Its strongest feature is connecting each proposed change to observable checks and small commits. These are prescribed safeguards; the supplied files do not demonstrate how reliably an assistant follows them or whether a resulting refactor improves a real application.

Users

The intended users are developers maintaining macOS Swift applications, particularly around milestones, large features, oversized files or recurring bugs. The companion guide also addresses apps gaining a command-line interface, a substantial processing engine or another contributor.

Beginners can use the proposal format to understand why a change is suggested. Carrying out the refactor still requires someone able to judge Swift interfaces, concurrency and test coverage. Experienced developers get more specific guidance on target dependencies, test adapters, document operations and frequently changing UI state.

Capabilities

The survey examines recent Git activity, Swift file sizes, target dependencies, protocols, threading and repeated code. Suggested warning signs include files over 600 lines, features touching more than six files or two targets, recurring bugs and dependencies that cannot be replaced in tests.

It produces a dated architecture-review document with candidate strengths, proposed interfaces, expected benefits, behavior checks and commit plans. Refactoring guidance includes compiling new types before moving callers, keeping each step buildable, splitting large changes and updating architecture documentation. The companion guide adds recommendations for atomic saves, typed errors and counters for failures in real-time processing.

Using it

Requirements

The workflow assumes access to the project's source, Git history and any existing CLAUDE.md, ARCHITECTURE.md, architecture decisions and fix log. Its survey commands use Git and Unix-style command-line utilities.

To perform the proposed changes, an assistant needs repository editing and build/test capabilities, plus permission to create commits. The skill expects suitable behavior checks, such as interface tests, reference outputs, snapshots or performance baselines. Minimum macOS, Swift, Xcode and assistant versions are unspecified; the YAML establishes display metadata rather than verified host compatibility.

Mechanism

The process has four stages: survey, propose, refactor and record. The survey changes no code. Proposals go into docs/architecture-review-<YYYY-MM-DD>.md, with a top recommendation and reasons for rejecting other ideas. The assistant then asks the user which candidate to pursue; an unattended run may proceed only with a top recommendation rated Strong.

Before editing, it records baseline checks. It then makes one refactor per commit and updates ARCHITECTURE.md, adding an architecture decision record only for consequential trade-offs. The companion design places UI code above feature and engine targets, with shared rules and values in a core that does not depend on UI frameworks.

Setup

Obtain the original skill folder and retain its relative layout, including architecture.md beside SKILL.md and agents/openai.yaml in its subfolder. Keep the accompanying MIT notice. SKILL.md directly references architecture.md, so the primary instruction file alone omits part of the guidance.

Load the folder using your assistant's supported skill mechanism and provide access to the relevant Swift repository. The supplied files give no installation command, required installation directory or confirmed assistant compatibility list. Begin with the documented survey before authorizing a refactor.

Example

For a hypothetical SwiftUI page model exceeding 1,000 lines, a proposal might move pure document-editing rules into a plain type while leaving UI coordination on the main actor. This follows the guide's recommendation to keep pure logic independently testable.

The proposed checks could include interface tests and loading and saving an older document without changing its bytes. After recording the original results, each small commit would be built and checked against them. This is an illustration of the prescribed process; no application was refactored or tested.

Assessment & evidence

Limitations

The safeguards are written instructions; the supplied folder contains no executable mechanism that enforces approvals, commit size or unchanged behavior. Passing chosen checks would establish only what those checks observe.

The guidance is specific to Swift and macOS application architecture. File-size thresholds, adapter rules and suggested UI update rates are recommendations without supporting measurements in these files. Portability to other languages, generated refactor quality, performance gains and regression rates are not assessed.

Reasoning

The central design idea is to hide substantial implementation work behind a small interface, so callers need to understand less and changes stay local. A seam is a replaceable boundary; the guide asks for both a production implementation and a test implementation to make that boundary useful.

Separating pure document operations from UI coordination gives tests and a command-line interface access to the same rules. Small commits and recorded reference outputs aim to make regressions easier to identify. These are the resource's design rationales, not measured outcomes.

Alternatives

A manual architecture review using the companion architecture.md is an option for developers who want its design guidance without assistant-directed edits. The skill also explicitly permits leaving the code unchanged when no worthwhile candidate emerges.

The supplied sources describe no named competing skills or comparative results. They do not support a ranking against other refactoring tools or review methods.

Evidence

The evidence comprises the complete SKILL.md, architecture.md, agents/openai.yaml and repository-level LICENSE at commit 22dc792ea040a35270c219c669f626594267aa1f. The version-specific folder is [https://github.com/daveebbelaar/bama/tree/22dc792ea040a35270c219c669f626594267aa1f/skills/code/improve-architecture].

These files establish the instructions, supporting design recommendations, display metadata and stated permissions. They supply no execution receipts, application build results, before-and-after comparisons or benchmarks. Nothing was executed.

Access & freshness

Costs

The MIT licence permits use without a licence fee. The files specify no assistant subscription, model/API price, compute cost or expected review duration. Total operating cost is unknown; there are no usage or billing results.

Rights

The repository notice is the MIT License, with copyright attributed to Dave Ebbelaar in 2026. It permits use, copying, modification, distribution, sublicensing and sale of the software and associated documentation, provided the copyright and permission notice accompany copies or substantial portions.

The licence disclaims warranties and limits liability. Its text is available at [https://raw.githubusercontent.com/daveebbelaar/bama/22dc792ea040a35270c219c669f626594267aa1f/LICENSE].

Freshness

The supplied snapshot was captured on 15 November 2026 at 21:46:59.433 UTC and identifies commit 22dc792ea040a35270c219c669f626594267aa1f. This capture time does not establish when the author last changed the skill.

The selected files specify no release version or compatibility matrix. Later changes and compatibility with current assistant hosts or Swift toolchains are unknown.

Actions

Read both instruction documents and ask for the survey and proposal document first. Review whether the leading candidate addresses a concrete difficulty in your app and whether its proposed behavior checks cover the affected functionality.

Before proceeding, capture the baseline results and choose the candidate. After each refactoring commit, build and repeat the relevant checks. Treat preservation of behavior as unverified wherever the available tests or reference outputs leave gaps.

Evidence for this report

LICENSEnotice · checked 2026-11-15
skills/code/improve-architecture/SKILL.mdselected · checked 2026-11-15