Skip to content
Agentmart
Submit a tool

architect

Sketch data shapes (grain, keys, schemas), function signatures, and the module or pipeline structure before code, then stay in the loop while implementation…

Skill by hidenobunagai

IndexedMIT★ 1
Write a review

Chalk Labs

Need help deploying architect?

Chalk Labs sets up agents like this inside real teams: connected to your tools, tested on your data, with a human in the loop where it matters.

Book a call

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/hidenobunagai-architect-820c2e

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Sketch data shapes (grain, keys, schemas), function signatures, and the module or pipeline structure before code, then stay in the loop while implementation fills in. Use for /architect, "architect this", "design this pipeline", "design the schema", or non-trivial analysis or data work where jumping to code would lock in the wrong shape.

Use cases: design, data

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/architect

What's inside

Skill name
architect
Description
Sketch data shapes (grain, keys, schemas), function signatures, and the module or pipeline structure before code, then stay in the loop while implementation fills in. Use for /architect, "architect this", "design this pipeline", "design the schema", or non-trivial analysis or data work where jumping to code would lock in the wrong shape.
License
MIT
Instructions
74 lines in SKILL.md · view on GitHub

Files (4)

  • SKILL.md
  • design-red-flags.md · references/
  • rationale-template.md · references/
  • runner-prompt.md · references/

SKILL.md (first lines)

# Architect

Sketch the data shapes, function signatures, and module or pipeline boundaries with `NotImplementedError` bodies and pseudocode. Synthesize across several candidate designs, then fill in code against the chosen sketch.

## Start

Open a todo list with one entry per phase before you start: Ground, Sketch, Agree, Implement, Scrap.

## Phase A: Ground the problem

Build a real model of every system the new code touches. Run the **how** skill over the relevant subsystems. Naming a file is not grounding. Include the sources, the tables or frames that flow through them, and their grain. If the design changes ownership or layering of a metric or a table, also run the **why** skill on the existing shape, so the rationale becomes a constraint rather than a guess.

Skip Phase A only for greenfield work with no surrounding system to integrate.

## Phase B: Sketch

Run the **arena** skill with the design-sketch task and the Phase A artifacts. Pass `references/runner-prompt.md` as each runner's prompt.

Spawn two runners with the `Agent` tool and `isolation` `worktree`:

- Runner 1: `subagent_type` `general-purpose`, `model` `opus`, `effort` `medium`. Lens: data shapes and invariants.
- Runner 2: `subagent_type` `general-purpose`, `model` `sonnet`, `effort` `medium`. Lens: pipeline structure and what is cheap to change.

Require at least two structurally different candidates before synthesis, even when the first looks enough. Compare whole shapes, not point fixes inside one shape. Examples of shape differences: one wide table versus a fact and dimension pair; one pipeline script versus a set of pure functions with a thin runner.

Screen every candidate with `references/design-red-flags.md` before synthesis. Assume the next contributor is an agent that copies the nearest example and takes the shortest path that runs. Prefer the design where a change that looks right in one file is right for the whole project.

Compare viable candidates on interface depth. Prefer the design that hides more behind a smaller public surface. A function that takes a raw frame and returns a typed result beats five helpers the caller must call in order.

The arena returns one synthesized design. Its synthesis decision fills the rationale's "Synthesis decision" section.

## Phase C: Agree (opt-in)

By default, go straight to implementation with the synthesized design. No human checkpoint.

Opt in to a checkpoint only when the user asks ("with checkpoint", "show me before implementing"). Then show the synthesized design and wait for sign-off. Stop and ask with `AskUserQuestion` when the sketch needs a decision the user owns, such as a metric definition or a population.

The synthesis can ship as its own commit, the "scaffold first" mode of the **principle-foundational-thinking** skill. For adversarial review of the sketch, run the **interrogate** skill on it.

If the user pushes back on the shape, treat that as Phase A evidence. Re-ground and re-run Phase B before you write more code.

## Phase D: Implement against the sketch

Replace `NotImplementedError` bodies with code and pseudocode with logic. The sketch is the contract. Deviations are signal to surface, not friction to absorb quietly. If a function needs a parameter the sketch did not anticipate, ask whether the sketch was wrong, the requirement was missed, or the code is overreaching.

Follow the project's Python conventions (uv, ruff, ty, Polars). Verify each stage's output against its declared grain and key before moving on. See the **principle-respect-the-grain** skill.

## Phase E: Scrap when the architecture is wrong

If implementation keeps hitting friction the sketch cannot absorb, throw the sketch out. Do not bolt fixes onto a wrong design, per the **principle-fix-root-causes** skill, and redesign from the constraints as they now stand.

The signal is a pattern, not one instance:

- The same workaround appears in unrelated code.
- Several unrelated edge cases each need their own branch.
- Types need escape hatches (`Any`, casts, nullable columns that are always filled in practice) to compile.
- A "cache the intermediate result" reflex appears because two stages keep recomputing the same frame with different filters.
- Callers must know the module's internal rules to use it.
- Two or more independent Phase D deviations share one shape.

Use judgment. A few edge cases do not condemn a design. Complex data is not the same as a complex design.

When you scrap:

1. Re-run the **how** skill over what has been built.
2. Redesign as if the new constraints had been there from day one.
3. Subtract before you add, per the **principle-subtract-before-you-add** skill. The new sketch should be smaller than the old one before it grows.
4. Return to Phase B and re-run the arena.

## Outputs

Write the caller's usage first, then derive the sketch from it. For a small change, one file with the new types and signatures. For a larger one, a module or pipeline map plus the type definitions. Ship the rationale next to it, shaped per `references/rationale-template.md`, with the usage sketch and the synthesis decision.

From hidenobunagai/astack, MIT.

More from hidenobunagai/astack

Signals

Stars
1
Forks
0
Open issues
0
Last commit (this folder)
Oct 23, 2026 (9 days ago)
Last release
Oct 23, 2026 (8 days ago)

From GitHub (fetched Oct 24, 2026).

Details

License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from hidenobunagai

Done for you

Rather not set it up yourself?

Chalk Labs scopes, builds and runs agents for your team: the task audit, the eval harness, the integrations and the weekly ops report. Fixed scope, priced before we start.

See how we build AI agents →Read the case studies

Chalk Labs is a two-founder AI and growth studio. We build AI agents, CRMs and MVPs for Web3 and AI companies, and have shipped 50+ product and token launches.

launches shipped
50+
launches shipped
media placements
500+
media placements
founders on every account
2
founders on every account

Press we've placed: Forbes · CoinDesk · Decrypt · Cointelegraph · The Block

Rahil Jain, Co-founder, Chalk Labs. Ex-Goldman Sachs engineer. You talk to the person who builds it.

Get architect running in your business

Tell us what you want to automate. A founder replies within one working day with a plan, not a pitch deck.

Goes to the Chalk Labs founders, not the newsletter. Privacy

Need help deploying architect?

CallGet help
Cite this page

architect skill. Agent Mart. https://agentmart.dev/skills/hidenobunagai-architect-820c2e (last updated 2026-10-24)