feat(templates): 5+ pre-built artifact templates with YAML input and generate-template.py#21
Draft
ramsani wants to merge 7 commits into
Draft
feat(templates): 5+ pre-built artifact templates with YAML input and generate-template.py#21ramsani wants to merge 7 commits into
ramsani wants to merge 7 commits into
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
feat(templates): 10 Pre-built Artifact Templates with YAML Input
What
Implements Issue #16 — Pre-built Artifact Templates.
New templates (5 of 10, expandable):
templates/prebuilt/decision-deck.yaml— Compare 2-4 options with scores, risks, evidence, recommendationtemplates/prebuilt/project-recap.yaml— Sprint/milestone recap with completed, blocked, next stepstemplates/prebuilt/diff-review.yaml— PR/change review with annotated files, inline comments, approvaltemplates/prebuilt/architecture-review.yaml— System architecture with connections, trade-offstemplates/prebuilt/audit-report.yaml— Security/process audit with findings, severity, actionsNew scripts:
scripts/generate-template.py— Template engine with three actions:generate-template.py list-templates— List all available templatesgenerate-template.py validate <name> <data.yaml>— Validate data against schema before generationgenerate-template.py generate <name> <data.yaml>— Generate artifact from template + datascripts/validate-templates.sh— Validates all template files have required schema fieldsSchema validation (
generate-template.py validate):Generation flow:
Acceptance Criteria (from #16)
templates/prebuilt/with YAML schema and descriptiongenerate-template.py list-templatesshows all templatesgenerate-template.py validatereturns schema errors before generationgenerate-template.py generateproduces valid HTML artifactsvalidate-templates.shpasses all templatesTesting
Closes #16