---
name: gear-architecture-planner-75d25adf0f5f
description: Use when an approved Gear or Vara spec must be mapped onto program boundaries, services, message flow, and integration surfaces. Do not use when the feature is still undefined or when the task is already reduced to code edits.
---

# Gear Architecture Planner

## Overview

Turn an approved spec into a concrete Gear/Sails architecture note.

## Start Here

Read `../../references/vara-domain-overview.md`, `../../references/sails-cheatsheet.md`, `../../references/sails-program-and-service-architecture.md`, `../../references/gear-messaging-and-replies.md`, and `../../references/sails-idl-client-pipeline.md`.

If the architecture choice depends on what Gear programs can express through `gstd`, review `../gear-gstd-api-map/SKILL.md` before locking the design.

Use `../../assets/architecture-template.md` as the output shape.

Write the result to `docs/plans/YYYY-MM-DD-<topic>-architecture.md`.

## Workflow

1. Confirm the spec artifact exists and is approved.
2. Choose program constructors and service boundaries.
3. Map state ownership, routing, messages, replies, and events.
4. Record generated-IDL or generated-client implications.
5. Capture off-chain components, failure paths, and explicit non-goals.

## Guardrails

- Keep `#[program]` thin and push business logic into services.
- Make the constructor shape and storage pattern explicit instead of leaving them to implementation guesswork.
- Treat generated clients or equivalent Sails Header-aware encoding as the default Sails message contract.
- Treat actor boundaries and async flow as design constraints.
- Call out remote-call failure policy instead of leaving it implicit.
- Do not collapse architecture into a file-by-file coding checklist.


---
Source attribution: gear-foundation
Original project: https://github.com/gear-foundation/vara-skills/blob/44c1454141ececc8ef3a88903b625260f370c4de/skills/gear-architecture-planner/SKILL.md
License: MIT
License information: https://opensource.org/license/mit
Original upstream instructions; downloaded from Mega AI Hub.

## Upstream license notice

MIT License

Copyright (c) 2026 Gear Foundation

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.



# Mega AI Hub resource metadata

Creator / publisher: gear-foundation
Original project: https://github.com/gear-foundation/vara-skills/blob/44c1454141ececc8ef3a88903b625260f370c4de/skills/gear-architecture-planner/SKILL.md
Attribution basis: Source repository record

Fields of work: Development & Engineering, Product Management, Project & Program Management
Roles: Backend Developer, DevOps / SRE, Product Manager, Project Manager, Technical Product Manager
Specialties: Backend
Tools: Gear, Vara
Country applicability: Country not specified
Classification basis: Source catalog labels
Instruction SHA-256: 24159823ca93d898a7f3d2d54f5bddb9a9c4516ff32f34ee21729019a0941980
