Skip to content
Back to skills

Dapp Architecture

ASecurity

Designs how the parts of a dApp fit together, asking the decisions one at a time and writing one design document on who sends and pays for each transaction, indexing, data placement, environments, admin keys, and monitoring, from dated items on the services. Use when planning a dApp's architecture.

  • 2 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added November 24, 2026
ai-agentspythongoshellapidatabasefrontenddocumentation

Works with

  • claude code
  • api

Security analysis

A100/100

Pro scans all 17 files and shows the line behind each finding

Scanned November 24, 2026

npx -y skills add cardene777/agent-shuriken --skill dapp-architecture --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Dapp Architecture?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Dapp Architecture
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/cardene777-dapp-architecture/badge)](https://www.skillsdirectory.com/skills/cardene777-dapp-architecture)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: dapp-architecture
description: Designs how the parts of a dApp fit together, asking the decisions one at a time and writing one design document on who sends and pays for each transaction, indexing, data placement, environments, admin keys, and monitoring, from dated items on the services. Use when planning a dApp's architecture.
---

# dApp architecture

Turn a dApp idea into one design document.
Talk to the user in the language they write in, and write the design in that language, keeping the section headings in English, since `verify` reads them.

Write in the `design` format of the `design-doc` skill: open the `design-doc` skill by name and read the file it names for `design`.
If the `musubi` command is available, run `musubi check` before reading, and stop if it fails.
If the `design-doc` skill is not installed, do not start: tell the user that `design-doc` is missing and how to install it, then stop.

The script is `scripts/dapp-architecture.py` next to this `SKILL.md`.
Run it as a shell command, `python3 <folder of this SKILL.md>/scripts/dapp-architecture.py <command>`; `--help` describes every command.

## 1. Read the items

Run `list` and read the items for the services the design may use.
Several services agents still suggest have shut down, so never name a service from memory without checking it against an item or its official document.
When an item is marked `stale`, re-check it against the official document (announcements, release notes, or documentation) before relying on it, and tell the user what changed.
When the document cannot be reached, use the item and say that you could not confirm it, with the date it was checked.
For whether an ERC or EIP is final or live, such as ERC-4337 or EIP-7702, use the evm-standards skill in this plugin.

## 2. Ask the decisions

Ask the decisions one at a time, each with a recommended choice and why, and skip what the request already answers:

1. The users and what each can do, and the chains
2. Who sends each transaction and who pays the gas
3. How the app reads chain data, and which indexer
4. What is stored on chain, off chain, and in content-addressed storage
5. Who holds the admin roles, and how changes are delayed
6. Which services the team runs itself and which it buys

In Claude Code, ask with AskUserQuestion; in other agents, ask in the chat, one question per message.
When you cannot ask, take the recommended choice and record it under Open decisions as an assumption. The recommended starting point is users paying their own gas, an indexer the team runs, and admin roles in a multisig behind a timelock.

## 3. Write the design

Write the design in that format, to `docs/design/<topic>.md` unless the user names a place or the project keeps designs elsewhere: put the sections of `templates/sections.md` where the format says, and replace every `Fill in:` line.
Each section decides one part and points to the others; put every decision and assumption in Open decisions, never in two places.
Write in Components the date you checked each third-party service.

- Never put personal data or secrets on chain; events and `private` variables are public
- Every write path names who signs, who sends, and who pays the gas
- Screens read from an indexer or a database, which handles reorganizations and can be rebuilt from the deployment block
- Do not write contracts, ABIs, API definitions, frontend code, tests, or scripts. Contracts belong to the solidity-code skill and tests to the contract-tests skill

The checklist holds the rest.

## 4. Check the design

Run `verify` from the `design-doc` skill, the file it names for `verify`, as a shell command: `python3 <that file> verify --sections <folder of this SKILL.md>/templates/sections.md --dated "Components" <design file>`.
It names each missing, misplaced, empty, or unfinished section, and a Components section without the date the services were checked; fix each and run it again.
Then go through `references/checklist.md` and fix every rule the design breaks. Tell the user which rules you could not judge, and list the open decisions.

## Rules

- Never read a private key or a mnemonic, never sign, and refuse a command that passes a key
- Never read `.env` files or print environment variable values
- Never edit the items in the plugin; a newer fact goes into the design with its source and date
- Do not use material the user marks as private beyond their own project

Files in this skill

  • SKILL.md4.3 KB
  • agents/openai.yaml399 B
  • examples/donation-tracker.md7.2 KB
  • musubi.json384 B
  • references/checklist.md3.7 KB
  • references/items/chainlink-automation.md1.3 KB
  • references/items/ethereum-testnets.md1.1 KB
  • references/items/gelato-relay-sdk.md1.1 KB
  • references/items/ipfs-gateways-and-pinning.md1.3 KB
  • references/items/openzeppelin-defender-relayer.md979 B
  • references/items/openzeppelin-monitor.md825 B
  • references/items/ponder.md1.7 KB
  • references/items/safe-smart-account.md1.4 KB
  • references/items/the-graph-network.md1.1 KB
  • scripts/dapp-architecture.py4.8 KB
  • templates/sections.md2.8 KB
  • tests/test-dapp-architecture.sh12.9 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.