Repository navigation
Templates & Checklists: merged checklists and templates - #2
Merged
Merged
Conversation
…tion Merge the old tarf.co.uk checklists with the newer technical-documentation guidelines into one set of task-list checklists (ready, done, architecture, design, code review, debugging, defect reports), and the EngineeringProcess templates into one set of templates. Add an arc42-style architecture outline with C4 starters, the arc42 architecture canvases, a new commit-msg hook and the YAML templates as downloadable files under content/templates/files/. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.
Moves the templates and checklists into
content/templates/(documenttemplates): one merged set of checklists, written as task lists, and one set of templates. The files that tools read are incontent/templates/files/.The section doesn't appear on either site at the moment, and that's true on
maintoo. MkDocs always excludes a top-leveltemplates/folder fromdocs_dir(its built-inexclude_docsdefault is.*plus/templates/), sosite/docs/templates/is written but never built. That's why there's nosite/build/templates/, and no warning either. I tested this fix locally and then reverted it, becausesite/mkdocs.ymlis outside my scope:With this line,
py-doc site buildmakestemplates/on both sites. All internal links and diagrams resolve, and the home page shows the card. The other way round it would be to rename the document key (for example tochecklists), which changes the URLs.Checks
py-doc lint content/templates --strict: 0 warnings or errors (Vale 3.15.2, en-GB). 200 info notes remain, mostly passive voice and the checklist ID prefixes (see acronyms below).py-doc build templates:build/templates.docxandbuild/templates.pdf, 40 pages, every figure and table captioned. Checklists come out as ☐ bullets in Word and PDF.py-doc site build: succeeds. With theexclude_docsline above, the section is on both sites.py-doc c4 checkonfiles/c4-workspace.dsl: 0 errors. Thecommit-msghook was tested against valid and invalid headers, merge/fixup commits andREQUIRE_REFS.Provenance
index.mddefinition-of-ready.mdTemplates/src/Checklists/dor.md+ technical-documentationdocs/guidelines/GU-004-definition_of_ready_guide.mddefinition-of-done.mdChecklists/dod.md+GU-003-definition_of_done_guide.mdarchitecture-review-checklist.mdChecklists/architectureChecklist.md+GU-018-architecture_review_checklist.md(process, rubric, review record)design-review-checklist.mdChecklists/designChecklist.md+GU-001-design_checklist_guide.mdcode-review-checklist.mdChecklists/codeReview.md(incl. its defensive-coding list, which GU-002 had dropped) +GU-002-code_review_checklist.mddebugging-checklist.mdChecklists/debugging.md+GU-021-defect_management_and_debugging.md§3defect-report-checklist.mdChecklists/defects.md(creation and resolution rules) +GU-021§1–2 (report template, example, severity and priority)adr.mddocs/templates-reference/adr.md+GU-005template fields + Example-RepoC4/adrs/0001-record-architecture-decisions.md(its Nygard link, updated)rfc.mdtemplates-reference/rfc.md+GU-006template fieldsrequirements.mdtemplates-reference/requirement.yaml+templates-reference/nfr-scenario.mdinterface-specification.mdtemplates-reference/interface-specification.md(condensed)architecture-document.mddocs/Project/Architecture(arc42), rewritten as an outline in my own words with links to arc42; new C4-PlantUML and Structurizr starters replacingtechnical-documentation/templates/*.pumlarchitecture-canvases.mddocs/Project/Communicationanddocs/Project/Inceptionexperiment-record.mdtemplates-reference/experiment-record.mdpostmortem.mdtemplates-reference/postmortem.md+GU-021§4 (five whys, fishbone, blameless template)pull-request-and-commits.mdtemplates-reference/pull-request-template.md+ Example-RepoREADME.md(Conventional Commits) and.githooks/commit-msgagent-task-brief.mdtemplates-reference/agent-task-brief.mdproduct-conformance-profile.mdtemplates-reference/product-conformance-profile.md+templates-reference/component-register.yamlfiles/requirement.yaml,files/component-register.yamltemplates-reference/(comments and alicencefield added)files/commit-msgshhook, replacing Example-Repo's bash hookfiles/c4-workspace.dslfiles/architecture-*-canvas.{drawio,pptx}asdflabel removed from the communication canvasfiles/NOTICEDropped, and why
Checklists/media/image1.jpg): it's someone else's drawing.defects.md(media/image2-4.png, the "Bug Severity vs Priority" text and the LambdaTest link): copied from a vendor blog. It's replaced by my own severity and priority tables, based on GU-021.defects.md: replaced by GU-021's embedded example, rewritten.Architecture/template.mdand01–12_*.md, the arc42 images): it's the arc42 authors' text. It's replaced by a summary of the 12 sections in my own words, with links to arc42.org and docs.arc42.org.technical-documentation/templates/C4*.puml: vendored copies of the C4-PlantUML library (v2.13.0), not starter files. PlantUML's standard library includes C4, so the starters use!include <C4/...>.Template-version_git.docx,Template.pptx: Word/PowerPoint styles for the old build. py-doc has its own.C4/workspace.dslandC4/docs: Simon Brown's Financial Risk System kata, not ours. A new starter workspace replaces it.ACC.md(Marp's sample deck),Overview*,SolutionArchitectureGuide.pptx,media/,Untitled diagram*,example.bpmn: not templates. They're out of scope for this section and left for whoever reviews the archive.JIRA-n|NO-JIRArequirement: replaced by an optionalRefs:trailer (REQUIRE_REFS=1), which matches the PR template.Old URLs to redirect
For
plugins.redirects.redirect_mapsinsite/mkdocs.yml(paths relative todocs_dir):markbac.github.io/EngineeringProcess/templates-reference/… is served by the EngineeringProcess repo's own Pages site, so redirects here only take effect once that site is switched off:
technical-documentation is private, and as far as I can tell it had no public URLs.
Acronyms for
lint.acronyms.allowedOptional, since they only show up as info. They'd cut the noise: the checklist ID prefixes
ARC, SD, DBG, DC, DR, TST, SEC, DoR, DoD, plusRTOS, DMA, EEPROM, DSL, LED, IEC, ISO, MIT, AMQP, XML, POSIX.Open questions for Mark
exclude_docsline (above): add it tosite/mkdocs.yml, or rename the document so the URL isn't/templates/?https://github.com/markbac/markbac.github.io/raw/main/content/templates/files/…, because py-doc only copies pictures onto the site, not other files a page links. They work once this is merged, and on both sites. Should py-doc copy linked non-picture files (a py-doc change), or are raw GitHub links fine?files/NOTICE), or would you rather only link to canvas.arc42.org?🤖 Generated with Claude Code