agentleFS
thonymgthonymg/skills/skills/archi-vide/SKILL.md

archi-vide

Skill1 starsChanged 4 months agoMITView on GitHub

Generate an empty, strongly-typed code architecture (no implementation), with minimal comments that document behavior and relationships between modules.

The file

We split this skill into the rules it gives an agent

7 rules. About 0 are common, 7 are distinctive, and 0 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈7

    Distinctive · estimate

    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:

    Empty: no business logic, no side effects.

    line 9
  2. Distinctive:

    No real behavior, no algorithm, no persistence, no network calls.

    line 29
  3. Distinctive:

    No heavy abstraction, no frameworks unless the user explicitly asks for one.

    line 30
  4. Distinctive:

    Default folder layout (omit folders you don’t need):

    line 42
  5. Distinctive:

    Use-case coordination: patterns/service.md

    line 55
  6. Distinctive:

    Ask for the target language/runtime if unknown (TypeScript/Node, Python, Go, etc.).

    line 61
  7. Distinctive:

    Ask for the primary module boundary (feature name) and the IO needs (DB?

    line 62

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

Empty Architecture (Archi Vide)

Generate code scaffolding that is:

  • Empty: no business logic, no side effects.
  • Predictable: explicit dependencies and module boundaries.
  • Readable: relationships are clear from type signatures + minimal doc comments.
  • Strictly typed: type composition + generics by default.

Trigger this skill whenever the user asks for:

  • A project/module skeleton, scaffolding, or “architecture”
  • Stubbed code, interfaces, ports/adapters, clean architecture, DDD boundaries
  • “Empty implementation” files to be filled later

Output contract

Always deliver:

  1. File tree (final structure).
  2. Code for each file (or only the files the user requests).
  3. One short rationale explaining boundaries + dependency direction.
  4. An architecture note: an archi-*.md document (global → details) including: why, external impacts, expected results.

Non-goals

  • No real behavior, no algorithm, no persistence, no network calls.
  • No heavy abstraction, no frameworks unless the user explicitly asks for one.
  • No speculative features.

Required loading (selective)

Always apply:

  • Naming (mandatory): Use Skill naming-convention for every single identifier (files, folders, modules, namespaces, classes, types, interfaces, functions, methods, parameters, return types, variables, properties, DB tables/columns, routes).
    • Fallback if naming-convention is unavailable: camelCase functions/variables, PascalCase types/classes/components, kebab-case JS/TS/CSS files, snake_case Python/Ruby/Dart/Go files, SCREAMING_SNAKE_CASE constants — and keep names prefix + entity (+ suffix) shaped.
  • Types: load references/type-rules.md.
  • Stubs: load references/stubs.md.
  • Architecture note: load references/architecture-doc.md.

Default folder layout (omit folders you don’t need):

  • domain/, application/, ports/, infra/, api/

Load exactly one language profile:

  • TypeScript: languages/typescript.md
  • Python: languages/python.md
  • Ruby: languages/ruby.md
  • Dart/Flutter: languages/dart-flutter.md
  • Go: languages/go.md

Load patterns only when needed:

  • IO boundaries: patterns/ports-and-adapters.md
  • Persistence: patterns/repository.md
  • Use-case coordination: patterns/service.md
  • DTO translation: patterns/adapter.md
  • Complex construction: patterns/factory.md

Generation procedure

  1. Ask for the target language/runtime if unknown (TypeScript/Node, Python, Go, etc.).
  2. Ask for the primary module boundary (feature name) and the IO needs (DB? HTTP? queue?). 2b. If codebase-memory-mcp is available and this scaffold lands inside an existing repo, check index_status first — index it (index_repository) if it isn't yet, then call get_architecture(aspects). The new module's folder layout and dependency direction must match the codebase's actual boundaries, not just the default layout below. No MCP, greenfield repo, or not worth indexing for a single scaffold → use the default layout as-is.

MCP names are bare, not callable as written. Prefix cbm_ under pi, mcp__codebase-memory-mcp__ under Claude Code. Under pi, trace_path, query_graph, detect_changes, get_architecture and get_graph_schema need one cbm_search_tools call first. 3. Load only the files required by the context (language + patterns). 4. Produce a file tree including archi-<feature>.md. 5. Generate strictly-typed stubs that compile and remain obviously empty.

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.