Mobile game/app design layer on GraphStack โ design graph, style packs, aesthetic engine
Project description
GraphCraft ๐จ๐ฑ
Mobile game & app design layer on GraphStack.
Design graph ยท style packs ยท aesthetic engine ยท Stitch import ยท wide mobile stack support.
GraphCraft is the product you install and use. GraphStack is a dependency that provides orchestration (cycle, gate, roles, code graph). GraphCraft adds the design layer without forking or patching GraphStack.
Graphify โ code graph (graphify-out/)
GraphStack โ orchestration (cycle, gate, roles) โ dependency
GraphCraft โ design layer (graphcraft-out/, design-system/)
Important: GraphCraft never modifies GraphStack source. Integration is overlay-only: extra rules, skills,
orchestrator/GRAPHCRAFT.md, andgraphcraftCLI. GraphStack files come from theMertCapkin_GraphStackpackage unchanged.
Quick Start
Requirements: Python 3.8+, Git, Cursor
Install (PyPI)
pip install "MertCapkin_GraphCraft[graphstack]"
For visual review and aesthetic PNG checks, add the visual extra:
pip install "MertCapkin_GraphCraft[graphstack,visual]"
Install (GitHub)
pip install "MertCapkin_GraphCraft[graphstack] @ git+https://github.com/MertCapkin/GraphCraft.git@v2.0.0"
GraphStack + Graphify install automatically via the [graphstack] extra from PyPI.
2. Initialize your project
Open your app/game repo in Cursor, then in terminal:
graphcraft init . -y --install-deps
This runs graphstack init first (GraphStack overlay), then graphcraft install (GraphCraft overlay). Both rule sets load in Cursor automatically.
3. Build graphs
graphcraft design update . # design graph
# In Cursor chat: /graphify . # code graph (or: graphstack graph update .)
graphcraft doctor .
4. Start working
Describe your mobile app or game in Cursor chat. GraphCraft orchestrator activates first; GraphStack handles cycle/gate mechanics.
Install from source (this repo โ contributors)
git clone https://github.com/MertCapkin/GraphCraft.git
cd GraphCraft
pip install -e ".[full]"
Initialize a consumer project (not this framework repo):
cd C:\path\to\your-mobile-app
graphcraft init . -y --install-deps
See docs/GRAPHSTACK.md for dependency details.
What runs when you open a task?
GraphCraft uses an overlay orchestrator โ GraphStack is not edited, but GraphCraft is not skipped.
| Step | What loads | Purpose |
|---|---|---|
| 1 | .cursor/rules/graphcraft.mdc |
Primary greeting, design routing |
| 2 | .cursor/rules/graphstack.mdc |
Cycle, gate, token discipline (unchanged) |
| 3 | orchestrator/GRAPHCRAFT.md |
Design lifecycle extension |
| 4 | orchestrator/ORCHESTRATOR.md |
GraphStack cycle mechanics |
| 5 | graphcraft-out/DESIGN_REPORT.md |
Design graph summary |
| 6 | graphify-out/GRAPH_REPORT.md |
Code graph summary |
User request flow (UI/mobile task)
User goal in chat
โ [GRAPHCRAFT] greet + read design context
โ ARCHITECT (GraphStack cycle start + BRIEF.md)
โ DESIGN STRATEGIST (AESTHETIC_BRIEF.md) โ GraphCraft adds
โ DESIGNER (design graph, screens, tokens) โ GraphCraft adds
โ DESIGN AUDIT (validate + harmony) โ GraphCraft adds
โ BUILDER (GraphStack โ requires brief + design ready)
โ VISUAL REVIEW โ GraphCraft adds
โ REVIEWER โ QA โ SHIP (GraphStack unchanged)
Pure backend tasks (no UI): GraphStack flow only โ design phases skipped.
Full detail: docs/FLOW.md ยท orchestrator/GRAPHCRAFT.md
Commands
| Command | Layer | Purpose |
|---|---|---|
graphcraft init . |
GraphCraft | GraphStack init + GraphCraft overlay |
graphcraft doctor . |
GraphCraft | Health check (both layers) |
graphcraft design update . |
GraphCraft | Build design graph |
graphcraft design query "screens" |
GraphCraft | Query design graph |
graphcraft design validate |
GraphCraft | Validate design graph |
graphcraft design harmony |
GraphCraft | Component harmony check |
graphcraft design evaluate |
GraphCraft | Aesthetic rubric (contrast, touch targets) |
graphcraft design bridge |
GraphCraft | Design โ code bridge map |
graphcraft stitch import . |
GraphCraft | Import Stitch prototype |
graphcraft stitch mcp install |
GraphCraft | Stitch MCP for Cursor |
graphcraft visual review |
GraphCraft | PNG reference vs implementation |
graphcraft ui validate all |
GraphCraft | Validate UI lib vs design tokens |
graphcraft cycle status |
GraphCraft | Design phase + GraphStack role |
graphcraft gate check |
GraphCraft | Design gate before ui-core edits |
python -m graphstack cycle start โฆ |
GraphStack | Start dev cycle |
python -m graphstack graph query "โฆ" |
GraphStack | Query code graph |
Configuration
Edit graphcraft.config.yaml:
profile: mobile-app # mobile-app | mobile-game
design_source: native # native | stitch | hybrid
active_stack: react-native # see packs/mobile-app/STACKS.md
Mobile stacks
| Profile | Targets |
|---|---|
| mobile-app | React Native, Expo, Flutter, SwiftUI, Jetpack Compose, KMP, Ionic, Capacitor |
| mobile-game | Unity UGUI, Unity UI Toolkit, Godot, Unreal UMG, Defold, Cocos |
Pack docs: packs/mobile-app/STACKS.md ยท packs/mobile-game/STACKS.md
Project layout (after init)
your-project/
โโโ graphcraft.config.yaml
โโโ design-system/ # tokens, components
โโโ design/screens/ # screen specs
โโโ graphcraft-out/ # design-graph.json
โโโ graphify-out/ # code graph (Graphify)
โโโ handoff/ # BRIEF, DESIGN_BRIEF, AESTHETIC_BRIEF
โโโ orchestrator/
โ โโโ GRAPHCRAFT.md # GraphCraft extension
โ โโโ ORCHESTRATOR.md # GraphStack (from dependency)
โโโ .cursor/rules/
โ โโโ graphcraft.mdc # GraphCraft overlay (primary)
โ โโโ graphstack.mdc # GraphStack (from dependency)
โโโ scripts/
โโโ graphcraft/ # GraphCraft CLI copy
โโโ graphstack/ # GraphStack CLI copy
Design sources
| Mode | Use when |
|---|---|
native |
YAML design-system + screens from scratch |
stitch |
Google Stitch prototype import |
hybrid |
Stitch visual reference + native refinement |
Documentation
| Doc | Content |
|---|---|
| docs/GRAPHSTACK.md | GraphStack dependency โ install, what it provides |
| docs/FLOW.md | Orchestrator overlay โ who runs first |
| docs/ARCHITECTURE.md | Layer model โ why GraphStack is untouched |
| CHANGELOG_GRAPHCRAFT.md | GraphCraft releases |
| docs/PYPI.md | PyPI publish + install |
License
MIT โ see LICENSE.
GraphStack is ยฉ its contributors, installed as a separate dependency under MIT.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file mertcapkin_graphcraft-2.0.0.tar.gz.
File metadata
- Download URL: mertcapkin_graphcraft-2.0.0.tar.gz
- Upload date:
- Size: 58.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2c356291c66fff28d566f4353d21596b6d556fcfc00124fe4bd2bfc93a0cd8e2
|
|
| MD5 |
e660e5c5a80ccc622da16aa6bd9d1f79
|
|
| BLAKE2b-256 |
b4b7a10c661c7d8306be3eba490ae7eb68bedcf0f39946ddcefcc1e3afd356d3
|
Provenance
The following attestation bundles were made for mertcapkin_graphcraft-2.0.0.tar.gz:
Publisher:
publish.yml on MertCapkin/GraphCraft
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
mertcapkin_graphcraft-2.0.0.tar.gz -
Subject digest:
2c356291c66fff28d566f4353d21596b6d556fcfc00124fe4bd2bfc93a0cd8e2 - Sigstore transparency entry: 1900099916
- Sigstore integration time:
-
Permalink:
MertCapkin/GraphCraft@b688ec7cb9497c64fcc58c7a0420b56883464985 -
Branch / Tag:
refs/tags/v2.0.0 - Owner: https://github.com/MertCapkin
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@b688ec7cb9497c64fcc58c7a0420b56883464985 -
Trigger Event:
release
-
Statement type:
File details
Details for the file mertcapkin_graphcraft-2.0.0-py3-none-any.whl.
File metadata
- Download URL: mertcapkin_graphcraft-2.0.0-py3-none-any.whl
- Upload date:
- Size: 86.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d379da0e6a98fbddf83fded3ab6ead66efffe4ac6cc28bf0d2b8a46d38138bec
|
|
| MD5 |
bbc0744a5c223325fc0e42e6482f443e
|
|
| BLAKE2b-256 |
ab93a960cc0c8ae70dc30ed28e912a85c0862766fbddd63aae85bca84eb54d4a
|
Provenance
The following attestation bundles were made for mertcapkin_graphcraft-2.0.0-py3-none-any.whl:
Publisher:
publish.yml on MertCapkin/GraphCraft
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
mertcapkin_graphcraft-2.0.0-py3-none-any.whl -
Subject digest:
d379da0e6a98fbddf83fded3ab6ead66efffe4ac6cc28bf0d2b8a46d38138bec - Sigstore transparency entry: 1900100166
- Sigstore integration time:
-
Permalink:
MertCapkin/GraphCraft@b688ec7cb9497c64fcc58c7a0420b56883464985 -
Branch / Tag:
refs/tags/v2.0.0 - Owner: https://github.com/MertCapkin
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@b688ec7cb9497c64fcc58c7a0420b56883464985 -
Trigger Event:
release
-
Statement type: