Commit Graph
232 Commits
Author SHA1 Message Date
Janik von Rotz e4a761e8a4 feat(git): add find-git-folder utility and refine ls-git-folder to use .gitmodules, fix checkout-git-folder error message 2026-03-09 14:59:33 +01:00
Janik von Rotz f9d0b8adc2 feat(prompt): update prompt template with clear task instructions and remove redundant markers 2026-03-05 17:45:26 +01:00
Janik von Rotz 5a0923f366 feat(task): implement grouped sections in help-table with centered headers and add optional path parameters to git commands 2026-03-05 09:50:36 +01:00
Janik von Rotz e640a36e69 feat(git): enhance git folder scripts with validation and error handling for missing submodules and existing directories 2026-03-04 10:42:13 +01:00
Janik von Rotz 84f7ebfccb feat(git): add comprehensive git folder management commands and update documentation 2026-03-04 09:36:40 +01:00
Janik von Rotz 793b608732 feat(build-image): add buildkit timeout and plain progress output for better build visibility 2026-03-02 11:31:49 +01:00
Janik von Rotz 0dc78b8bd0 feat(changelog): simplify llm prompt for changelog updates by removing redundant instructions 2026-02-20 11:42:47 +01:00
Janik von Rotz f7733be0d6 feat(prompts): add frontmatter titles to all prompt files for better metadata handling 2026-02-18 19:17:57 +01:00
Janik von Rotz 2c0c6aa093 feat(install): ensure executable permissions on install and task.template during update-template 2026-02-18 16:41:05 +01:00
Janik von Rotz 0a375a90dc feat(install): update install script to sync bin commands and fix script permissions 2026-02-18 16:38:57 +01:00
Janik von Rotz 0e0a4022d7 feat(prompts): update install script to include update-template command and replace outdated prompt file 2026-02-18 16:25:11 +01:00
Janik von Rotz e1b7c517ed feat: restore executable permissions on task.template 2026-02-18 16:20:08 +01:00
Janik von Rotz 93ba433705 feat: rename prompt directory to prompts in init-project script 2026-02-18 10:39:55 +01:00
Janik von Rotz 93c5fe7b1f feat: add setup-completion to help-table and library.md, remove duplicate entry 2026-02-17 16:55:44 +01:00
Janik von Rotz 1158395c0f feat: simplify worklog instruction in prompt.md.template by removing redundant agent prefix 2026-02-17 14:39:10 +01:00
Janik von Rotz 6f93c35033 feat: update create-prompt to accept title as argument and add new prompt file
- Modified create-prompt to accept title as command-line argument instead of interactive input
- Added usage message when title is missing
- Fixed numeric comparison in prompt numbering logic to handle leading zeros correctly
- Added new prompt file 09_add-cluster-and-partner-list-view-to-website-kubectl.md
- Changed task.template permissions from executable to readable (755 → 644)
2026-02-17 13:55:38 +01:00
Janik von Rotz 82619ece68 feat: convert help-table to dynamic width and update AGENTS.md formatting
- Converted help-table function in task.template to use dynamic column widths based on content
- Removed fixed width parameters and implemented logic to calculate maximum widths from table data
- Added new prompt file documenting the conversion from fixed to dynamic width table
- Removed redundant bold formatting in AGENTS.md for consistency with project style
- Updated task.template permissions to executable (755)
2026-02-17 10:28:24 +01:00
Janik von Rotz a3dde7ff83 feat: update prompt.md.template with clearer instructions and agent-specific worklog guidance
- Added instructional note to replace `==` marked sections during task execution
- Updated worklog section to specify "Agent: Fill this in as you work on the task" for clearer ownership
- Removed redundant instruction about replacing `==` sections that was duplicated in the template
2026-02-16 15:06:29 +01:00
Janik von Rotz 05278b3821 feat: refactor create-prompt to use envsubst for template rendering
- Replaced awk-based title replacement with envsubst for cleaner template rendering
- Added PROMPT_TITLE and PROMPT_ID environment variables to template
- Updated prompt.md.template to use $PROMPT_TITLE and $PROMPT_ID variables
- Removed temporary file handling and simplified the template generation process
2026-02-16 14:19:13 +01:00
Janik von Rotz b94484305d feat: rename list-prompt to list-prompts and improve script formatting
- Renamed `bin/list-prompt` to `bin/list-prompts` and updated function name accordingly
- Updated references to `list-prompts` in `library.md`, `task.template`, and `usage.md`
- Added shebang and blank lines for consistency in `create-prompt`, `install-ansible-build-scripts`, and `list-dotenv` scripts
- Fixed table formatting in `usage.md` to use consistent column alignment
2026-02-16 13:59:19 +01:00
Janik von Rotz 8f786f1822 feat: add create-prompt and list-prompt commands for managing prompt files
- Added `create-prompt` command to create new prompt files from template with sequential numbering
- Added `list-prompt` command to display all prompt files in a formatted table
- Added `prompt.md.template` file as base template for new prompts
- Added `prompts/08_add-prompt-commands.md` prompt file documenting the addition of prompt management commands
- Added `create-prompt` and `list-prompt` commands to help table in `task.template`
- Added `create-prompt` and `list-prompt` documentation to `library.md`
- Updated `task.template` to include `create-prompt`, `list-prompt`, and `setup-completion` commands in help table
- Updated `library.md` to include `create-prompt` and `list-prompt` commands in LLM section
2026-02-16 09:05:15 +01:00
Janik von Rotz fc09e848fd feat: enhance shellcheck integration and improve code quality across task files
- Added new prompt file `prompts/07_run-shellcheck-and-fix-issues.md` for shellcheck linting and fixing
- Updated `help()` function in `task`, `task.template`, and `README.md` to use `local grep_pattern` variable for improved readability and maintainability
- Updated `lint()` function in `task` to run `shellcheck` on both `task` and `task.template` files
- Added `export` statements for `BUILDX_PLATFORM`, `CONTAINER_REGISTRY`, `CONTAINER_TAG`, and `DOCKERFILE` variables in `task` script
- Added `# shellcheck disable=SC1090` comment before sourcing files in `task` and `task.template` to suppress shellcheck warnings
- Updated `update-template()` function in `task` to use `local temp_file` declaration before assignment for better variable scoping
- Updated `help()` function in `task.template` to use `help "$@"` instead of `help` when displaying unknown command error
- Removed `disable=SC2059` from `.shellcheckrc` as it's no longer needed after code improvements
2026-02-14 11:36:44 +01:00
Janik von Rotz 7327128503 feat: boostrap completion scripts for task file. 2026-02-12 19:56:16 +01:00
Janik von Rotz e6e2c9a6e5 feat: make task.template executable for better script execution 2026-02-10 20:25:12 +01:00
Janik von Rotz 9e59b8b9da feat: update init-project to use clearer template copy messages and remove unnecessary .env file creation 2026-02-10 14:10:49 +01:00
Janik von Rotz 6998578bc2 feat: add -n flag to cp commands in init-project to prevent overwriting existing files 2026-02-10 14:04:36 +01:00
Janik von Rotz 9a3ea7eda4 feat: add update-changelog-with-llm command to generate changelog entries from git diff using LLM
- Implemented `update-changelog-with-llm` command that analyzes staged git diff and updates CHANGELOG.md using LLM
- Added CHANGELOG.md template for new projects
- Updated init-project script to create CHANGELOG.md from template
- Added documentation for update-changelog-with-llm in library.md
- Added update-changelog-with-llm to help table in task.template
- Enhanced CHANGELOG.md to include new command in release notes
2026-02-10 13:56:10 +01:00
Janik von Rotz 1a403da518 feat: remove outdated prompt session file and rename prompt directory for better organization
- Removed `.prompt/01_built-task-template-from-library_session.md` as it was outdated and no longer needed
- Renamed `.prompt/` directory to `prompts/` for better organization and consistency
- Updated `init-project` script to create `prompt` directory instead of `.prompt`
- Added new prompt files for LLM features: `prompts/03_update-with-llm-path.md` and `prompts/04_add-command-update-changelog-from-git-diff.md`
- Enhanced `update-with-llm` to support reading prompts from files
- Added documentation for `update-with-llm` supporting file paths in `library.md`
- Added `update-changelog-with-llm` command to LLM section in `library.md`
- Added `update-template` command to help table in `task` script
2026-02-10 13:54:30 +01:00
Janik von Rotz 7c6e6e300a feat: add update-template command to synchronize task.template with library.md
- Added `update-template` command that extracts rows from `library.md` and updates `task.template`
- Implemented logic to replace existing rows in `task.template` with current rows from `library.md`
- Added `update-template` to help-table for documentation and discoverability
- Updated `library.md` and `task.template` to include new `update-template` command
- Removed outdated prompt script that was no longer needed
- Ensured all rows from `library.md` are properly synchronized with `task.template`
2026-02-10 12:23:07 +01:00
Janik von Rotz fe6a5c93f7 feat: add emojis to README feature list for visual enhancement
- Added matching emojis to each feature in the README.md feature list
- Updated feature descriptions for consistency and clarity
- Created prompt file to guide future emoji additions to feature lists
- Ensured all feature items now have corresponding visual indicators
2026-02-10 12:07:53 +01:00
Janik von Rotz 18fff62fe3 Change env to dotenv in all scripts 2026-02-08 17:12:24 +01:00
Janik von Rotz 904a69183f feat: add update-template command to synchronize task.template with library.md
- Added `update-template` command that extracts rows from `library.md` and updates `task.template`
- Implemented logic to replace existing rows in `task.template` with current rows from `library.md`
- Added `update-template` to help-table for documentation and discoverability
- Updated `library.md` to use consistent terminology (dotenv instead of env)
- Removed outdated prompt script that was no longer needed
- Ensured all rows from `library.md` are properly synchronized with `task.template`
2026-02-08 16:40:16 +01:00
Janik von Rotz a27e78af51 feat: add project initialization script and template files with dynamic help table
- Added `init-project` script to setup new taskfile projects with templates
- Created `.gitignore.template` and `AGENTS.md.template` for standardized project setup
- Implemented dynamic help table generation in `help-table` function
- Updated `library.md` and `task.template` to include new `init-project` command
- Added `init-project` to taskfile help documentation
- Improved AGENTS.md with comprehensive coding conventions and agent guidance
2026-02-06 16:29:51 +01:00
Janik von Rotz e4eaab9519 feat: wrap scripts in functions for better modularity and reusability 2026-02-05 17:31:59 +01:00
Janik von Rotz 7682c642ed feat: rename bin script 2026-02-05 17:25:11 +01:00
Janik von Rotz bb2652d26d feat: add scripts from my dotfiles 2026-02-05 17:22:17 +01:00
Janik von Rotz befed194b9 feat(dotenv): enhance list-dotenv with relative path display and improved type classification
- Added relative path column to display .env file locations relative to current directory
- Implemented relative-path helper function with fallback for systems without realpath
- Updated type classification to use lowercase consistently (project, template, nextcloud, upgrade)
- Improved table formatting with proper column widths and separators
- Fixed type detection logic to properly handle template files in both directories
- Added path column to both TASK_DOTENV_DIR and current directory file listings
2026-01-27 09:15:52 +01:00
Janik von Rotz f66d0cc2cb feat(dotenv): rename env utilities to dotenv and enhance list-dotenv with project files
- Renamed all env-related scripts to use dotenv naming convention (copy-env → copy-dotenv, create-env → create-dotenv, etc.)
- Updated documentation in library.md and task.template to reflect new script names and .env file references
- Enhanced list-dotenv to also display .env.* files in current directory with type classification (Project/Template)
- Added new show-dotenv-setup script to display KeePass/Pass entry details
- Removed deprecated show-env script in favor of show-dotenv
- Updated install script to reflect renamed scripts and added show-dotenv-setup
- Improved consistency in output messages (e.g., "Init .env file" instead of "Init env file")
2026-01-27 09:09:35 +01:00
Janik von Rotz 28817b1eb6 feat(script): add kubeconfig utilities and enhance branch-specific env handling
- Added new scripts for loading and saving kubeconfig from Keepass and Pass
- Introduced log-error and log-success utilities for consistent logging
- Enhanced init-venv to create branch-specific virtual environments
- Added pattern for loading branch-specific .env files based on current git branch
- Improved error messages with proper quoting and formatting
- Updated patterns.md to document branch-specific environment handling
2026-01-23 12:56:44 +01:00
Janik von Rotz 464cb5cbad feat(ci): refactor build-and-deploy workflow with consistent formatting and dynamic dotenv handling
- Standardized YAML indentation and quoting in build-and-deploy workflow
- Enhanced dotenv scripts to support custom .env file paths and dynamic entry naming based on project and branch
- Added new `show-dotenv` utility to display dotenv configuration details
- Updated documentation to reflect dynamic entry resolution and new command options
- Fixed minor typos and improved consistency in patterns.md and library.md
2026-01-16 11:31:05 +01:00
Janik von Rotz da299d1775 feat(task): add Kubernetes and Ansible helper functions to task template 2026-01-12 16:49:59 +01:00
Janik von Rotz e3e3adff16 vault backup: 2026-01-07 17:31:24 2026-01-07 17:31:24 +01:00
Janik von Rotz 0d4d2b95a0 feat(ci): simplify kubectl installation and improve formatting in build-and-deploy workflow 2026-01-07 15:08:34 +01:00
Janik von Rotz c06476cdc6 feat(ci): simplify kubectl installation command in build-and-deploy workflow 2026-01-07 14:59:18 +01:00
Janik von Rotz 646e53655b feat(ci): refactor build-and-deploy workflow with improved formatting and kubectl installation 2026-01-07 14:58:33 +01:00
Janik von Rotz f1e5c049b2 feat(ci): rename build workflow to build-and-deploy and add Kubernetes deployment job 2026-01-06 14:21:58 +01:00
Janik von Rotz 0dca40c4ec feat(kubeconfig): document save and load functions for pass and keepass 2026-01-06 10:35:39 +01:00
Janik von Rotz f15daa9267 feat(kubeconfig): add scripts to load and save kubeconfig from keepass and pass 2026-01-06 09:53:23 +01:00
Janik von Rotz 7d6be0d982 feat(patterns): add command availability checks for grep and envsubst 2025-12-17 13:59:15 +01:00
Janik von Rotz 21d9d62cf8 fix(keepass): validate database files and improve error handling in get-pass-from-keepass and save-pass-to-keepass 2025-12-08 12:43:58 +01:00