project-template-creation

Create and register Madoc TypeScript project templates with capture models and hooks.

57|15|Updated Nov 28, 2018
One-click install
npx skills add https://github.com/digirati-co-uk/madoc-platform --skill project-template-creation
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: project-template-creation
Source: https://github.com/digirati-co-uk/madoc-platform/tree/main/.agents/skills/project-template-creation
Command: npx skills add https://github.com/digirati-co-uk/madoc-platform --skill project-template-creation

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Creating a new project template in Madoc involves editing multiple files, registering the template, and configuring hooks, which is error‑prone and time‑consuming.

Core Features & Use Cases

  • Template Definition: Provides the structure for type, metadata, captureModel, configuration, and setup.
  • Automatic Registration: Guides adding the template to ProjectTemplateExtension and plugin registration.
  • Configuration Hooks: Explains how to set defaults, immutable flags, and custom actions for project creation.
  • Use Case: When you need a custom crowdsourcing workflow—e.g., a transcription project with specific capture model defaults—you can follow this playbook to create and register the template quickly.

Quick Start

Use the project-template-creation skill to add a new Madoc project template for a transcription workflow.

Frequently Asked Questions about project-template-creation

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

FAQPage Schema
How do I create a custom crowdsourcing template in Madoc?

Creating a custom crowdsourcing template in Madoc involves defining template types, metadata, capture models, configuration defaults, and lifecycle hooks in the TypeScript codebase, then registering the template through ProjectTemplateExtension during project creation.

What do I need to configure when registering a new Madoc project template?

Registering a new Madoc project template requires setting a unique type identifier, adding metadata, configuring capture model defaults, defining configuration settings, implementing lifecycle hooks, and adding the template to the ProjectTemplateExtension and plugin registration.

How do configuration hooks work when setting up a Madoc project template?

Configuration hooks in a Madoc project template let you set default values, define immutable flags, and trigger custom actions during project creation, ensuring the crowdsourcing workflow initializes with the correct capture model and settings.

What is a capture model in Madoc template creation?

A capture model in Madoc template creation defines the structural data requirements for a crowdsourcing task, such as a transcription project, ensuring specific default fields and configurations are applied when the project is generated.

Can I add custom actions during Madoc project creation?

Yes, you can add custom actions during Madoc project creation by implementing configuration hooks within your TypeScript project template, allowing you to set defaults, apply immutable flags, and execute specific setup behaviors.

Why does creating a Madoc project template require multiple files?

Creating a Madoc project template requires editing multiple TypeScript files to separate concerns: defining the template type, registering it with ProjectTemplateExtension, and configuring hooks and custom settings, which prevents configuration errors during crowdsourcing project setup.