#ai-coding
#automation
#code-agents
#dev
#github
#markdown
#prompt-engineering
#ai-coding
#best-practices
#code-agents
#optimization
#prompt-engineering
#ai-coding
#dev
#future
#github
#llm-ops
#prompt-engineering
#ai-coding
#code-agents
#llm-ops
#prompt-engineering
#voice-cloning
apply_patch()
function. Aider supports multiple edit formats that are commonly referenced as a standard. Code Surgery has a good walkthrough of various strategies. These are similar to Google's diff-match-patch approach (which fuzzy matches and then patches) but does not require line numbers. ChatGPT #ai-coding
#chatgpt
#github
#markdown
prompts.md
, told Codex "prompts.md has a prompt under the "# Improve schema" section starting line 294. This is a prompt that will be passed to Claude Code to implement. Ask me questions as required and improve the prompt so that the results will be in line with my expectations, one-shot." After a few discussions, it generated this remarkable prompt. This prompt was easy for me to review AND easy for Claude Code to understand because of the lack of inconsistencies. #ai-coding
#code-agents
#markdown
#prompt-engineering
#ai-coding
#automation
#best-practices
#code-agents
#dev
#prompt-engineering
#ai-coding
#best-practices
#code-agents
#prompt-engineering
#ai-coding
#ai-coding
#ai-coding
#code-agents
#ai-coding
"type": "custom"
that lets it write code as an argument to a tool call. Great for code / SQL generation. Even more powerfully, you can generate output following specific grammars, e.g. STL files, PostgreSQL dialect, Mermaid/PlantUML diagrams, OpenAPI specs, Vega-Lite JSONs, Cron expressions, GraphQL SDLs, Dockerfiles, Terraform HCLs, or any DSL! # #ai-coding
#automation
#code-agents
#github
#markdown
#prompt-engineering
#ai-coding
#code-agents
#llm-ops
#write
npx -y ccusage
is an easy way of summarizing your Claude Code usage and cost. My cost so far (since 21 July) is about $10. The median session cost is ~50 cents. Most of it ($7) was from a single temporary coding chat that I kept continuing for way too long, building up the context window. # #ai-coding
#ai-coding
#automation
#code-agents
#future
#future
#ai-coding
#automation
#prompt-engineering
#speech-to-text
#voice-cloning
#ai-coding
python
asks it to use uv
.-p
or --prompt
flag lets it crunch large code bases and pass relevant responses back to Claude Code. #ai-coding
#chatgpt
#code-agents
#github
#ai-coding
#chatgpt
#code-agents
#github
#markdown
#ai-coding
#code-agents
#document-conversion
#prompt-engineering
#write
#ai-coding
#automation
#best-practices
#github
#llm-ops
#markdown
#ai-coding
baseUrl
vs baseURL
”, “add GA‑4 exam module”. → churn & rewrites.vitest
not installed, .dev.vars
absent, sub‑modules not cloned, network blocks.npm install
, env‑var templates, and submodule noteslint && test
(plus static‑analysis / self‑critique) before every response#ai-coding
#embeddings
#optimization
#prompt-engineering
#ai-coding
#ai-coding
#automation
#code-agents
#dev
#future
#markdown
#optimization
#prompt-engineering
#ai-coding
#automation
#code-agents
#dev
#github
#markdown
#prompt-engineering
claude --debug
shows what Claude Code is doing behind a scenes -- and is a good way to understand hidden / undocumented features..claude/commands/
.CLAUDE.md
, AGENTS.md
and GEMINI.md
into a CONVENTIONS.md
#ai-coding
#code-agents
#github
#markdown
OPENAI_BASE_URL=https://openrouter.ai/api/v1 OPENAI_API_KEY=$OPENROUTER_API_KEY OPENAI_MODEL=qwen/qwen3-coder npx -y @qwen-code/qwen-code
Move AI Image Chat position in tools.json AND in README.md to just below Daydream. Add a small filled-circle icon before "Created: ..." date. The color should be based on how old the created date was. Use primary if it's within the last week, success if it's in the last 30 days, warning if it's in the last 365 day and light otherwise. Also, add a col-xl-3 to the tools-grid cells
#ai-coding
#automation
#code-agents
#github
#prompt-engineering
#ai-coding
#automation
#ai-coding
#code-agents
#github
#ai-coding
#future
#ai-coding
#automation
#chatgpt
#code-agents
#llm-ops
#prompt-engineering
#ai-coding
#code-agents
#github
#markdown
To keep Claude Code in line on my project, I’ve relied heavily on linters, build scripts, formatters, and git commit hooks. It’s pretty easy to get Claude Code to commit often by including it in your CLAUDE.md, but it often likes to ignore other commands like “make sure the build doesn’t fail” and “fix any failing tests”. All my projects have a .git/hooks/pre-commit script that enforces project standards. The hook works really well to keep things in line.
~/.claude/settings.json
(personal) < .claude/settings.json
(project) < .claude/settings.local.json
(uncommitted personal) < CLI arguments. Explore model
, permissions
, env
, forceLoginMethod
. Ref #github
#markdown
#ai-coding
~/.claude/CLAUDE.md
< .CLAUDE.md
and from subdirectories when required. Run /init
to auto-create it with repo-specific info! Mention @file
to import. Beginning an input with # ...
adds it to memory! Run /memory
to view/edit memory files. Ref #github
#markdown
#ai-coding
\
then Enter at the end of a line to continue to the next line. Or, run /terminal-setup
to bind Shift-Enter to insert a newline. #markdown
#ai-coding
#ai-coding
#code-agents
#github
#markdown
#python
claude -p "query"
runs the query and exits, making it a very powerful pipeline tool. E.g. cat stream.jsonl | claude -p "..." --output-format json --input-format stream-json --max-turns 3 --dangerously-skip-permissions
Ref #ai-coding
/review
command that requests a code review and a /pr_comments
to view pull request comments Ref #code-agents
#github
#ai-coding
~/.claude/commands/*.md
< .claude/commands/*.md
. Use @file
to reference files, $ARGUMENTS
for arguments, and !
for bash commands like DIR: !`pwd`
. YAML frontmatter supports allowed-tools:
and description:
Ref #markdown
#ai-coding
#ai-coding
/compact Focus on code samples and API usage
(or mention it in CLAUDE.md
) #ai-coding
#code-agents
#github
#markdown
think
< think hard
< think harder
< ultrathink
Ref #ai-coding
#code-agents
#future
#think
/install-github-app
so that any mention of @claude
in an issue or a PR will trigger a CI job that does what you suggest. An alternative to Jules or Codex #ai-coding
#code-agents
#github
#cloud
#code-agents
#github
#ai-coding
apiKeyHelper
setting can dynamically generate API keys #code-agents
#ai-coding
#ai-coding
#code-agents
~/.claude/
#ai-coding
#code-agents
#github
#markdown
#chatgpt
#ai-coding
#ai-coding
#automation
#optimization
#prompt-engineering
uvx git-smart-squash
re-organizes haphazard commits using LLMs. git-smart-squash #github
#markdown
#ai-coding
#ai-coding
#github
#llm-ops
#ai-coding
#code-agents
#github
#ai-coding
#code-agents
#future
#code-agents
#future
#ai-coding
#ai-coding
#automation
#code-agents
#prompt-engineering
Break down the implementation into: 1. Planning. 2. API stubs. 3. Implementation.
Use sub tasks and sub agents to conserve context
.Write it like @filename
. & -> & but &x -> &x
.Use ultrathink
.#ai-coding
#best-practices
#code-agents
#future
#github
#optimization
#learning
#ai-coding
#automation
#code-agents
#dev
#future
#github
#prompt-engineering
#ai-coding
#code-agents
#dev
#future
#github
#prompt-engineering
#ai-coding
#chatgpt
#code-agents
#github
#markdown
#document-conversion
#github
#markdown
#ai-coding
#ai-coding
#code-agents
#future
#ai-coding
#code-agents
#llm-ops
#prompt-engineering
#ai-coding
#code-agents
#dev
#github
#html
#markdown
#prompt-engineering
#github
#markdown
#web-dev
#ai-coding
GEMINI_API_KEY=... uvx llm-min -i $DIR
#llm-ops
#markdown
#ai-coding
#ai-coding
#ai-coding
#code-agents
#dev
#github
#ai-coding
#automation
#future
#automation
#code-agents
#future
#html
#llm-ops
#markdown
#prompt-engineering
#web-dev
#write
#ai-coding
#ai-coding
#embeddings
#future
#optimization
#prompt-engineering
#ai-coding
#code-agents
#future
#github
#markdown
tqdm.pbar
can print logs while showing progress. It's worth noting such learnings until it becomes a habit. #ai-coding
#automation
#code-agents
#future
#github
#markdown
#prompt-engineering
#learning
#ai-coding
#code-agents
#future
#markdown
#prompt-engineering
#faq
#ai-coding
#code-agents
#github
#markdown
codex.md
can only handle 32K.#ai-coding
#code-agents
#dev
#prompt-engineering
#web-dev
#ai-coding
#code-agents
#future
#ai-coding
#automation
#code-agents
#future
This ability to define your desired outcome in crisp, complete terms is one of the most important superpowers of the AI era.
#ai-coding
#github
#ai-coding
#code-agents
#github
#markdown
#prompt-engineering
#ai-coding
#code-agents
#dev
#github
#llm-ops
#markdown
#prompt-engineering
ai!
comment to trigger changes and ai?
to ask questions.tmux
based LLM tool for the command line. It screen-grabs from tmux, which is powerful.make
sucks but is hard to beat. just
comes closest.yjs
is a good start but automerge
(Rust, WASM) is faster and may be better.#ai-coding
#code-agents
#dev
#github
#html
#markdown
#prompt-engineering
#web-dev
#ai-coding
#automation
#code-agents
#html
#optimization
#prompt-engineering
#web-dev
gid
to each element.#ai-coding
#automation
#code-agents
#future
#github
#llm-ops
#ai-coding
#voice-cloning
#ai-coding
#code-agents
#ai-coding
#automation
#code-agents
#prompt-engineering
#ai-coding
#code-agents
#prompt-engineering
#ai-coding
#code-agents
#llm-ops
#markdown
#optimization
#prompt-engineering
#write
#ai-coding
#code-agents
openGate
for testing."openai
library across multiple providers. #ai-coding
#llm-ops
#ai-coding
#code-agents
#llm-ops
#ai-coding
#automation
#code-agents
#llm-ops
#prompt-engineering
#ai-coding
#code-agents
#document-conversion
#html
#llm-ops
#ai-coding
#code-agents
#markdown
#prompt-engineering
#ai-coding
#code-agents
#prompt-engineering
#ai-coding
#code-agents
#ai-coding
#code-agents
#dev
#github
#markdown
#ai-coding
#code-agents
#github
#markdown
#ai-coding
#code-agents
#ai-coding
#future
#learning
#todo
#ai-coding
#future
#github
#ai-coding
#code-agents
#dev
#github
#prompt-engineering
#ai-coding
#github
#llm-ops
#ai-coding
#code-agents
#dev
#github
#llm-ops
#markdown
#ai-coding
#llm-ops
#ai-coding
#ai-coding
#automation
#code-agents
#future
#llm-ops
#prompt-engineering
#ai-coding
#ai-coding
#code-agents
#future
#llm-ops
#ai-coding
#code-agents
#ai-coding
#future
#markdown
#prompt-engineering
#prediction
#ai-coding
#code-agents
#future
#ai-coding
#llm-ops
#markdown
#write
#ai-coding
#automation
#code-agents
#dev
#future
#github
#markdown
#prompt-engineering
#ai-coding
#automation
#best-practices
#future
#llm-ops
#optimization
#prompt-engineering
#faq
#ai-coding
#automation
#code-agents
#ai-coding
#ai-coding
#future
#llm-ops
#learning
#lesson
#ai-coding
#code-agents
#github
#markdown
Explain this
to understand the code%something
in command bar searches ACROSS files for a term. Exactly like Ctrl+Shift+F
Ctrl+2
opens a second window on the side. Ctrl+1
goes back to the first window#ai-coding
#dev
#future
#github
#ai-coding
#automation
#prompt-engineering
#speech-to-text
#tts
#ai-coding
#prompt-engineering
#todo
#ans
toml
is part of the Python 3.11 standard library!#ai-coding
#github
#ai-coding
#chatgpt
#code-agents
#future
#github
#llm-ops
#ai-coding
#github
#ai-coding
#code-agents
#github
#markdown
#ai-coding
#code-agents
#document-conversion
#ai-coding
#automation
#code-agents
#future
#llm-ops
#optimization
#prompt-engineering
#learning
#ai-coding
#code-agents
#gpu
#ai-coding
#automation
#code-agents
#prompt-engineering
#try
#ai-coding
#code-agents
#ai-coding
#future
#markdown
#ai-coding
#github
#speech-to-text