Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

spec-graph

Skill by JetBrains

Helps an AI assistant locate, read, create, update and validate project specs. Use it when work depends on or may change a documented boundary, contract, invariant or architecture decision.

  • Score 86
  • 8.5k stars
  • Apache-2.0
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install spec-graph

Built from the published package, never by AI.

git clone --depth 1 https://github.com/JetBrains/thinkrail /tmp/thinkrail && mkdir -p ~/.claude/skills && cp -r /tmp/thinkrail/packages/spec-graph/skills/spec-graph ~/.claude/skills/spec-graph

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install spec-graph in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

spec-graph is an agent skill from JetBrains for working with project specs. It tells the assistant to treat specs as the ground truth for architecture, decisions, contracts and boundaries, and to check the owning spec before changing something a spec governs. Specs are Markdown documents with frontmatter. They link to each other through parent, depends-on, references and implements fields, forming a graph that mirrors the code structure.

The skill names spec types such as goal-and-requirements, architecture-design, module-design and task-spec. It lists tools for searching, grepping, reading and graphing specs, and for creating, updating, deleting and validating them. The workflow is to orient, align the change with recorded decisions, update the spec when a boundary or contract changes, and run spec_validate after structural changes. It is written for developers and assistants working in repositories that keep specs.

Written from the project's SKILL.md and checked against it.

What it can do

  • spec_searchFinds the spec sections that answer a question, ranked by matching words.
  • spec_grepSearches within specs by content, narrowed by metadata filters.
  • spec_getReturns a spec's frontmatter, resolved links and file path.
  • spec_graphReturns a bounded slice of the spec graph: a subtree, ancestors or neighbors.
  • spec_createCreates a new spec with scaffolded frontmatter and headings.
  • spec_updateUpdates a spec's frontmatter fields and links without touching the body.
  • spec_deleteRemoves a spec.
  • spec_validateReports dangling links, duplicate ids and parent cycles.

Try asking

  • Find the spec that governs the authentication module boundary.
  • Check whether this change contradicts a recorded architecture decision.
  • Run spec_validate and report any dangling links or duplicate ids.

Good to know

  • spec_search matches words, not meaning, so rephrase with the words a spec would use.
  • Task specs are not durable. Finished ones are marked status: done and kept, not deleted.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: packages/spec-graph/skills/spec-graph/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

  • SKILL.md6 KB

Alternatives to spec-graph

All alternatives →
openclaw-github-repo-commandersickn33
94

Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.

AAA Skill 50k
gradiogradio-app
94

Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.

AAA Skill 44k
hig-components-menussickn33
94

Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.

AAA Skill 50k
fastapi-templateswshobson
94

Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.

AAA Skill 43k
appfunctionsandroid
94

Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.

AAA Skill 11k
agent-qa-authoringsickn33
94

Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.

AAA Skill 50k

Compare with openclaw-github-repo-commander, gradio or hig-components-menus

spec-graph: common questions

What is a spec in spec-graph?

A spec is a durable, declarative document that states the intent, decisions, contracts and boundaries behind the code. A file counts as a spec when its frontmatter carries id and type.

When should the assistant consult specs?

The skill says to consult the owning spec when work depends on, checks, explains or may alter a documented boundary, contract, invariant, behavior or architecture decision. Small localized fixes that change no documented decision may skip unrelated specs.

Who publishes spec-graph?

The listing names JetBrains as the publisher.

How do I install spec-graph?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is spec-graph free?

The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.

Is spec-graph safe to use?

It scores 86 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to spec-graph?

Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.

spec-graph Install

Add to stack

Loading.