Skip to main content

Spec-Craft

PyPI - Downloads Read the Docs (version)

Obsidian-based Spec-Driven Development (SDD) toolkit with MCP and spec-kit integration.

Concept

spec-craft is a bridge between high-level roadmaps in Obsidian and tactical implementation using spec-kit.

Strategy vs Tactics

  • Strategy (Obsidian): Defines the "What" and "Why". It holds the project's soul, long-term roadmap, and domain-specific principles (Manga storyboards, CAD logic, Blender Bonkei rules, etc.).
  • Tactics (spec-kit): Defines the "How". It executes iterative SDD cycles (Specify → Plan → Implement) to generate concrete code and assets based on the strategy.

Installation

uv sync
pip install -e .

spec-kit Extension Setup

To enable slash commands (e.g., /speckit.obsidian-analyze), copy the extension/ folder to your project's .specify/extensions/spec-craft/ directory.

Discovery

Find more AI agent extensions at the official registry: geminicli.com/extensions/.

Automated Release Process

Spec-Craft uses GitHub Actions for CI/CD:

  • Testing: Every push/PR triggers a test matrix across Python 3.10-3.12.
  • Publishing: Pushing a tag matching v* automatically builds and publishes the package to PyPI using Trusted Publishing.

Usage

Build Output Organization

All generated assets are stored in the build/ directory:

  • build/manga/<lang>/: Translated SVG scenes.
  • build/cad/universal/: Parametric STL models and SVG projections.
  • build/3d/universal/: Blender Python scripts for scene construction.

3D Preview

To view your generated CAD models interactively, run:

spec-craft browse

This starts a local server and opens a Three.js viewer. You can load specific models using query parameters: http://localhost:8080/?model=cad/universal/my_part.stl.

Visual Feedback Loop

When triggering a CAD build or rendering a 3D scene, spec-craft can generate SVG projections. These are ideal for AI vision analysis, allowing your agent to "see" the dimensions and propose improvements.

Isolated AI Editing

Spec-Craft provides a dedicated Emacs sandbox for AI agents. This environment is isolated from your personal configuration and comes pre-configured with LSP (Eglot) and Linting (Flymake) support to ensure high-quality code generation.

Transparent Tactical Workflow

Spec-Craft prioritizes transparency and security for project operations. Instead of executing sensitive tasks (like branch creation or planning) in the background, your AI agent will read the spec-kit definitions and propose the exact command for you to run. This ensures that interactive events, such as SSH password prompts, are handled safely by you in your own terminal.

Usage

CLI

spec-craft --version
spec-craft serve

MCP Server

Register the server in your MCP client (e.g., Claude Desktop, Gemini CLI) using:

{
  "mcpServers": {
    "spec-craft": {
      "command": "spec-craft",
      "args": ["serve"]
    }
  }
}

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

spec_craft-0.1.5.tar.gz (39.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

spec_craft-0.1.5-py3-none-any.whl (44.1 kB view details)

Uploaded Python 3

File details

Details for the file spec_craft-0.1.5.tar.gz.

File metadata

  • Download URL: spec_craft-0.1.5.tar.gz
  • Upload date:
  • Size: 39.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.14

File hashes

Hashes for spec_craft-0.1.5.tar.gz
Algorithm Hash digest
SHA256 0ee043160b090f9c1eebb0cb2ca9cfbab754ba01ae9939d54043c655092a70ba
MD5 3c50b6370d3269af3a090493626b7761
BLAKE2b-256 0f4ab98e327c92bd7df21d6dd6369f2f2f9a390a7df27133b617a38c8ccd0737

See more details on using hashes here.

Provenance

The following attestation bundles were made for spec_craft-0.1.5.tar.gz:

Publisher: publish.yml on akuroiwa/spec-craft

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file spec_craft-0.1.5-py3-none-any.whl.

File metadata

  • Download URL: spec_craft-0.1.5-py3-none-any.whl
  • Upload date:
  • Size: 44.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.14

File hashes

Hashes for spec_craft-0.1.5-py3-none-any.whl
Algorithm Hash digest
SHA256 8660e79e2b3198c3fd2242e74aa81872faf8951c5eefb42273ef916b37265643
MD5 1c87208a5e2be31e29b370914711f0c8
BLAKE2b-256 bf8739142313ae0c99770009009f3fbaf5daef9e4dc87f06c83ad98bb98b6fb2

See more details on using hashes here.

Provenance

The following attestation bundles were made for spec_craft-0.1.5-py3-none-any.whl:

Publisher: publish.yml on akuroiwa/spec-craft

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

0.1.6

2 files

This release

0.1.5 This release

2 files

0.1.4

2 files

0.1.3

2 files

0.1.2

2 files

0.1.1

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page