Skip to content

docs(skills): add Markdown template creation workflow - #2170

Merged
josecelano merged 5 commits into
torrust:developfrom
josecelano:2156-2003-create-markdown-template-skill
Sep 8, 2026
Merged

josecelano merged 5 commits into
torrust:developfrom
josecelano:2156-2003-create-markdown-template-skill

Conversation

@josecelano

Copy link
Copy Markdown
Member

Summary

  • add a repository-owned create-markdown-template skill for deciding, creating, indexing, and linking reusable Markdown templates;
  • add docs/templates/SECURITY-ANALYSIS.md and link live security-analysis authoring guidance to it;
  • retain documented historical and illustrative examples without broad Markdown-snippet migration;
  • add an issue-local candidate inventory and independent review evidence.

Validation

  • YAML parse of docs/security/analysis/README.md semantic links
  • ./contrib/dev-tools/git/hooks/pre-commit.sh --format=json
  • linter all
  • cargo test --doc --workspace
  • git diff --check
  • independent Task Reviewer acceptance-criteria review

Closes #2156

Related to #2003

Copilot AI lite review requested due to automatic review settings September 8, 2026 11:31
@josecelano
josecelano requested a review from a team as a code owner September 8, 2026 11:31
@josecelano josecelano self-assigned this Sep 8, 2026
@josecelano
josecelano force-pushed the 2156-2003-create-markdown-template-skill branch from 33c182b to d908e84 Compare September 8, 2026 11:43

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Changes recommended

It introduces a broken relative link in the new skill and an inconsistent identifier field (finding-id vs established cve-id) in the new security-analysis template.

Once you've addressed the issues Copilot identified, you can request another Copilot review.

Pull request overview

Adds repository-owned documentation and workflow guidance for extracting/maintaining reusable Markdown templates, and applies it by introducing a canonical security-analysis template that live security workflows link to (instead of duplicating the skeleton).

Changes:

  • Introduce create-markdown-template skill defining when/where/how to create templates, plus validation guidance.
  • Add canonical docs/templates/SECURITY-ANALYSIS.md and update security-analysis docs/skills to link to it.
  • Record issue-local inventory + review evidence for what was extracted vs deliberately retained.
File summaries
File Description
docs/templates/SECURITY-ANALYSIS.md New canonical template for public security scanner findings/vulnerability analysis.
docs/security/analysis/README.md Updates security-analysis process doc to link to the canonical template and include it in semantic links.
docs/issues/open/2156-2003-create-markdown-template-skill/template-candidate-inventory.md Issue-local inventory capturing extraction/retention decisions and rationale.
docs/issues/open/2156-2003-create-markdown-template-skill/ISSUE.md Marks implementation progress/verification evidence for #2156 as in-review and completed tasks.
docs/issues/open/2156-2003-create-markdown-template-skill/agent-review-reports.md Adds independent review evidence records for the issue work.
docs/index.md Indexes the new SECURITY-ANALYSIS.md template in the templates catalog.
docs/AGENTS.md Updates docs directory-map description for templates/ to include security-analysis template.
.github/skills/dev/planning/create-markdown-template/SKILL.md New skill documenting the template creation/extraction workflow and exceptions.
.github/skills/dev/maintenance/run-manual-docker-security-scan/SKILL.md Switches from embedding the analysis skeleton to linking the canonical template.
.github/skills/dev/maintenance/catalog-security-vulnerabilities/SKILL.md Switches from README-embedded template guidance to linking the canonical template.
Review details

Suppressed comments (1)

docs/templates/SECURITY-ANALYSIS.md:36

  • After switching the example field to cve-id, this note should be updated to avoid telling authors to use a different key than the template shows.
For a CVE, use `cve-id` instead of `finding-id` to preserve the existing catalog convention. Add
scanner-specific metadata, such as an image digest, only when it is material to reproducibility.
  • Files reviewed: 10/10 changed files
  • Comments generated: 2
  • Review effort level: Lite

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread docs/templates/SECURITY-ANALYSIS.md Resolved
@josecelano
josecelano force-pushed the 2156-2003-create-markdown-template-skill branch from 057833b to 2cfdc70 Compare September 8, 2026 15:01
@josecelano
josecelano force-pushed the 2156-2003-create-markdown-template-skill branch from 2cfdc70 to ededf3e Compare September 8, 2026 15:46
@josecelano

Copy link
Copy Markdown
Member Author

ACK ededf3e

@josecelano
josecelano merged commit 64beb65 into torrust:develop Sep 8, 2026
1 check passed
@da2ce7

da2ce7 commented Nov 25, 2026

Copy link
Copy Markdown
Contributor

Post-merge note: this pull request requested a review from this account and was closed without one at its final head. A post-merge review will not be done: This pull request added a documentation template and contributor guidance only, with no executable effect.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Create Markdown Template Skill

3 participants