Initial commit
This commit is contained in:
348
skills/insight-skill-generator/docs/lessons-learned/README.md
Normal file
348
skills/insight-skill-generator/docs/lessons-learned/README.md
Normal file
@@ -0,0 +1,348 @@
|
||||
# Lessons Learned Index
|
||||
|
||||
This directory contains auto-extracted insights from Claude Code sessions using the Explanatory output style.
|
||||
|
||||
## Directory Structure
|
||||
|
||||
Insights are organized by category with timestamped, descriptive filenames:
|
||||
|
||||
```
|
||||
docs/lessons-learned/
|
||||
├── README.md (this file)
|
||||
├── architecture/
|
||||
│ ├── 2025-11-14-system-design-patterns.md
|
||||
│ └── 2025-11-10-microservices-architecture.md
|
||||
├── configuration/
|
||||
│ └── 2025-11-12-config-inheritance.md
|
||||
├── hooks-and-events/
|
||||
│ ├── 2025-11-14-hook-debugging-strategy.md
|
||||
│ └── 2025-11-13-lifecycle-events.md
|
||||
├── performance/
|
||||
│ └── 2025-11-11-optimization-techniques.md
|
||||
├── react/
|
||||
│ └── 2025-11-14-component-patterns.md
|
||||
├── security/
|
||||
│ └── 2025-11-09-auth-best-practices.md
|
||||
├── testing/
|
||||
│ └── 2025-11-14-tdd-workflow.md
|
||||
├── typescript/
|
||||
│ └── 2025-11-10-type-safety.md
|
||||
├── version-control/
|
||||
│ └── 2025-11-08-git-workflow.md
|
||||
└── general/
|
||||
└── 2025-11-07-general-tips.md
|
||||
```
|
||||
|
||||
## Categories
|
||||
|
||||
### Architecture
|
||||
|
||||
### Architecture
|
||||
|
||||
### Architecture
|
||||
|
||||
### Architecture
|
||||
|
||||
- [`2025-11-16-skill-design-pattern-selection.md`](./architecture/2025-11-16-skill-design-pattern-selection.md) - 7 insights (Updated: 2025-11-16)
|
||||
- [`2025-11-16-skill-design-pattern-selection.md`](./architecture/2025-11-16-skill-design-pattern-selection.md) - 7 insights (Updated: 2025-11-16)
|
||||
### Architecture
|
||||
|
||||
- [`2025-11-16-skill-design-pattern-selection.md`](./architecture/2025-11-16-skill-design-pattern-selection.md) - 7 insights (Updated: 2025-11-16)
|
||||
- [`2025-11-16-skill-design-pattern-selection.md`](./architecture/2025-11-16-skill-design-pattern-selection.md) - 7 insights (Updated: 2025-11-16)
|
||||
|
||||
**Total**: 7 insights across 1 file
|
||||
|
||||
|
||||
**Total**: 7 insights across 1 file
|
||||
|
||||
- [`2025-11-16-skill-design-pattern-selection.md`](./architecture/2025-11-16-skill-design-pattern-selection.md) - 7 insights (Updated: 2025-11-16)
|
||||
|
||||
**Total**: 7 insights across 1 file
|
||||
|
||||
|
||||
**Total**: 7 insights across 1 file
|
||||
|
||||
- [`2025-11-16-skill-design-pattern-selection.md`](./architecture/2025-11-16-skill-design-pattern-selection.md) - 7 insights (Updated: 2025-11-16)
|
||||
|
||||
**Total**: 7 insights across 1 file
|
||||
|
||||
|
||||
**Total**: 7 insights across 1 file
|
||||
|
||||
- [`2025-11-16-skill-design-pattern-selection.md`](./architecture/2025-11-16-skill-design-pattern-selection.md) - 7 insights (Updated: 2025-11-16)
|
||||
### Configuration
|
||||
|
||||
### Configuration
|
||||
|
||||
|
||||
**Total**: 7 insights across 1 file
|
||||
|
||||
### Configuration
|
||||
|
||||
### Configuration
|
||||
|
||||
### Configuration
|
||||
|
||||
### Configuration
|
||||
|
||||
- [`2025-11-16-configuration-driven-design-pattern.md`](./configuration/2025-11-16-configuration-driven-design-pattern.md) - 10 insights (Updated: 2025-11-16)
|
||||
### Configuration
|
||||
|
||||
- [`2025-11-16-configuration-driven-design-pattern.md`](./configuration/2025-11-16-configuration-driven-design-pattern.md) - 10 insights (Updated: 2025-11-16)
|
||||
- [`2025-11-16-configuration-driven-design-pattern.md`](./configuration/2025-11-16-configuration-driven-design-pattern.md) - 10 insights (Updated: 2025-11-16)
|
||||
|
||||
**Total**: 10 insights across 1 file
|
||||
|
||||
- [`2025-11-16-configuration-driven-design-pattern.md`](./configuration/2025-11-16-configuration-driven-design-pattern.md) - 10 insights (Updated: 2025-11-16)
|
||||
|
||||
**Total**: 10 insights across 1 file
|
||||
|
||||
|
||||
**Total**: 10 insights across 1 file
|
||||
|
||||
|
||||
**Total**: 10 insights across 1 file
|
||||
|
||||
- [`2025-11-16-configuration-driven-design-pattern.md`](./configuration/2025-11-16-configuration-driven-design-pattern.md) - 10 insights (Updated: 2025-11-16)
|
||||
- [`2025-11-16-configuration-driven-design-pattern.md`](./configuration/2025-11-16-configuration-driven-design-pattern.md) - 10 insights (Updated: 2025-11-16)
|
||||
- [`2025-11-16-configuration-driven-design-pattern.md`](./configuration/2025-11-16-configuration-driven-design-pattern.md) - 10 insights (Updated: 2025-11-16)
|
||||
|
||||
**Total**: 10 insights across 1 file
|
||||
|
||||
|
||||
**Total**: 10 insights across 1 file
|
||||
|
||||
|
||||
**Total**: 10 insights across 1 file
|
||||
|
||||
### Version-control
|
||||
|
||||
### Version-control
|
||||
|
||||
### Version-control
|
||||
|
||||
### Version-control
|
||||
|
||||
### Version-control
|
||||
|
||||
### Version-control
|
||||
|
||||
### Version-control
|
||||
|
||||
- [`2025-11-16-skill-discovery-and-validation.md`](./version-control/2025-11-16-skill-discovery-and-validation.md) - 8 insights (Updated: 2025-11-16)
|
||||
- [`2025-11-16-skill-discovery-and-validation.md`](./version-control/2025-11-16-skill-discovery-and-validation.md) - 8 insights (Updated: 2025-11-16)
|
||||
- [`2025-11-16-skill-discovery-and-validation.md`](./version-control/2025-11-16-skill-discovery-and-validation.md) - 8 insights (Updated: 2025-11-16)
|
||||
- [`2025-11-16-skill-discovery-and-validation.md`](./version-control/2025-11-16-skill-discovery-and-validation.md) - 8 insights (Updated: 2025-11-16)
|
||||
|
||||
**Total**: 8 insights across 1 file
|
||||
|
||||
|
||||
**Total**: 8 insights across 1 file
|
||||
|
||||
|
||||
**Total**: 8 insights across 1 file
|
||||
|
||||
|
||||
**Total**: 8 insights across 1 file
|
||||
|
||||
|
||||
## Usage
|
||||
|
||||
Each category contains an `insights.md` file with chronologically ordered insights. Insights are automatically categorized based on content analysis.
|
||||
|
||||
### Manual Categorization
|
||||
|
||||
If you need to recategorize an insight:
|
||||
1. Cut the insight from the current file
|
||||
2. Paste it into the appropriate category file
|
||||
3. The index will auto-update on the next extraction
|
||||
|
||||
### Searching
|
||||
|
||||
Use grep to search across all insights:
|
||||
```bash
|
||||
grep -r "your search term" docs/lessons-learned/
|
||||
```
|
||||
|
||||
Or use ripgrep for faster searches:
|
||||
```bash
|
||||
rg "your search term" docs/lessons-learned/
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
*Auto-generated by extract-explanatory-insights.sh hook*
|
||||
|
||||
## Usage
|
||||
|
||||
Each category contains an `insights.md` file with chronologically ordered insights. Insights are automatically categorized based on content analysis.
|
||||
|
||||
### Manual Categorization
|
||||
|
||||
If you need to recategorize an insight:
|
||||
1. Cut the insight from the current file
|
||||
2. Paste it into the appropriate category file
|
||||
3. The index will auto-update on the next extraction
|
||||
|
||||
### Searching
|
||||
|
||||
Use grep to search across all insights:
|
||||
```bash
|
||||
grep -r "your search term" docs/lessons-learned/
|
||||
```
|
||||
|
||||
Or use ripgrep for faster searches:
|
||||
```bash
|
||||
rg "your search term" docs/lessons-learned/
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
*Auto-generated by extract-explanatory-insights.sh hook*
|
||||
|
||||
## Usage
|
||||
|
||||
Each category contains an `insights.md` file with chronologically ordered insights. Insights are automatically categorized based on content analysis.
|
||||
|
||||
### Manual Categorization
|
||||
|
||||
If you need to recategorize an insight:
|
||||
1. Cut the insight from the current file
|
||||
2. Paste it into the appropriate category file
|
||||
3. The index will auto-update on the next extraction
|
||||
|
||||
### Searching
|
||||
|
||||
Use grep to search across all insights:
|
||||
```bash
|
||||
grep -r "your search term" docs/lessons-learned/
|
||||
```
|
||||
|
||||
Or use ripgrep for faster searches:
|
||||
```bash
|
||||
rg "your search term" docs/lessons-learned/
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
*Auto-generated by extract-explanatory-insights.sh hook*
|
||||
|
||||
## Usage
|
||||
|
||||
Each category contains an `insights.md` file with chronologically ordered insights. Insights are automatically categorized based on content analysis.
|
||||
|
||||
### Manual Categorization
|
||||
|
||||
If you need to recategorize an insight:
|
||||
1. Cut the insight from the current file
|
||||
2. Paste it into the appropriate category file
|
||||
3. The index will auto-update on the next extraction
|
||||
|
||||
### Searching
|
||||
|
||||
Use grep to search across all insights:
|
||||
```bash
|
||||
grep -r "your search term" docs/lessons-learned/
|
||||
```
|
||||
|
||||
Or use ripgrep for faster searches:
|
||||
```bash
|
||||
rg "your search term" docs/lessons-learned/
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
*Auto-generated by extract-explanatory-insights.sh hook*
|
||||
- [`2025-11-16-skill-discovery-and-validation.md`](./version-control/2025-11-16-skill-discovery-and-validation.md) - 8 insights (Updated: 2025-11-16)
|
||||
- [`2025-11-16-skill-discovery-and-validation.md`](./version-control/2025-11-16-skill-discovery-and-validation.md) - 8 insights (Updated: 2025-11-16)
|
||||
- [`2025-11-16-skill-discovery-and-validation.md`](./version-control/2025-11-16-skill-discovery-and-validation.md) - 8 insights (Updated: 2025-11-16)
|
||||
|
||||
**Total**: 8 insights across 1 file
|
||||
|
||||
|
||||
**Total**: 8 insights across 1 file
|
||||
|
||||
|
||||
## Usage
|
||||
|
||||
Each category contains an `insights.md` file with chronologically ordered insights. Insights are automatically categorized based on content analysis.
|
||||
|
||||
### Manual Categorization
|
||||
|
||||
If you need to recategorize an insight:
|
||||
1. Cut the insight from the current file
|
||||
2. Paste it into the appropriate category file
|
||||
3. The index will auto-update on the next extraction
|
||||
|
||||
### Searching
|
||||
|
||||
Use grep to search across all insights:
|
||||
```bash
|
||||
grep -r "your search term" docs/lessons-learned/
|
||||
```
|
||||
|
||||
Or use ripgrep for faster searches:
|
||||
```bash
|
||||
rg "your search term" docs/lessons-learned/
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
*Auto-generated by extract-explanatory-insights.sh hook*
|
||||
|
||||
## Usage
|
||||
|
||||
Each category contains an `insights.md` file with chronologically ordered insights. Insights are automatically categorized based on content analysis.
|
||||
|
||||
### Manual Categorization
|
||||
|
||||
If you need to recategorize an insight:
|
||||
1. Cut the insight from the current file
|
||||
2. Paste it into the appropriate category file
|
||||
3. The index will auto-update on the next extraction
|
||||
|
||||
### Searching
|
||||
|
||||
Use grep to search across all insights:
|
||||
```bash
|
||||
grep -r "your search term" docs/lessons-learned/
|
||||
```
|
||||
|
||||
Or use ripgrep for faster searches:
|
||||
```bash
|
||||
rg "your search term" docs/lessons-learned/
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
*Auto-generated by extract-explanatory-insights.sh hook*
|
||||
|
||||
**Total**: 8 insights across 1 file
|
||||
|
||||
|
||||
## Usage
|
||||
|
||||
Each category contains an `insights.md` file with chronologically ordered insights. Insights are automatically categorized based on content analysis.
|
||||
|
||||
### Manual Categorization
|
||||
|
||||
If you need to recategorize an insight:
|
||||
1. Cut the insight from the current file
|
||||
2. Paste it into the appropriate category file
|
||||
3. The index will auto-update on the next extraction
|
||||
|
||||
### Searching
|
||||
|
||||
Use grep to search across all insights:
|
||||
```bash
|
||||
grep -r "your search term" docs/lessons-learned/
|
||||
```
|
||||
|
||||
Or use ripgrep for faster searches:
|
||||
```bash
|
||||
rg "your search term" docs/lessons-learned/
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
*Auto-generated by extract-explanatory-insights.sh hook*
|
||||
@@ -0,0 +1,114 @@
|
||||
# Architecture Insights - November 16, 2025
|
||||
|
||||
Auto-generated lessons learned from Claude Code Explanatory insights.
|
||||
|
||||
**Session**: 79b654b6-10f8-4c3c-92e1-a3535644366c
|
||||
**Generated**: 2025-11-16 09:57:31
|
||||
|
||||
---
|
||||
|
||||
## Skill Design Pattern Selection
|
||||
|
||||
**Skill Design Pattern Selection**
|
||||
|
||||
The research revealed three key patterns for skill creation:
|
||||
1. **Phase-based workflow** (used by skill-creator) - best for linear, multi-step processes
|
||||
2. **Mode-based approach** (used by complex skills) - best for multiple distinct workflows
|
||||
3. **Validation pattern** (used by auditor skills) - best for analysis and checking
|
||||
|
||||
For our insight-to-skill generator, we'll use the **phase-based workflow** pattern because the process is inherently sequential (discover → cluster → design → generate → install), and it aligns with how skill-creator already works, making the user experience consistent.
|
||||
|
||||
|
||||
|
||||
---
|
||||
|
||||
## Skill Design Pattern Selection
|
||||
|
||||
**Skill Design Pattern Selection**
|
||||
|
||||
The research revealed three key patterns for skill creation:
|
||||
1. **Phase-based workflow** (used by skill-creator) - best for linear, multi-step processes
|
||||
2. **Mode-based approach** (used by complex skills) - best for multiple distinct workflows
|
||||
3. **Validation pattern** (used by auditor skills) - best for analysis and checking
|
||||
|
||||
For our insight-to-skill generator, we'll use the **phase-based workflow** pattern because the process is inherently sequential (discover → cluster → design → generate → install), and it aligns with how skill-creator already works, making the user experience consistent.
|
||||
|
||||
|
||||
|
||||
---
|
||||
|
||||
## Skill Design Pattern Selection
|
||||
|
||||
**Skill Design Pattern Selection**
|
||||
|
||||
The research revealed three key patterns for skill creation:
|
||||
1. **Phase-based workflow** (used by skill-creator) - best for linear, multi-step processes
|
||||
2. **Mode-based approach** (used by complex skills) - best for multiple distinct workflows
|
||||
3. **Validation pattern** (used by auditor skills) - best for analysis and checking
|
||||
|
||||
For our insight-to-skill generator, we'll use the **phase-based workflow** pattern because the process is inherently sequential (discover → cluster → design → generate → install), and it aligns with how skill-creator already works, making the user experience consistent.
|
||||
|
||||
|
||||
|
||||
---
|
||||
|
||||
## Skill Design Pattern Selection
|
||||
|
||||
**Skill Design Pattern Selection**
|
||||
|
||||
The research revealed three key patterns for skill creation:
|
||||
1. **Phase-based workflow** (used by skill-creator) - best for linear, multi-step processes
|
||||
2. **Mode-based approach** (used by complex skills) - best for multiple distinct workflows
|
||||
3. **Validation pattern** (used by auditor skills) - best for analysis and checking
|
||||
|
||||
For our insight-to-skill generator, we'll use the **phase-based workflow** pattern because the process is inherently sequential (discover → cluster → design → generate → install), and it aligns with how skill-creator already works, making the user experience consistent.
|
||||
|
||||
|
||||
|
||||
---
|
||||
|
||||
## Skill Design Pattern Selection
|
||||
|
||||
**Skill Design Pattern Selection**
|
||||
|
||||
The research revealed three key patterns for skill creation:
|
||||
1. **Phase-based workflow** (used by skill-creator) - best for linear, multi-step processes
|
||||
2. **Mode-based approach** (used by complex skills) - best for multiple distinct workflows
|
||||
3. **Validation pattern** (used by auditor skills) - best for analysis and checking
|
||||
|
||||
For our insight-to-skill generator, we'll use the **phase-based workflow** pattern because the process is inherently sequential (discover → cluster → design → generate → install), and it aligns with how skill-creator already works, making the user experience consistent.
|
||||
|
||||
|
||||
|
||||
---
|
||||
|
||||
## Skill Design Pattern Selection
|
||||
|
||||
**Skill Design Pattern Selection**
|
||||
|
||||
The research revealed three key patterns for skill creation:
|
||||
1. **Phase-based workflow** (used by skill-creator) - best for linear, multi-step processes
|
||||
2. **Mode-based approach** (used by complex skills) - best for multiple distinct workflows
|
||||
3. **Validation pattern** (used by auditor skills) - best for analysis and checking
|
||||
|
||||
For our insight-to-skill generator, we'll use the **phase-based workflow** pattern because the process is inherently sequential (discover → cluster → design → generate → install), and it aligns with how skill-creator already works, making the user experience consistent.
|
||||
|
||||
|
||||
|
||||
---
|
||||
|
||||
## Skill Design Pattern Selection
|
||||
|
||||
**Skill Design Pattern Selection**
|
||||
|
||||
The research revealed three key patterns for skill creation:
|
||||
1. **Phase-based workflow** (used by skill-creator) - best for linear, multi-step processes
|
||||
2. **Mode-based approach** (used by complex skills) - best for multiple distinct workflows
|
||||
3. **Validation pattern** (used by auditor skills) - best for analysis and checking
|
||||
|
||||
For our insight-to-skill generator, we'll use the **phase-based workflow** pattern because the process is inherently sequential (discover → cluster → design → generate → install), and it aligns with how skill-creator already works, making the user experience consistent.
|
||||
|
||||
|
||||
|
||||
---
|
||||
|
||||
@@ -0,0 +1,169 @@
|
||||
# Configuration Insights - November 16, 2025
|
||||
|
||||
Auto-generated lessons learned from Claude Code Explanatory insights.
|
||||
|
||||
**Session**: 79b654b6-10f8-4c3c-92e1-a3535644366c
|
||||
**Generated**: 2025-11-16 09:57:31
|
||||
|
||||
---
|
||||
|
||||
larity thresholds without editing code
|
||||
2. Add new categories and keywords as their projects evolve
|
||||
3. Customize skill generation patterns for their domain
|
||||
|
||||
This approach follows the "data over code" principle from the skill-creator research, making the skill more maintainable and adaptable.
|
||||
|
||||
|
||||
|
||||
---
|
||||
|
||||
## Configuration-Driven Design Pattern
|
||||
|
||||
**Configuration-Driven Design Pattern**
|
||||
|
||||
Rather than hardcoding clustering logic, we're externalizing it to YAML configuration files. This allows users to:
|
||||
1. Tune similarity thresholds without editing code
|
||||
2. Add new categories and keywords as their projects evolve
|
||||
3. Customize skill generation patterns for their domain
|
||||
|
||||
This approach follows the "data over code" principle from the skill-creator research, making the skill more maintainable and adaptable.
|
||||
|
||||
|
||||
|
||||
---
|
||||
|
||||
## Configuration-Driven Design Pattern
|
||||
|
||||
**Configuration-Driven Design Pattern**
|
||||
|
||||
Rather than hardcoding clustering logic, we're externalizing it to YAML configuration files. This allows users to:
|
||||
1. Tune similarity thresholds without editing code
|
||||
2. Add new categories and keywords as their projects evolve
|
||||
3. Customize skill generation patterns for their domain
|
||||
|
||||
This approach follows the "data over code" principle from the skill-creator research, making the skill more maintainable and adaptable.
|
||||
|
||||
|
||||
|
||||
---
|
||||
|
||||
## Configuration-Driven Design Pattern
|
||||
|
||||
**Configuration-Driven Design Pattern**
|
||||
|
||||
Rather than hardcoding clustering logic, we're externalizing it to YAML configuration files. This allows users to:
|
||||
1. Tune similarity thresholds without editing code
|
||||
2. Add new categories and keywords as their projects evolve
|
||||
3. Customize skill generation patterns for their domain
|
||||
|
||||
This approach follows the "data over code" principle from the skill-creator research, making the skill more maintainable and adaptable.
|
||||
|
||||
|
||||
|
||||
---
|
||||
|
||||
## Template-Based Documentation vs. Executable Logic
|
||||
|
||||
**Template-Based Documentation vs. Executable Logic**
|
||||
|
||||
Notice that our templates use Jinja2-style syntax (`{{ variable }}`), but this is for documentation and reference only. In Claude Code skills, the actual logic is expressed as clear, step-by-step instructions in SKILL.md that I (Claude) interpret and execute. The templates serve as:
|
||||
1. **Consistency guides** - showing expected output structure
|
||||
2. **Reference patterns** - documenting best practices
|
||||
3. **Quality standards** - setting expectations for generated content
|
||||
|
||||
This is different from traditional code generation where templates are programmatically rendered. Here, I read the templates as examples and generate similar output naturally.
|
||||
|
||||
|
||||
|
||||
---
|
||||
|
||||
## Template-Based Documentation vs. Executable Logic
|
||||
|
||||
**Template-Based Documentation vs. Executable Logic**
|
||||
|
||||
Notice that our templates use Jinja2-style syntax (`{{ variable }}`), but this is for documentation and reference only. In Claude Code skills, the actual logic is expressed as clear, step-by-step instructions in SKILL.md that I (Claude) interpret and execute. The templates serve as:
|
||||
1. **Consistency guides** - showing expected output structure
|
||||
2. **Reference patterns** - documenting best practices
|
||||
3. **Quality standards** - setting expectations for generated content
|
||||
|
||||
This is different from traditional code generation where templates are programmatically rendered. Here, I read the templates as examples and generate similar output naturally.
|
||||
|
||||
|
||||
|
||||
---
|
||||
|
||||
## Template-Based Documentation vs. Executable Logic
|
||||
|
||||
**Template-Based Documentation vs. Executable Logic**
|
||||
|
||||
Notice that our templates use Jinja2-style syntax (`{{ variable }}`), but this is for documentation and reference only. In Claude Code skills, the actual logic is expressed as clear, step-by-step instructions in SKILL.md that I (Claude) interpret and execute. The templates serve as:
|
||||
1. **Consistency guides** - showing expected output structure
|
||||
2. **Reference patterns** - documenting best practices
|
||||
3. **Quality standards** - setting expectations for generated content
|
||||
|
||||
This is different from traditional code generation where templates are programmatically rendered. Here, I read the templates as examples and generate similar output naturally.
|
||||
|
||||
|
||||
|
||||
---
|
||||
|
||||
## Template-Based Documentation vs. Executable Logic
|
||||
|
||||
**Template-Based Documentation vs. Executable Logic**
|
||||
|
||||
Notice that our templates use Jinja2-style syntax (`{{ variable }}`), but this is for documentation and reference only. In Claude Code skills, the actual logic is expressed as clear, step-by-step instructions in SKILL.md that I (Claude) interpret and execute. The templates serve as:
|
||||
1. **Consistency guides** - showing expected output structure
|
||||
2. **Reference patterns** - documenting best practices
|
||||
3. **Quality standards** - setting expectations for generated content
|
||||
|
||||
This is different from traditional code generation where templates are programmatically rendered. Here, I read the templates as examples and generate similar output naturally.
|
||||
|
||||
|
||||
|
||||
---
|
||||
|
||||
## Template-Based Documentation vs. Executable Logic
|
||||
|
||||
**Template-Based Documentation vs. Executable Logic**
|
||||
|
||||
Notice that our templates use Jinja2-style syntax (`{{ variable }}`), but this is for documentation and reference only. In Claude Code skills, the actual logic is expressed as clear, step-by-step instructions in SKILL.md that I (Claude) interpret and execute. The templates serve as:
|
||||
1. **Consistency guides** - showing expected output structure
|
||||
2. **Reference patterns** - documenting best practices
|
||||
3. **Quality standards** - setting expectations for generated content
|
||||
|
||||
This is different from traditional code generation where templates are programmatically rendered. Here, I read the templates as examples and generate similar output naturally.
|
||||
|
||||
|
||||
|
||||
---
|
||||
|
||||
## Template-Based Documentation vs. Executable Logic
|
||||
|
||||
**Template-Based Documentation vs. Executable Logic**
|
||||
|
||||
Notice that our templates use Jinja2-style syntax (`{{ variable }}`), but this is for documentation and reference only. In Claude Code skills, the actual logic is expressed as clear, step-by-step instructions in SKILL.md that I (Claude) interpret and execute. The templates serve as:
|
||||
1. **Consistency guides** - showing expected output structure
|
||||
2. **Reference patterns** - documenting best practices
|
||||
3. **Quality standards** - setting expectations for generated content
|
||||
|
||||
This is different from traditional code generation where templates are programmatically rendered. Here, I read the templates as examples and generate similar output naturally.
|
||||
|
||||
|
||||
|
||||
---
|
||||
|
||||
## Template-Based Documentation vs. Executable Logic
|
||||
|
||||
**Template-Based Documentation vs. Executable Logic**
|
||||
|
||||
Notice that our templates use Jinja2-style syntax (`{{ variable }}`), but this is for documentation and reference only. In Claude Code skills, the actual logic is expressed as clear, step-by-step instructions in SKILL.md that I (Claude) interpret and execute. The templates serve as:
|
||||
1. **Consistency guides** - showing expected output structure
|
||||
2. **Reference patterns** - documenting best practices
|
||||
3. **Quality standards** - setting expectations for generated content
|
||||
|
||||
This is different from traditional code generation where templates are programmatically rendered. Here, I read the templates as examples and generate similar output naturally.
|
||||
|
||||
|
||||
|
||||
---
|
||||
|
||||
@@ -0,0 +1,154 @@
|
||||
# Version-control Insights - November 16, 2025
|
||||
|
||||
Auto-generated lessons learned from Claude Code Explanatory insights.
|
||||
|
||||
**Session**: 79b654b6-10f8-4c3c-92e1-a3535644366c
|
||||
**Generated**: 2025-11-16 09:57:31
|
||||
|
||||
---
|
||||
|
||||
valid YAML between `---` delimiters
|
||||
2. **Required fields** - `name` and `description` must be present and valid
|
||||
3. **Name format** - Lowercase kebab-case, max 64 chars
|
||||
4. **Description format** - Max 1024 chars, contains action verbs
|
||||
|
||||
By validating these before even attempting to load the skill, we catch 90%+ of skill loading issues early.
|
||||
|
||||
|
||||
|
||||
---
|
||||
|
||||
## Skill Discovery and Validation
|
||||
|
||||
**Skill Discovery and Validation**
|
||||
|
||||
Claude Code skills are discovered by reading the frontmatter of SKILL.md files. The key validation points are:
|
||||
1. **YAML syntax** - Must be valid YAML between `---` delimiters
|
||||
2. **Required fields** - `name` and `description` must be present and valid
|
||||
3. **Name format** - Lowercase kebab-case, max 64 chars
|
||||
4. **Description format** - Max 1024 chars, contains action verbs
|
||||
|
||||
By validating these before even attempting to load the skill, we catch 90%+ of skill loading issues early.
|
||||
|
||||
|
||||
|
||||
---
|
||||
|
||||
## Skill Discovery and Validation
|
||||
|
||||
**Skill Discovery and Validation**
|
||||
|
||||
Claude Code skills are discovered by reading the frontmatter of SKILL.md files. The key validation points are:
|
||||
1. **YAML syntax** - Must be valid YAML between `---` delimiters
|
||||
2. **Required fields** - `name` and `description` must be present and valid
|
||||
3. **Name format** - Lowercase kebab-case, max 64 chars
|
||||
4. **Description format** - Max 1024 chars, contains action verbs
|
||||
|
||||
By validating these before even attempting to load the skill, we catch 90%+ of skill loading issues early.
|
||||
|
||||
|
||||
|
||||
---
|
||||
|
||||
## Skill as Documentation Pattern
|
||||
|
||||
**Skill as Documentation Pattern**
|
||||
|
||||
Notice that this skill doesn't execute code—it provides comprehensive instructions that I (Claude) interpret. The templates use Jinja2-style syntax for documentation reference, not programmatic rendering. This "skill as documentation" pattern is powerful because:
|
||||
|
||||
1. **Flexibility**: I can adapt instructions to context rather than rigidly executing code
|
||||
2. **Maintainability**: Plain markdown is easier to update than code
|
||||
3. **Clarity**: Users can read SKILL.md to understand exactly what will happen
|
||||
4. **Extensibility**: Easy to add new phases, patterns, or validations
|
||||
|
||||
The configuration files (YAML) provide tunable parameters, while SKILL.md provides the logic I execute. This separation of concerns makes the skill both powerful and maintainable.
|
||||
|
||||
|
||||
|
||||
---
|
||||
|
||||
## Skill as Documentation Pattern
|
||||
|
||||
**Skill as Documentation Pattern**
|
||||
|
||||
Notice that this skill doesn't execute code—it provides comprehensive instructions that I (Claude) interpret. The templates use Jinja2-style syntax for documentation reference, not programmatic rendering. This "skill as documentation" pattern is powerful because:
|
||||
|
||||
1. **Flexibility**: I can adapt instructions to context rather than rigidly executing code
|
||||
2. **Maintainability**: Plain markdown is easier to update than code
|
||||
3. **Clarity**: Users can read SKILL.md to understand exactly what will happen
|
||||
4. **Extensibility**: Easy to add new phases, patterns, or validations
|
||||
|
||||
The configuration files (YAML) provide tunable parameters, while SKILL.md provides the logic I execute. This separation of concerns makes the skill both powerful and maintainable.
|
||||
|
||||
|
||||
|
||||
---
|
||||
|
||||
## Skill as Documentation Pattern
|
||||
|
||||
**Skill as Documentation Pattern**
|
||||
|
||||
Notice that this skill doesn't execute code—it provides comprehensive instructions that I (Claude) interpret. The templates use Jinja2-style syntax for documentation reference, not programmatic rendering. This "skill as documentation" pattern is powerful because:
|
||||
|
||||
1. **Flexibility**: I can adapt instructions to context rather than rigidly executing code
|
||||
2. **Maintainability**: Plain markdown is easier to update than code
|
||||
3. **Clarity**: Users can read SKILL.md to understand exactly what will happen
|
||||
4. **Extensibility**: Easy to add new phases, patterns, or validations
|
||||
|
||||
The configuration files (YAML) provide tunable parameters, while SKILL.md provides the logic I execute. This separation of concerns makes the skill both powerful and maintainable.
|
||||
|
||||
|
||||
|
||||
---
|
||||
|
||||
## Skill as Documentation Pattern
|
||||
|
||||
**Skill as Documentation Pattern**
|
||||
|
||||
Notice that this skill doesn't execute code—it provides comprehensive instructions that I (Claude) interpret. The templates use Jinja2-style syntax for documentation reference, not programmatic rendering. This "skill as documentation" pattern is powerful because:
|
||||
|
||||
1. **Flexibility**: I can adapt instructions to context rather than rigidly executing code
|
||||
2. **Maintainability**: Plain markdown is easier to update than code
|
||||
3. **Clarity**: Users can read SKILL.md to understand exactly what will happen
|
||||
4. **Extensibility**: Easy to add new phases, patterns, or validations
|
||||
|
||||
The configuration files (YAML) provide tunable parameters, while SKILL.md provides the logic I execute. This separation of concerns makes the skill both powerful and maintainable.
|
||||
|
||||
|
||||
|
||||
---
|
||||
|
||||
## Skill as Documentation Pattern
|
||||
|
||||
**Skill as Documentation Pattern**
|
||||
|
||||
Notice that this skill doesn't execute code—it provides comprehensive instructions that I (Claude) interpret. The templates use Jinja2-style syntax for documentation reference, not programmatic rendering. This "skill as documentation" pattern is powerful because:
|
||||
|
||||
1. **Flexibility**: I can adapt instructions to context rather than rigidly executing code
|
||||
2. **Maintainability**: Plain markdown is easier to update than code
|
||||
3. **Clarity**: Users can read SKILL.md to understand exactly what will happen
|
||||
4. **Extensibility**: Easy to add new phases, patterns, or validations
|
||||
|
||||
The configuration files (YAML) provide tunable parameters, while SKILL.md provides the logic I execute. This separation of concerns makes the skill both powerful and maintainable.
|
||||
|
||||
|
||||
|
||||
---
|
||||
|
||||
## Skill as Documentation Pattern
|
||||
|
||||
**Skill as Documentation Pattern**
|
||||
|
||||
Notice that this skill doesn't execute code—it provides comprehensive instructions that I (Claude) interpret. The templates use Jinja2-style syntax for documentation reference, not programmatic rendering. This "skill as documentation" pattern is powerful because:
|
||||
|
||||
1. **Flexibility**: I can adapt instructions to context rather than rigidly executing code
|
||||
2. **Maintainability**: Plain markdown is easier to update than code
|
||||
3. **Clarity**: Users can read SKILL.md to understand exactly what will happen
|
||||
4. **Extensibility**: Easy to add new phases, patterns, or validations
|
||||
|
||||
The configuration files (YAML) provide tunable parameters, while SKILL.md provides the logic I execute. This separation of concerns makes the skill both powerful and maintainable.
|
||||
|
||||
|
||||
|
||||
---
|
||||
|
||||
Reference in New Issue
Block a user