AgentSkillsCN

bkit-templates

PDCA文档模板,助力实现一致性文档编写。根据阶段与项目层级提供模板选型指南。 触发:模板、计划文档、设计文档、分析、报告、 テンプレート、計画書、設計書、テンプレート、プランテラ、plantilla、 modèle、Vorlage、modello 请勿用于:执行PDCA行动(请使用$pdca代替)。

SKILL.md
--- frontmatter
name: bkit-templates
description: |
  PDCA document templates for consistent documentation. Provides template
  selection guide based on phase and project level.
  Triggers: template, plan document, design document, analysis, report,
  템플릿, 계획서, 설계서, テンプレート, 模板, plantilla, modèle, Vorlage, modello
  Do NOT use for: executing PDCA actions (use $pdca instead).

bkit Document Templates

Use these templates when generating PDCA documents for consistent format and structure.

Available Templates

TemplateFilePurpose
Planreferences/plan.template.mdFeature planning document
Designreferences/design.template.mdTechnical design (Dynamic level)
Design (Starter)references/design-starter.template.mdSimplified design for beginners
Design (Enterprise)references/design-enterprise.template.mdEnterprise MSA design
Analysisreferences/analysis.template.mdGap analysis report
Reportreferences/report.template.mdCompletion report
Doreferences/do.template.mdImplementation guide

Template Selection Matrix

By PDCA Phase

PhaseTemplateOutput Path
Planplan.template.mddocs/01-plan/features/{feature}.plan.md
Designdesign*.template.mddocs/02-design/features/{feature}.design.md
Dodo.template.mdImplementation guide (in-session)
Checkanalysis.template.mddocs/03-analysis/{feature}.analysis.md
Act(iterate based on analysis)Updated source code
Reportreport.template.mddocs/04-report/features/{feature}.report.md

By Project Level

LevelDesign TemplateNotes
Starterdesign-starter.template.mdSimplified, pages + components only
Dynamicdesign.template.mdFull template with API + data model
Enterprisedesign-enterprise.template.mdMSA, K8s, Terraform, observability

Variable Substitution

Templates use {variable} syntax. Replace these when generating documents:

VariableDescriptionExample
{feature}Feature name (kebab-case)user-auth
{date}Creation date2026-02-14
{author}Document authorTeam
{project}Project namemy-saas
{version}Document version0.1

Document Output Paths

code
docs/
├── 01-plan/
│   └── features/
│       └── {feature}.plan.md
├── 02-design/
│   └── features/
│       └── {feature}.design.md
├── 03-analysis/
│   └── {feature}.analysis.md
└── 04-report/
    └── features/
        └── {feature}.report.md

Document Standards

File Naming Rules

code
{feature}.{type}.md             # user-auth.design.md
{number}_{english_name}.md      # 01_system_architecture.md

Common Header

All PDCA documents must include:

markdown
# {Document Title}

> **Summary**: {One-line description}
>
> **Author**: {Name}
> **Created**: {YYYY-MM-DD}
> **Status**: {Draft | Review | Approved | Deprecated}

---

Version Control

Track changes within documents:

markdown
## Version History

| Version | Date | Changes | Author |
|---------|------|---------|--------|
| 0.1 | 2026-01-01 | Initial draft | Author |

Cross-References

Link related PDCA documents:

markdown
## Related Documents
- Plan: [feature.plan.md](../01-plan/features/feature.plan.md)
- Design: [feature.design.md](../02-design/features/feature.design.md)
- Analysis: [feature.analysis.md](../03-analysis/feature.analysis.md)

Status Tracking

StatusMeaningAI Behavior
ApprovedUse as referenceFollow as-is
In ProgressBeing writtenNotify of changes
On HoldTemporarily pausedRequest confirmation
DeprecatedNo longer validIgnore

Conflict Resolution

  • Code vs Design mismatch: Code is truth, suggest document update
  • Multiple versions: Reference only the latest version

Usage

When a PDCA phase requires document creation:

  1. Detect project level (Starter/Dynamic/Enterprise)
  2. Select appropriate template from this skill's references
  3. Replace {variable} placeholders with actual values
  4. Create document at the correct output path
  5. Update .pdca-status.json with phase progression

Templates are loaded on-demand from the references/ directory.