@m-d-t/skills
Agent skills for mdt — keep markdown templates synchronized across your project. Includes MCP tool guidance, template syntax, and CLI workflow instructions.
Package details
Install @m-d-t/skills from npm and Pi will load the resources declared by the package manifest.
$ pi install npm:@m-d-t/skills- Package
@m-d-t/skills- Version
0.9.0- Published
- Jul 4, 2026
- Downloads
- 201/mo · 13/wk
- Author
- ifiokjr
- License
- Unlicense
- Types
- package
- Size
- 16.6 KB
- Dependencies
- 0 dependencies · 0 peers
Security note
Pi packages can execute code and influence agent behavior. Review the source before installing third-party packages.
README
@m-d-t/skills
Agent skills for mdt — the markdown template synchronization tool.
What's inside
This package provides a pi-compatible agent skill that teaches your coding agent how to work with mdt. When installed, agents can:
- Create and manage provider/consumer template blocks
- Run
mdt check,mdt update, and other CLI commands correctly - Use MCP tools (
mdt_find_reuse,mdt_preview,mdt_check, etc.) with best practices - Apply the right transformers for source-file doc comments (Rust, TypeScript, Python, Go, etc.)
- Configure
mdt.tomlfor data interpolation, padding, and scanning rules
Installation
As a pi package
pi install npm:@m-d-t/skills
Or try it for a single session:
pi -e npm:@m-d-t/skills
As a project-level dependency
Add to your .pi/settings.json:
{
"packages": ["npm:@m-d-t/skills"]
}
Then any contributor running pi in the project will automatically get the skill.
Requirements
- mdt CLI installed (
npm install -g @m-d-t/cliorcargo install mdt_cli) - For MCP integration: an mdt MCP server configured in your agent (
mdt mcp)
What the skill covers
| Topic | Description |
|---|---|
| Template syntax | Provider ({@}), consumer ({=}), inline ({~}), close ({/}) tags |
| Transformers | trim, indent, linePrefix, codeBlock, replace, if, and more |
| Data interpolation | Pull values from JSON, TOML, YAML, KDL, INI, or script output |
| Source file support | Consumer blocks in .rs, .ts, .py, .go, .java, etc. |
| MCP tools | Full reference for all 7 MCP server tools with best practices |
| Configuration | mdt.toml sections: [data], [padding], [exclude], [templates] |
| CLI commands | init, check, update, list, info, doctor, assist, lsp, mcp |