All skills
cursor avatar

/architect

@12d587d
by cursorcursor/plugins9.1k stars
857

Sketch types, signatures, and module structure before code, then stay in the loop while implementation fills in. Use for /architect, 'architect this', 'design this', or non-trivial work where jumping to code would lock in the wrong shape.

Use this Skill: https://skilld.dev/gh/cursor/plugins/architect

This session only. Nothing lands on disk.

referencesdesign-red-flags.md

≈486 tokens on demand. Your agent reads this file only when SKILL.md points to it.

Design red flags

Screen every candidate before synthesis. A red flag is a reason to revise or reject the shape.

Shallow module

A shallow module exposes a large interface while hiding little complexity. Judge depth by the capability and policy hidden behind the public surface relative to the size of that surface. Prefer a simple interface backed by substantial behavior.

Do not confuse a deep module with a deep call chain. A deep call chain scatters understanding across layers. A deep module concentrates capability behind one interface.

Look for these signs:

  • Callers coordinate several methods to complete one operation.
  • Public options expose internal stages or implementation choices.
  • Learning the interface does not save the caller from learning the implementation.

Information leakage

Information leakage makes multiple modules depend on the same internal decision. A representation, policy, or protocol detail appears in more than one place, so changing it requires coordinated edits.

Public re-exports of transport or wire types are leakage. Parse external data into domain types behind the interface. Keep storage schemas, framework objects, and protocol details private.

Temporal decomposition

Temporal decomposition organizes modules by execution order instead of the knowledge they own. Separate load, validate, transform, and save stages often repeat one representation and its invariants across several boundaries.

Group code around domain knowledge and ownership. Methods that run at different times can still belong to one module when they protect the same decisions.

Pass-through method

A pass-through method forwards the same arguments to another method with the same shape. It adds a layer without hiding complexity.

Remove it or move responsibility to the module that can complete the operation. Keep a forwarding boundary only when it adds policy, adaptation, or a distinct abstraction.

Source: SKILL.md on GitHub

No alerts8d3 checks · Risk SAFE
  • Gen Agent Trust Hub8d

    The skill implements a structured architectural design workflow involving mental modeling, sketching, and implementation. A minor security risk exists regarding indirect prompt injection where malicious instructions embedded in existing source code could influence the agent's design decisions during the grounding phase.

  • Socket8d

    No alerts

  • Snyk8d

    Risk: LOW · No issues

Signed by skilld at 12d587d. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub yesterday.

Activeupdated last week
disable-model-invocation
true

README badge

README badge for cursor/plugins/architect