knowns.template

Generate code from predefined templates with variable substitution and conditional file generation.

Updated Jan 5, 2026
One-click install
npx skills add https://github.com/tung68nt/tulie_lab --skill knowns-template
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: knowns.template
Source: https://github.com/tung68nt/tulie_lab/tree/main/.claude/skills/knowns.template
Command: npx skills add https://github.com/tung68nt/tulie_lab --skill knowns-template

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill streamlines code generation by leveraging predefined templates, ensuring consistency and reducing boilerplate code.

Core Features & Use Cases

  • List Templates: Discover available code generation templates.
  • Get Template Details: Understand template requirements, prompts, and generated files.
  • Run Templates: Generate code by providing necessary variables.
  • Create New Templates: Define new reusable code patterns.
  • Use Case: When creating a new React component, use the react-component template to automatically generate the .tsx, .test.tsx, and associated configuration files based on your input.

Quick Start

Use the knowns.template skill to list all available templates.

Frequently Asked Questions about knowns.template

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

FAQPage Schema
How do I generate boilerplate code from predefined templates?

You can generate boilerplate code by running predefined templates stored in the `.knowns/templates/` directory. The system substitutes your provided variables to automatically scaffold the required files, ensuring consistency across your project.

What is the best way to automatically scaffold a new React component?

Scaffolding a new React component is best handled by executing a predefined template. This automatically generates the `.tsx`, `.test.tsx`, and configuration files simultaneously based on your specific input variables.

Can I create my own custom code generation templates for variable substitution?

Yes, you can create new reusable code patterns to define custom templates. These templates support variable substitution and conditional file generation, allowing you to tailor the scaffolding output to your specific project requirements.

How do I list available code generation templates and understand their requirements?

You can list all available templates to discover predefined code patterns, then get template details to understand the specific prompts, required variables, and generated files before execution.

Does this code generation tool support conditional file generation based on variables?

Yes, the code generation tool supports conditional file generation alongside standard variable substitution. This allows the template execution logic to dynamically include or exclude specific files based on the variables you provide.

Why use template scaffolding instead of manually copying boilerplate code?

Using template scaffolding streamlines code generation by ensuring structural consistency and significantly reducing repetitive boilerplate code. It integrates documentation linking for guidance, making the generation process reliable and repeatable.