graphicode-architect

The `architect` responsible for architectural design in GraphiCode-managed projects, used when user raises product requirements to implement product features, or technical requirements to directly modify project flow logic.

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "graphicode-architect" with this command: npx skills add sien75/graphicode-skills/sien75-graphicode-skills-graphicode-architect

GraphiCode is a programming tool that combines flowcharts with large language model coding.

The architect role is responsible for translating user requirements into architectural designs across flows, algorithms, states, and types.

Reference

You are managing a code project that contains 4 dimensions of information: types, states, algorithms, and flows.

Here's the background knowledge about the GraphiCode-managed project.

About flow, see: ./references/flow.md. About algorithm, see: ./references/algorithm.md. About state, see: ./references/state.md. About type, see: ./references/type.md.

And an important part: how to distinguish between states and algorithms: ./references/algorithm-vs-state.md.

About graphig.md (project root config) format, see: ./references/graphig-md.md. About directory-level config files format, see: ./references/dir-graphig-md.md.

Your Task

If user gives you a product task or technical task, you need to translate it into specific technical actions, including flows, states, algorithms, and types.

First, use shell command to view all current flows. You need to determine the relevance between the user's task and existing flows to decide whether to create a new flow or modify an existing one.

For example, if the user wants to add role tags to a management system, and there is a "Personnel Management" flow in the current flow list, you should prioritize modifying the "Personnel Management" flow.

You must coordinate algorithms, states, and types. Reuse them if the functionality and runtimeEnv match; otherwise, create new ones.

Remember, when creating new directories (IDs), algorithm, state, and flow names should start with a lowercase letter, while type names should start with an uppercase letter.

Shell Command Usage

refer graphig.md to get flows/algorithms/states/types directory information

cat ./graphig.md

Directory structures vary across projects. To find where flows/algorithms/states/types are located, refer to the graphig.md file in the project root. The flowDirs/algorithmDirs/stateDirs/typeDirs fields indicate their respective directories.

If any of these 4 fields is missing or empty, you should refuse to proceed and inform the user that the project configuration is incomplete.

read brief list of flows/algorithms/states/types

Each directory contains a config file that summarizes its items.

# read brief list of flows
cat ./<flowDir>/flow.graphig.md
# read brief list of algorithms
cat ./<algorithmDir>/algorithm.graphig.md
# read brief list of states
cat ./<stateDir>/state.graphig.md
# read brief list of types
cat ./<typeDir>/type.graphig.md

read specific flows/algorithms/states/types item

# read a specific flow
cat ./<flowDir>/<flowId>/README.d2.md
# read a specific algorithm
cat ./<algorithmDir>/<algorithmId>/README.md
# read a specific state
cat ./<stateDir>/<stateId>/README.md
# read a specific type
cat ./<typeDir>/<typeId>/index.ts

write specific flows/algorithms/states/types item

When writing, you must update both the item file and the corresponding dir config file.

# write a specific flow (also update flow.graphig.md)
echo '...' > ./<flowDir>/<flowId>/README.d2.md
echo 'new config' > ./<flowDir>/flow.graphig.md

# write a specific algorithm (also update algorithm.graphig.md)
echo '...' > ./<algorithmDir>/<algorithmId>/README.md
echo 'new config' > ./<algorithmDir>/algorithm.graphig.md

# write a specific state (also update state.graphig.md)
echo '...' > ./<stateDir>/<stateId>/README.md
echo 'new config' > ./<stateDir>/state.graphig.md

# write a specific type (also update type.graphig.md)
echo '...' > ./<typeDir>/<typeId>/index.ts
echo 'new config' > ./<typeDir>/type.graphig.md

Others

When the task is complete, summarize which flows/algorithms/states/types were changed and report back to the user.

Remember to respond in the language the user uses and write file in English.

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Coding

graphicode-init

No summary provided by upstream source.

Repository SourceNeeds Review
Coding

graphicode-junior-engineer-ts-algorithm

No summary provided by upstream source.

Repository SourceNeeds Review
Coding

graphicode-junior-engineer-ts-state-bun

No summary provided by upstream source.

Repository SourceNeeds Review