| name | get-chapter-prompts |
| description | This skill covers the generation of chapter prompts for documentation. Trigger: When integrating shared system prompts in documentation workflows.
|
| license | Apache-2.0 |
| metadata | {"author":"repoforge","version":"1.0","complexity":"low","token_estimate":250,"dependencies":[],"related_skills":[],"load_priority":"high"} |
get-chapter-prompts
This skill covers the generation of chapter prompts for documentation.
Trigger: When integrating shared system prompts in documentation workflows.
Quick Reference
| Task | Pattern |
|---|
| Generate index prompt | index_prompt |
| Generate overview prompt | overview_prompt |
Critical Patterns (Summary)
- Generate index prompt: Use
index_prompt to create an index for documentation.
- Generate overview prompt: Use
overview_prompt to provide an overview of the documentation.
Critical Patterns (Detailed)
Generate index prompt
Use index_prompt to create an index for documentation, ensuring all chapters are listed.
from repoforge.docs_prompts import index_prompt
index = index_prompt()
Generate overview prompt
Use overview_prompt to provide an overview of the documentation, summarizing key points.
from repoforge.docs_prompts import overview_prompt
overview = overview_prompt()
When to Use
- When creating structured documentation for a project.
- When needing to summarize key sections of documentation for quick reference.
Commands
python repoforge/cli.py generate-docs
Anti-Patterns
Don't: Hardcode prompts
Hardcoding prompts reduces flexibility and maintainability of documentation.
index = "1. Introduction\n2. Overview\n3. Conclusion"