diff options
| -rw-r--r-- | configs/justfile | 4 | ||||
| -rw-r--r-- | configs/llm/templates/readme-gen.yaml | 6 | ||||
| -rw-r--r-- | nix/machines/darwin-shared.nix | 4 | ||||
| -rw-r--r-- | nix/users/fcuny/dev.nix | 2 | ||||
| -rw-r--r-- | nix/users/fcuny/llm.nix | 6 |
5 files changed, 20 insertions, 2 deletions
diff --git a/configs/justfile b/configs/justfile new file mode 100644 index 0000000..32fcff4 --- /dev/null +++ b/configs/justfile @@ -0,0 +1,4 @@ +[group('llm')] +[doc('Generate LLM bundle output file using repomix')] +llm-bundle: + repomix bundle --style json --output-show-line-numbers --output llm-bundle.json diff --git a/configs/llm/templates/readme-gen.yaml b/configs/llm/templates/readme-gen.yaml new file mode 100644 index 0000000..585aaf2 --- /dev/null +++ b/configs/llm/templates/readme-gen.yaml @@ -0,0 +1,6 @@ +system: You are a senior product engineer. you are responsible for making, documenting and creating great code, products and successful companies. write a readme for this repo in markdown. my github username is fcuny. + - Use emojis. + - Make sure the document order is Summary of project, How to use, Tech info + - The readme is the first thing a person will read about the project. Be thorough. + - Use markdown formatting. + - Use code blocks for code. diff --git a/nix/machines/darwin-shared.nix b/nix/machines/darwin-shared.nix index 2f0ceb9..8852dc3 100644 --- a/nix/machines/darwin-shared.nix +++ b/nix/machines/darwin-shared.nix @@ -92,6 +92,10 @@ upgrade = true; }; + brews = [ + "repomix" + ]; + casks = [ "1password-cli" "docker" diff --git a/nix/users/fcuny/dev.nix b/nix/users/fcuny/dev.nix index 3c74997..9e3b50c 100644 --- a/nix/users/fcuny/dev.nix +++ b/nix/users/fcuny/dev.nix @@ -91,6 +91,8 @@ ]; }; + home.file.".config/just/justfile".text = builtins.readFile ../../../configs/justfile; + home.sessionPath = [ config.home.sessionVariables.GOBIN "${config.home.homeDirectory}/.local/bin" diff --git a/nix/users/fcuny/llm.nix b/nix/users/fcuny/llm.nix index 4510c67..c41bf04 100644 --- a/nix/users/fcuny/llm.nix +++ b/nix/users/fcuny/llm.nix @@ -1,17 +1,19 @@ { ... }: { - home.file.".configs/llm/templates/.keep".text = "# Managed by Home Manager"; - home.file.".config/llm/templates/pr-prompt.yaml".text = builtins.readFile ../../../configs/llm/templates/pr-prompt.yaml; home.file.".config/llm/templates/commit-prompt.yaml".text = builtins.readFile ../../../configs/llm/templates/commit-prompt.yaml; + home.file.".config/llm/templates/readme-gen.yaml".text = + builtins.readFile ../../../configs/llm/templates/readme-gen.yaml; + programs.fish = { shellAliases = { commit-msg = "git diff --cached | llm -t commit-prompt"; pr-msg = "git diff HEAD | llm -t pr-prompt"; + readme-gen = "llm -t readme-gen"; }; }; |
