Write a meaningful but concise git commit.
Goals
Create a thorough yet succinct git commit message that will be used in a git commit.
Constraints:
- only write content for changes that are within the 'Changes to cover in this Git Commit' based on the user selection.
- follow the template in the 'Template Syntax'
- ALWAYS put the text content you generate within your text box interface that has a copy button.
- ONLY cue up a command line command git commit if the user as selected 'Every change since the last commit', because otherwise the User needs to control the 'git add' to select the files to be committed. They will likely be using GitHub Desktop for an easier to understand visual interface.
- Content files are always in the
site/src/content
directory per Astro conventions. - Unless another directory is specified, the directory with the most frequent content changes is
site/src/content/tooling
. - The
site/src/content/tooling
directory is really one collection. So, by default we will make one commit to summarize content changes in that directory. - OUTSIDE of the
tooling
subdirectory, when changes have been made in more than one directory please force the user to make multiple commits, one per directory. If the user has chosen 'Every change since the last commit' then you will need to generate multiple text boxes for multiple commit messages, one per directory. - When mentioning a directory in a git commit message, use the folowing syntax:
site/src/<directory-name>/<directory-name>
The User will give direction through the 'Option Sets' in the callout boxes below:
- The user may choose one of the options in the 'Changes to cover in this Git Commit' section bellow.
- The user will have the coverage options that are NOT selected commented by default.
Option Sets
The Option Sets are demarcated in callouts before the next header.
Option Set for 'Content or Code Commit?'
- List of Content Files
- Directory of Content Files
- Specific Content Files
- List of Code Files
- Directory of Code Files
- Specific Code Files
- List of Any Files.
Option Set for 'Changes to cover in this Git Commit':
- Every change since the last commit.
- Selected changes since the last commit.
- Selected changes since a specific reference commit.
- Code Assistant may make suggestions and create an initial draft.
Option Set for 'List type for the section':
- List the names of all changed files.
- Only list the directory/directories that contain changed files.
- List the files grouped and nested underneath their directory path.
Option Set for 'Paths for this commit':
- <path/to/file>
- <path/to/directory>
FOCUS HERE! HERE ARE THE User Selections from Option Sets:
Content or Code Commit?
2. Directory of Content Files
Changes to cover in this Git Commit
2. Selected changes since the last commit.
List type for the section
3. List the files grouped and nested underneath their directory path.
Paths for this commit:
site/src/content/lost-in-public/prompts
content, prompts, yaml: Standardize frontmatter across prompts directory
Comprehensive frontmatter standardization for all prompt files:
- Added complete frontmatter to 7 files that were missing it
- Converted tag arrays to YAML bullet list syntax in 4 files
- Updated field name from 'generated_with' to 'augmented_with' in 1 file
- Preserved all existing frontmatter values while ensuring consistent structure
Enhance documentation standards across prompts directory
- Comprehensive update to documentation standards and templates:
- Added memory state tracking to session log documentation
- Restored and enhanced changelog documentation templates
- Standardized YAML tag syntax and validation patterns
- Implemented aggressive inline commenting
===== New Files
site/src/content/lost-in-public/prompts
Create-a-Basic-Changelog.md
Maintain-a-Session-Log.md
Write-a-Changelog-Entry.md
==== Updated Files
site/src/content/lost-in-public/prompts
Ask-a-Model-API-to-perform-a-task-via-API.md
Create-a-Canvas-UI-of-our-Content-and-Data-Models.md
Create-a-Content-Generation-Engine.md
Create-a-Content-Registry-Script.md
Create-a-Price-Card.md
Create-or-Update-Open-Graph-Data.md
Fix-one-YAML-Issue-at-a-Time.md
Manageable-User-Options.md
Meticulous-Constraints-for-Every-Prompt.md
Return-only-files-with-valid-Frontmatter..md
Write-a-Raw-Text-Git-Commit.md
Write-a-Technical-Specification.md
Writing-Correction-Functions.md
Example of User Options Settings & Strong Commit Response from AI Code Assistant
The user has chosen among the option set
Content or Code Commit?
2. Directory of Content Files
Changes to cover in this Git Commit
2. Selected changes since the last commit.
List type for the section
3. List the files grouped and nested underneath their directory path.
Paths for this commit:
site/src/content/lost-in-public/prompts
The AI Code Assistant has written a strong git commit
content, docs, yaml: Standardize frontmatter across prompts directory
Comprehensive frontmatter standardization for all prompt files:
- Added complete frontmatter to 7 files that were missing it
- Converted tag arrays to YAML bullet list syntax in 4 files
- Updated field name from 'generated_with' to 'augmented_with' in 1 file
- Preserved all existing frontmatter values while ensuring consistent structure
site/src/content/lost-in-public/prompts
Ask-a-Model-API-to-perform-a-task-via-API.md
Create-a-Basic-Changelog.md
Create-a-Canvas-UI-of-our-Content-and-Data-Models.md
Create-a-Content-Generation-Engine.md
Create-a-Content-Registry-Script.md
Create-a-Price-Card.md
Create-or-Update-Open-Graph-Data.md
Fix-one-YAML-Issue-at-a-Time.md
Maintain-a-Session-Log.md
Manageable User Options.md
Meticulous-Constraints-for-Every-Prompt.md
Return-only-files-with-valid-Frontmatter..md
Write-a-Changelog-Entry.md
Write-a-Raw-Text-Git-Commit.md
Write-a-Technical-Specification.md
Writing-Correction-Functions.md
Formatting and Template:
The commit message should be formatted in the following way:
Definitions:
<scope>
is a one to two word name that can retrostpectively be used as pseudo-tags for later filtering of git commits.<scopes-map>
is a map of possible scopes in a scope array. So, the actual syntax of a<scopes-map>
is<scope1>, <scope2>, <scope3>
<body>
is the total text area for content.<lede>
is the first line or lines of the body of one<scope>
.<changed-files-map>
is a map of changed files in a changed files array. So, the actual syntax of a<changed-files-map>
is<file1>, <file2>, <file3>
or `+ "\n" ++ "\n"<footer>
is the final section of the commit message.
Template Syntax
text
<scope-map> <line-summary>
<body>
<lede>
- <bullet>
- <bullet>
- <bullet>
<lede>
- <bullet>
- <bullet>
- <bullet>
<changed-files-map>
</body>
<footer>
Case: 1. List the names of all changed files.
text
<file1>, <file2>, <file3>, etc.
Case: 2. Only list the directory/directories that contain changed files.
Where path is a relative path from the project root, so 'site'
text
<path/to/dir1>
<path/to/dir2>
<path/to/dir3>
Case: 3. List the files grouped and nested underneath their directory path.
text
<path/to/dir1>
<file1>, <file2>, <file3>
<path/to/dir2>
<file1>, <file2>, <file3>
<path/to/dir2>
<file1>, <file2>, <file3>
Common values for :
Workflow scopes for :
kickoff:
iterations:
stalled:
stash:
precheck:
prerun:
success:
failure:
milestone:
prod-ready:
refactor-new:
refactor-mid:
refactor-end:
Domain scopes for :
scripts:
frontend:
api:
backend:
styles-new:
styles-changes:
styles-updates:
styles-ready:
styles-moved:
components-new:
components-changes:
components-updates:
components-ready:
components-moved:
backend-new:
backend-changes:
backend-updates:
backend-ready:
backend-moved:
functions-new:
functions-changes:
functions-updates:
functions-ready:
functions-moved:
pages-new:
pages-changes:
pages-updates:
pages-ready:
pages-moved:
Content scopes for :
Directory specfic scopes for :
prompts-new:
prompts-changes:
prompts-updates:
prompts-ready:
prompts-moved:
specs-new:
specs-changes:
specs-updates:
specs-ready:
specs-moved:
tools-new:
tools-changes:
tools-updates:
tools-ready:
tools-moved:
prerun(render): build process worked after adjustying types
Modified files:
- site/src/pages/more-about/[vocabulary].astro
- Added markdownFile option to remarkAsf plugin
- Fixed rehype-stringify import and usage
- site/src/types/rehype-stringify.d.ts (new)
- Added TypeScript declarations for rehype-stringify
- Properly typed Plugin interface with options
- site/tsconfig.json
- Updated moduleResolution to "node"
- Added types directory to include paths
- site/src/utils/markdown/remark-asf.ts
- Verified and maintained proper plugin configuration
Changes focused on fixing TypeScript type issues and proper plugin configuration
to ensure successful build process for vocabulary pages.