codraft

Assemble DOCX, HTML, and Markdown documents via conversational interviews.

3|2|Updated Feb 15, 2026
One-click install
npx skills add https://github.com/houfu/codraft --skill codraft
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: codraft
Source: https://github.com/houfu/codraft/tree/main/plugin/skills/codraft
Command: npx skills add https://github.com/houfu/codraft --skill codraft

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill automates the creation of documents from templates, transforming a manual, time-consuming process into a conversational AI-driven experience.

Core Features & Use Cases

  • Template-Based Document Assembly: Renders .docx, .html, and .md documents from user-provided or built-in templates.
  • Conversational Interviewing: Guides users through filling out template variables with adaptive questions, handling conditional logic and repeating sections.
  • Use Case: A legal team needs to generate NDAs for new clients. They use Codraft to have Claude conversationally interview them for party names, effective dates, and specific clauses, then render a finalized NDA document.

Quick Start

Ask Claude to prepare an NDA with Codraft.

Frequently Asked Questions about codraft

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate document generation from templates using conversational AI?

Document generation from templates is automated by matching user requests to DOCX, HTML, or Markdown files, analyzing structure for variables, and conducting adaptive conversational interviews to render final documents.

Can I render DOCX files with conditional sections and loops?

Rendering DOCX files supports conditional sections, loops, and developer-configured interview flows, allowing complex template assembly with dynamic repeating sections and logic-based content inclusion.

What is the best way to fill out template variables for an NDA?

Filling out template variables for NDAs uses a conversational interviewing process that adaptively asks for party names, dates, and clauses, then renders the finalized document from the matched template.

Does template assembly work with Markdown and HTML formats?

Template assembly works with Markdown, HTML, and DOCX formats, matching user requests to the provided template, analyzing its structure, and rendering the final output document conversationally.

Do I need to pre-configure interview flows for document assembly?

Interview flows for document assembly can be developer-configured, but the system also adapts questions automatically by analyzing template structure for variables, handling conditional logic without requiring manual setup.

Why use a conversational interview for document generation instead of manual data entry?

Conversational interviews for document generation transform manual, time-consuming template filling into an adaptive AI-driven experience, guiding users through variables and logic to produce finalized documents efficiently.