IndenScale/Typedown
IndenScale/Typedown · 10 stars · 2 plugins
Marketplace Typedown: Progressive formalization for Markdown. Bridge the gap between unstructured docs and strict data schemas.
Install
/plugin marketplace add IndenScale/TypedownRun inside Claude Code, then install plugins from it. Check the repo's README before you run it.
Plugins 2
After adding the marketplace, install one with /plugin install <name>@typedown.
- 1coreCore skills for writing Typedown files correctly
/plugin install core@typedown - 2workflowsStandard operating procedures for project management
/plugin install workflows@typedown
Files
Typedown
Progressive Formalization for Markdown
🚀 Install VS Code Extension · Documentation · Issues
English | 简体中文
Typedown adds a semantic layer to Markdown, transforming it from loose text into a validated knowledge base.
💡 Typedown files (
.td) are designed to be experienced in an IDE. Install the VS Code Extension to get real-time validation, intelligent navigation, and semantic highlighting.
The Problem: Markdown Doesn't Scale
Markdown is the universal standard for technical documentation. But as your repository grows from 10 to 10,000 files, it becomes a "write-only" graveyard:
| Problem | Description | Typedown Solution |
|---|---|---|
| Schema Errors | Inconsistent data: Status: Active vs status: active, missing required fields |
Model - Define structure with Pydantic, validate at compile time |
| Broken References | Links break after moving files: [[./old-path]] points nowhere |
Reference - Content-addressed links that auto-track entity changes |
| Constraint Violations | Rules are broken: admins without MFA, inventory over limit | Spec - Executable business rules for complex constraints |
Core Concepts
1. Model (Schema)
Define data structures using Pydantic:
```model:User
class User(BaseModel):
name: str
role: Literal["admin", "member"]
mfa_enabled: bool = False
```
2. Entity (Data)
Instantiate data with strict YAML:
```entity User: user-alice-v1
name: "Alice"
role: "admin"
mfa_enabled: true
```
3. Reference (Graph)
Link entities with [[...]] syntax:
This task is assigned to [[user-alice-v1]].
Supports ID references ([[entity-id]]) and content hash ([[sha256:...]]).
4. Spec (Validation)
Three layers of validation:
# 1. Field-level - @field_validator
class User(BaseModel):
@field_validator('email')
def check_email(cls, v):
assert '@' in v, "Invalid email"
return v
# 2. Model-level - @model_validator
class Order(BaseModel):
@model_validator(mode='after')
def check_dates(self):
assert self.end > self.start, "End must be after start"
return self
# 3. Global-level - spec
```spec:check_admin_mfa
@target(type="User", scope="local")
def check_admin_mfa(user: User):
if user.role == "admin":
assert user.mfa_enabled, f"Admin {user.name} must enable MFA"
```
Quick Start
Option 1: VS Code Extension (Recommended)
The best way to experience Typedown is through the IDE extension, which provides real-time validation, go-to-definition, and semantic highlighting.
- Install the VS Code Extension
- Clone this repository and open the
cookbook/01_getting_started/folder in VS Code - Open any
.tdfile to see Typedown in action
⚠️ Note: Typedown files (
.td) appear as plain Markdown on GitHub. The full experience requires the VS Code extension.
Option 2: CLI (For CI/CD)
For validating Typedown files in CI pipelines or automation:
# Using uv (recommended) uv tool install typedown # Using pip pip install typedown # Validate a project typedown check .
CLI Commands
# Validate the project typedown check . # Check with JSON output typedown check --json # Run specific validation typedown check --target User
Documentation
- Getting Started - Build your first model
- Concepts - Model, Entity, Reference, Spec
- Guides - Best practices and advanced topics
Cookbook
The cookbook/ directory contains learning resources designed to be used with the VS Code extension:
cookbook/01_getting_started/- Progressive tutorials (English & 中文)cookbook/02_use_cases/- Real-world examples (bid evaluation, PMO SaaS, ERP)
💡 Tip: Clone the repo and open it in VS Code with the Typedown extension installed for the best learning experience.
License
MIT © IndenScale
{
"name": "typedown",
"owner": {
"name": "Typedown Team",
"email": "hfu7565ytru@gmail.com"
},
"metadata": {
"description": "Skills for writing and validating Typedown code",
"version": "1.0.0"
},
"plugins": [
{
"name": "core",
"description": "Core skills for writing Typedown files correctly",
"source": "https://github.com/IndenScale/Typedown.git",
"strict": false,
"skills": [
"skills/typedown"
]
},
{
"name": "workflows",
"description": "Standard operating procedures for project management",
"source": "https://github.com/IndenScale/Typedown.git",
"strict": false,
"skills": [
"skills/task-expert",
"skills/git-reference-manager"
]
}
]
}Facts
- Kind
- Marketplace
- Repo
- IndenScale/Typedown
- Group
- Uncategorized
- Stars
- 10
- Marketplace name
- typedown
- Owner
- Typedown Team
- License
- MIT
- Language
- Python
- Created
- 2025-12-17
- Last push
- 2026-02-14
- Plugins
- 2
Next on this shelf
- 1025jiatastic/open-python-skillsjiatastic/open-python-skills10
- 1026nathanonn/claude-skill-build-insights-loggernathanonn/claude-skill-build-insights-logger10
- 1027alwinpaul1/claude-hud-enhancedalwinpaul1/claude-hud-enhanced10
- 1028jordanburke/functypejordanburke/functype10
- 1029OpenMatter-Network/agent-io-skillsOpenMatter-Network/agent-io-skills10
- 1030s2005/markdown-linter-fixer-skills2005/markdown-linter-fixer-skill10