# Solid State Architecture

> Define SolidJS state ownership across signals, stores, and context with explicit coupling boundaries. Use for shared-state and context architecture decisions.

- **Type:** Skill
- **Install:** `agentstack add skill-lvcoi-solidjskills-solid-state-architecture`
- **Verified:** Yes — security-reviewed for prompt injection and unsafe behavior
- **Seller:** [lvcoi](https://agentstack.voostack.com/s/lvcoi)
- **Installs:** 0
- **Category:** [Agent Skills](https://agentstack.voostack.com/c/agent-skills)
- **Latest version:** 0.1.0
- **License:** MIT
- **Upstream author:** [lvcoi](https://github.com/lvcoi)
- **Source:** https://github.com/lvcoi/solidJSkills/tree/main/skills/solid-state-architecture

## Install

```sh
agentstack add skill-lvcoi-solidjskills-solid-state-architecture
```

Requires the [AgentStack CLI](https://agentstack.voostack.com/docs/cli). Works with Claude Code, Cursor, and any MCP-compatible agent.

## About

# solid-state-architecture

## Trigger

Use when deciding local vs shared state, context boundaries, store shape, and update pathways.

## Required Inputs

- Domain entities and update paths.
- Component tree boundaries.
- Cross-tree dependency requirements.

## Workflow

1. Assign state scope: local signal, structured store, or context provider.
2. Document provider boundaries and mutation pathways.
3. Identify hidden coupling risks and propose boundary refactors.
4. Hand off explicit ownership map to macro skill.

## Failure Modes

- Context used as default for local state: mark anti-pattern and propose local alternative.
- Store updates without explicit mutation path: fail until path is listed.
- Shared state without consumer boundaries: require boundary map.

## Output Contract

Return `DomainGuidanceOutput` with scope decisions, handoff actions, and citations with `doc_id`.

## Validation

- `node tools/scripts/validate-skills.mjs --skill solid-state-architecture`
- `node tools/scripts/validate-solid-corpus.mjs`

## Key Corpus References

Use these `doc_id` values with the `read_corpus_doc` MCP tool:

- `solid-core.reference.store-utilities.create-store` — nested reactive state
- `solid-core.reference.store-utilities.produce` — immer-style store mutation
- `solid-core.reference.store-utilities.reconcile` — diffed store replacement
- `solid-core.reference.component-apis.create-context` — context creation
- `solid-core.concepts.stores` — store concepts and patterns

## References

- `../../references/solidjs/stores-context.md`
- `../../references/solidjs-normalized/docs/concepts/stores.md`
- `../../references/solidjs-normalized/docs/reference/store-utilities/create-store.md`
- `../../references/solidjs-normalized/docs/reference/component-apis/create-context.md`

## Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

- **Author:** [lvcoi](https://github.com/lvcoi)
- **Source:** [lvcoi/solidJSkills](https://github.com/lvcoi/solidJSkills)
- **License:** MIT

Install and usage instructions live in the source repository linked above.

## Pricing

- **Free** — Free

## Security capabilities

Automated source analysis of v0.1.0 — what this tool can access:

- **Network access:** no
- **Filesystem access:** no
- **Shell / process execution:** no
- **Environment & secrets:** no
- **Dynamic code execution:** no

*"Yes" means the capability is present in the source — more access means more to trust, not that it is unsafe.*


## Versions

- **0.1.0** — security scan: passed — Imported from the upstream source.

## Links

- Listing page: https://agentstack.voostack.com/l/skill-lvcoi-solidjskills-solid-state-architecture
- Seller: https://agentstack.voostack.com/s/lvcoi
- Browse the marketplace: https://agentstack.voostack.com/browse

---
Listed on AgentStack — the marketplace for AI agent skills and MCP servers. Every listing is security-reviewed. Creators keep 70%.
