Neo4j Styleguide logo

Neo4j Styleguide

Organization
neo4j-labs
neo4j-styleguide

Ensure consistency with Neo4j brand guidelines, Needle design system, and Cypher code style conventions. Use when creating Neo4j documentation, diagrams, presentations, Cypher queries, code examples, or any content that should align with Neo4j's visual identity and coding standards. Reference https://neo4j.design for the Needle design system.

Overview

Publisherneo4j-labs
Repositoryagent-memory
Skill nameneo4j-styleguide
Stars
585
Forks
108
Bundled files
Instructions only
LicenseApache-2.0
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • Self-contained

    Everything the model needs lives in the instructions — no extra files to sync.

  • Open source

    Published by neo4j-labs on GitHub. Read the source before you install it.

Installation

Install the Neo4j Styleguide AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/neo4j-labs/agent-memory/tree/main/.claude/skills/docs-branding
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/neo4j-labs/agent-memory.git /tmp/agent-memory
mkdir -p .claude/skills
cp -r /tmp/agent-memory/.claude/skills/docs-branding .claude/skills/neo4j-styleguide
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Neo4j Styleguide in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Neo4j Styleguide on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Neo4j Styleguide is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

Neo4j Style Guide

Ensure consistency with Neo4j brand identity, the Needle design system, and Cypher coding conventions.

Brand Colors

Primary: Baltic (Blue-Green Teal)

The primary color is inspired by the Baltic Sea, combining calmness of blue with refreshing green qualities. It has both cool and warm undertones.

Primary Teal:    #018BFF (bright blue), #009999 (teal), #00C1B6 (cyan)

Secondary Palette (Nature-Inspired)

Green:           #2F9E44 (forest), #B2F2BB (light green)
Orange:          #F79767 (warm orange), #FFEC99 (light yellow)
Red:             #E03131 (alert red), #FFC9C9 (light red)
Purple:          #C990C0 (node purple), #D0BFFF (light purple)
Pink:            #DA7194 (relationship pink)

Neutral Colors

Dark:            #1E1E1E (text black)
Gray:            #A5ABB6 (default node/relationship)
Light:           #F3F3F0 (background)
White:           #FFFFFF

Typography

Font Families

Use CaseFontNotes
Display/HeadingsSyne NeoModified Syne with circular dots (not squares) in periods, tittles. Rounded 'g' descender.
Body TextPublic SansNarrow structure, high legibility, good contrast to Syne
Code/MonospaceLetter GothicFor code samples, Cypher queries, technical content

Typography Guidelines

  • Use Syne Neo sparingly for headlines and display text
  • Public Sans for all body copy and UI text
  • Code blocks always use monospace font
  • Ensure adequate contrast for accessibility

Node Shape Language

Neo4j uses organic, fluid node shapes based on a hexagonal grid:

  • Circles/Ellipses for entity nodes
  • Rounded rectangles for containers/components
  • Avoid rigid, angular shapes
  • Shapes should feel interconnected and organic

Cypher Code Style

Naming Conventions

ElementConventionExample
KeywordsUPPERCASEMATCH, RETURN, CREATE, WHERE
Node LabelsUpperCamelCase:Person, :Movie, :Organization
Relationship TypesUPPER_SNAKE_CASE:ACTED_IN, :WORKS_AT, :KNOWS
PropertieslowerCamelCasefirstName, dateCreated, isActive
Variableslowercasen, m, p, person, movie
Null/Booleanlowercasenull, true, false

Formatting Rules

cypher
// Keywords uppercase, proper spacing
MATCH (p:Person {name: 'Alice'})-[:KNOWS]->(friend:Person)
WHERE friend.age > 30
RETURN friend.name AS name, friend.age AS age
ORDER BY friend.age DESC

Key rules:

  • No space in label predicates: (n:Label) not (n: Label)
  • Space after commas in lists
  • No padding in function calls: count(n) not count( n )
  • Break long patterns after arrows, not before
  • Use anonymous nodes when variable not needed: ()-->(n:Movie)
  • Chain patterns to avoid repeating variables

File Extension

Use .cypher for Cypher query files.

Documentation Writing

In Prose References

When referencing Cypher constructs in documentation:

  • Labels with colon: :Person, :Movie
  • Relationship types with colon: :ACTED_IN, :KNOWS
  • Functions with parentheses: count(), toString(), collect()
  • Use monospace/code font for all Cypher elements
  • Use cypherfmt (Neo4j VS Code Extension) for formatting

Code Examples

Always include:

  • Proper syntax highlighting
  • Realistic, meaningful sample data
  • Comments explaining non-obvious patterns

Graph Visualization Colors

Default node label colors for Neo4j Browser/Bloom:

css
node {
  color: #A5ABB6;        /* default gray */
  border-color: #9AA1AC;
  text-color-internal: #FFFFFF;
}

node.Person {
  color: #DA7194;        /* pink */
  border-color: #CC3C6C;
}

node.Movie {
  color: #C990C0;        /* purple */
  border-color: #B261A5;
}

node.Organization {
  color: #F79767;        /* orange */
  border-color: #F36924;
}

relationship {
  color: #A5ABB6;
  shaft-width: 1px;
}

Diagram Guidelines

When creating diagrams for Neo4j content:

  1. Use organic shapes - circles for nodes, curved arrows for relationships
  2. Apply brand colors - use the Baltic teal as primary accent
  3. Show relationships clearly - arrows with type labels
  4. Include properties - show key properties inside node shapes
  5. Maintain whitespace - don't overcrowd diagrams

Excalidraw Integration

When using the excalidraw skill for Neo4j diagrams:

  • Use #009999 (teal) for primary/highlighted nodes
  • Use #A5ABB6 (gray) for secondary nodes
  • Use distinct colors for different node labels
  • Label relationships in UPPER_SNAKE_CASE
  • Use hand-drawn style (roughness: 1) for approachable feel

AI-Generated Illustrations

Neo4j has specific guidelines for AI-generated artwork:

  • Define a consistent illustration style
  • Use the brand color palette in prompts
  • Avoid generic AI aesthetics
  • Maintain organic, nature-inspired themes
  • Focus on connections and relationships

Quick Reference

Primary:     #009999 (Baltic teal)
Accent:      #00C1B6 (cyan)
Text:        #1E1E1E (dark)
Background:  #F3F3F0 (light)

Display:     Syne Neo
Body:        Public Sans  
Code:        Letter Gothic

Labels:      UpperCamelCase (:Person)
Rel Types:   UPPER_SNAKE_CASE (:WORKS_AT)
Properties:  lowerCamelCase (firstName)
Keywords:    UPPERCASE (MATCH, RETURN)

Resources

Frequently asked questions

What does the Neo4j Styleguide AI skill do?

Ensure consistency with Neo4j brand guidelines, Needle design system, and Cypher code style conventions. Use when creating Neo4j documentation, diagrams, presentations, Cypher queries, code examples, or any content that should align with Neo4j's visual identity and coding standards. Reference https://neo4j.design for the Needle design system.

Why use Neo4j Styleguide on TypingMind?

Because you install it once and use it with any model. Neo4j Styleguide is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Neo4j Styleguide in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/neo4j-labs/agent-memory/tree/main/.claude/skills/docs-branding. TypingMind reads its SKILL.md and installs it as a skill you can enable per chat.

Which AI models can use Neo4j Styleguide?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Neo4j Styleguide?

As many as you like. As long as a model supports skills, you can use Neo4j Styleguide with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Neo4j Styleguide AI skill free?

Yes. It is published on GitHub by neo4j-labs under the Apache-2.0 license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇