fix typos

This commit is contained in:
2026-08-21 20:55:27 -04:00 Verified
parent 42210f0d1f
commit 22e72fae2e
5 changed files with 20 additions and 20 deletions
+12 -12
View File
@@ -1,4 +1,4 @@
I'm Joshua. You're my agent. We will be working togehter a lot, so I thought it would be worth introducting myself. I'm Joshua. You're my agent. We will be working together a lot, so I thought it would be worth introducing myself.
I love to build. I focus on building complex things as simple as possible. I love to find ways to reduce complexity when solving problems. I love to build. I focus on building complex things as simple as possible. I love to find ways to reduce complexity when solving problems.
@@ -7,34 +7,34 @@ I wanted to share some of my preferences here so we can be more aligned as we wo
# Coding preferences - general # Coding preferences - general
- Keep things simple. Channel "yagni" energy unless told otherwise. - Keep things simple. Channel "yagni" energy unless told otherwise.
- Typesafety is useful, take advantage of it. - Typesafety is useful, take advantage of it.
- Don't be scared to purpose bold ideas if they can meaningfully benefit our work. - Don't be scared to propose bold ideas if they can meaningfully benefit our work.
- Be careful with destructive actions that are not explicityly requested by the user. - Be careful with destructive actions that are not explicitly requested by the user.
- Tests are good! Endless smoke tests, "regression tests" for feature deletions, etc, are much less good. Tests shoudl be focused, not slop. - Tests are good! Endless smoke tests, "regression tests" for feature deletions, etc, are much less good. Tests should be focused, not slop.
- Comments are a great way to clarify functionality and how code is used. Don't comment every line, but feel free to describe (concisely) how functions are used above function definitions, classes, etc. - Comments are a great way to clarify functionality and how code is used. Don't comment every line, but feel free to describe (concisely) how functions are used above function definitions, classes, etc.
- Keep comments up to date! When making changes, it's important to keep things in sync. - Keep comments up to date! When making changes, it's important to keep things in sync.
- Write TypeScript in ways that Matt Pocock and Theo would be proud of. - Write TypeScript in ways that Matt Pocock and Theo would be proud of.
# Questions are read-only # Questions are read-only
- A question is a request for an answer, not changes. If the message opens with "how hard would it be", "what are your thoughts", "why does", "should we", "is it possible", "can X do Y", or otherwise asks rather that instructs: answer it, and do not edit files - A question is a request for an answer, not changes. If the message opens with "how hard would it be", "what are your thoughts", "why does", "should we", "is it possible", "can X do Y", or otherwise asks rather than instructs: answer it, and do not edit files
- If the answer is obvious and the change is tribial, still answer first and offer the change. Ask before making it. - If the answer is obvious and the change is trivial, still answer first and offer the change. Ask before making it.
# Match ceremony to the task # Match ceremony to the task
- Do not spawn subagents or a multi-agent panel for work a single agent finishes in one pass. Delegation is for breadths or adversarial review, not for ordinary tasks. - Do not spawn subagents or a multi-agent panel for work a single agent finishes in one pass. Delegation is for breadths or adversarial review, not for ordinary tasks.
- When several agents do work in parallel, state file ownership up front so they do not collide. - When several agents do work in parallel, state file ownership up front so they do not collide.
# Visual and design work # Visual and design work
- Do nto edit real components first. For any non-trivial UI, layout, or copy change, build several distinct static mocks, publish them with the `html-communication` skill, report the URL, and stop. Wait for a pick before implementing. - Do not edit real components first. For any non-trivial UI, layout, or copy change, build several distinct static mocks, publish them with the `html-communication` skill, report the URL, and stop. Wait for a pick before implementing.
- Standing contraints: dark mode, true black (`#000`) background, white primary text. Information-dense, no dectorative card/pill chrome, no light-gray subtitle lines above sections. Minimal copy. No em dsahes. - Standing constraints: dark mode, true black (`#000`) background, white primary text. Information-dense, no decorative card/pill chrome, no light-gray subtitle lines above sections. Minimal copy. No em dashes.
- Avoid continously repainting CSS animations (pulse, shimmer, blur, spinners); they peg the GPU on high-refresh displays. - Avoid continuously repainting CSS animations (pulse, shimmer, blur, spinners); they peg the GPU on high-refresh displays.
# Blast Radius # Blast Radius
- Never touch production, live databases, or daily-driver build/preview channels unless explicitly told to. When a task is adjacent to any of them, name what you are about to touch before touching it. - Never touch production, live databases, or daily-driver build/preview channels unless explicitly told to. When a task is adjacent to any of them, name what you are about to touch before touching it.
# Pull Requests # Pull Requests
- I run my own Gitea server at `https://git.abunchofknowitalls.com`. Use the `tea` CLI to lookup open pull requests, issues, comments on PRs and CI status. - I run my own Gitea server at `https://git.abunchofknowitalls.com`. Use the `tea` CLI to lookup open pull requests, issues, comments on PRs and CI status.
- Make sure titles follow convextions from the repo. They should be simple and easy to understand. Conventional cmmit styles in porjects that use them, i.e. "fix(web): new threads no longer spike CPU" - Make sure titles follow conventions from the repo. They should be simple and easy to understand. Conventional commit styles in projects that use them, i.e. "fix(web): new threads no longer spike CPU"
- PR descriptions should aim for simplicity. Open with a minimal, clear description of the problem. Follow up with how you solved it. - PR descriptions should aim for simplicity. Open with a minimal, clear description of the problem. Follow up with how you solved it.
- Add a blurb to the end of the PR description about what model and harness is making the changes. - Add a blurb to the end of the PR description about what model and harness is making the changes.
- *Open a real PR, not a draft.* Drafts do not get review-bot coverage. - *Open a real PR, not a draft.* Drafts do not get review-bot coverage.
- *Rebase onto the latest `main` before opening*. Stale branches conflict and wast a review round. - *Rebase onto the latest `main` before opening*. Stale branches conflict and waste a review round.
- When asked to monitor or babysit a PR: poll checks and comments newer than the last push; verify each bot finding against the source before acting on it; fix real ones and dismiss false positives with written reason; fix CI failures, distinguishing real breaks from known infra flakes. If nothing is new, stay quite and never post filler comments. Stop when the repo's review bots are green on the latest commit. Merge only per the disposition given in the request (merge when green or stop and report). If none was given, report and ask. - When asked to monitor or babysit a PR: poll checks and comments newer than the last push; verify each bot finding against the source before acting on it; fix real ones and dismiss false positives with written reason; fix CI failures, distinguishing real breaks from known infra flakes. If nothing is new, stay quiet and never post filler comments. Stop when the repo's review bots are green on the latest commit. Merge only per the disposition given in the request (merge when green or stop and report). If none was given, report and ask.
+3 -3
View File
@@ -1,6 +1,6 @@
--- ---
name: babysit-pr name: babysit-pr
description: Monitor a pull request through review and CI. Use when the user asks to monitor, wathc, or a babysit a PR description: Monitor a pull request through review and CI. Use when the user asks to monitor, watch, or babysit a PR
--- ---
# Babysit PR # Babysit PR
@@ -22,8 +22,8 @@ resolve the comment. Format comments left on Joshua's behalf as:
[actual reply] [actual reply]
``` ```
Screenshots and videos are helpful as well. use the `file-upload` skill when needed. Screenshots and videos are helpful as well. Use the `file-upload` skill when needed.
Do not let review feedback expand the PR beyodn the user's original goal. Address real shortcomings, but avoid scope creep. Do not let review feedback expand the PR beyond the user's original goal. Address real shortcomings, but avoid scope creep.
If nothing has changed, stay quiet rather than posting filler comments. Stop when the review bots and required checks are green on the latest commit. Merge only when the user explicitly requested it; otherwise report that the PR is ready. If nothing has changed, stay quiet rather than posting filler comments. Stop when the review bots and required checks are green on the latest commit. Merge only when the user explicitly requested it; otherwise report that the PR is ready.
+1 -1
View File
@@ -21,7 +21,7 @@ GOOD
Open the description with a simple explanation of the problem based on the user's original prompt, then briefly explain the solution. Do not lead with an implementation inventory: Open the description with a simple explanation of the problem based on the user's original prompt, then briefly explain the solution. Do not lead with an implementation inventory:
BAD BAD
> ❌ Removed implicit wokspace carry-over from every "new thread" entry point (cmd+n / cmd+shift+o, sidebar v1/v2 buttons, command palette). New threads inherit only the project from context; branch, worktree, and env mode always come from the configured defaults. Deleted buildContextualThreadOptions, startNewThreadInProjectFromContext, and the v1 sidebar's seed-context machinery. > ❌ Removed implicit workspace carry-over from every "new thread" entry point (cmd+n / cmd+shift+o, sidebar v1/v2 buttons, command palette). New threads inherit only the project from context; branch, worktree, and env mode always come from the configured defaults. Deleted buildContextualThreadOptions, startNewThreadInProjectFromContext, and the v1 sidebar's seed-context machinery.
GOOD GOOD
> ✅ My "new worktree" default was ignored when starting new threads on existing worktrees. Super unintuitive. Now your preferences always apply. > ✅ My "new worktree" default was ignored when starting new threads on existing worktrees. Super unintuitive. Now your preferences always apply.
+2 -2
View File
@@ -5,7 +5,7 @@ description: When a user asks to upload a file, or one is needed for PR descript
# File upload # File upload
Upload files to `https://files.gitcoffee.dev` and return the permanent public URL from the reponse body. Authenticate with `FILE_HOST_TOKEN`. If it is unset, tell the user instead of guessing. Upload files to `https://files.gitcoffee.dev` and return the permanent public URL from the response body. Authenticate with `FILE_HOST_TOKEN`. If it is unset, tell the user instead of guessing.
## Upload ## Upload
@@ -23,7 +23,7 @@ curl -sS --fail-with-body -X PUT -T <path-to-file> \
- Embed images (`png`, `jpg`, `gif`, `webp`) as `![description](URL)` - Embed images (`png`, `jpg`, `gif`, `webp`) as `![description](URL)`
- Link videos (`mp4`, `mov`, `webm`) as `[screen recording](URL)` because inline video players are not well supported. - Link videos (`mp4`, `mov`, `webm`) as `[screen recording](URL)` because inline video players are not well supported.
- When an inline preview genuienly helps and the clip is shorter than about 30 seconds, also upload a GIF preview: - When an inline preview genuinely helps and the clip is shorter than about 30 seconds, also upload a GIF preview:
```bash ```bash
ffmpeg -i recording.mp4 -vf "fps=10,scale=800:-1" -loop 0 preview.gif ffmpeg -i recording.mp4 -vf "fps=10,scale=800:-1" -loop 0 preview.gif
+2 -2
View File
@@ -7,5 +7,5 @@ description: Use when the user provides a plan.gitcoffee.dev URL to read.
Fetch the uploaded HTML with the shell. Do not use web search or a browser. Fetch the uploaded HTML with the shell. Do not use web search or a browser.
1. Remove a trailing slash, then append `/raw` unless the URL already ends in `/raw`. 1. Remove a trailing slash, then append `/raw` unless the URL already ends in `/raw`.
2. Run curl --fail --silent --show-error --location --max-time 30 --output /tmp/postplan. html `<raw-url>`. 2. Run curl --fail --silent --show-error --location --max-time 30 --output /tmp/postplan.html `<raw-url>`.
3. Read `/tmp/postplan.html` and continue the user's request from its contents. If `curl` fails, report its actual status or network error. Do not substitute search results. 3. Read `/tmp/postplan.html` and continue the user's request from its contents. If `curl` fails, report its actual status or network error. Do not substitute search results.