Skip to content

Instantly share code, notes, and snippets.

View james2doyle's full-sized avatar

James Doyle james2doyle

View GitHub Profile
@james2doyle
james2doyle / SKILL.md
Created October 31, 2026 21:07
Guidance and command patterns for searching GitHub using the CLI (gh search)
name search-github
description Guidance and command patterns for searching GitHub using the CLI (gh search). Use when doing research, looking for forks or relevant projects, or finding packages. You can also look for code, issues, commits, and pull requests.

Search GitHub (gh search) Reference Guide

Use this guide for searching GitHub with the CLI tool.

You can append --json to any of these commands to specify which fields you want in the output (e.g., --json title,url,updatedAt) or --limit <number> to control how many results are returned.

@james2doyle
james2doyle / SKILL.md
Created October 31, 2026 21:06
Guidance and command patterns for working with the GitHub CLI (gh)
name gh-cli
description Guidance and command patterns for working with the GitHub CLI (gh). Use when creating PRs, issues, managing repositories, or checking PR/issue status via terminal.

GitHub CLI (gh) Reference Guide

Use this guide for common command patterns when using the GitHub CLI tool.

Pull Requests

@james2doyle
james2doyle / SKILL.md
Last active September 23, 2026 14:15
SKILL.md to write and edit GNOME Blueprint UI files (.blp) for GTK 4 and libadwaita apps.
name gtk-guidelines
description Write and edit GNOME Blueprint UI files (.blp) for GTK 4 and libadwaita apps. Use when creating, reviewing, or debugging Blueprint markup.

GNOME Blueprint

Blueprint is a declarative markup language that compiles to GtkBuilder XML (blueprint-compiler). Everything here is grounded in GTK 4 / libadwaita 1.6+. A canonical set of runnable examples lives in the Workbench demos repo

@james2doyle
james2doyle / SKILL.md
Created September 16, 2026 18:45
Update an AGENTS.md to maximize correctness, completeness, and adherence to codebase standards. I dont recall where this came from.
name agents-md-upgrade
description Update an AGENTS.md to maximize correctness, completeness, and adherence to codebase standards

This skill defines the best practices for authoring AGENTS.md files to maximize an AI coding agent's correctness, completeness, and adherence to codebase standards. It is based on the principle that structured, passive context reliably outperforms active retrieval.

1. Core Philosophy & Directives

  • Passive Context Wins: Agents automatically discover AGENTS.md in 100% of sessions. Rely on this file as the primary entry point rather than expecting agents to actively trigger separate "skills."
@james2doyle
james2doyle / yesterdays-ai-news-test.md
Created September 1, 2026 16:32
A simple prompt to test the tool calling, research capabilities, summary quality, and instruction following for LLMs

Research yesterday's AI news. For each story:

[Emoji] Headline

What happened: 2-4 sentence summary. Validation: ✅ confirmed facts / ⚠️ caveats and unverified claims (formatted as a list) Sources: Outlet

Close with a Key Takeaways table (Theme | Signal) and a confidence rating.

Rules:

@james2doyle
james2doyle / subl
Created August 12, 2026 21:51
Fix large fonts on GNOME desktop in Sublime Text 4
#!/bin/sh
# replaces what was originally in /usr/bin/subl
# change GDK_DPI_SCALE=0.9 based on how you want to scale. 1 is 100%
# you can then use a Linux preferences to change the "ui_scale" up to say 1.1 to even it out
exec env GDK_SCALE=1 GDK_DPI_SCALE=0.9 /opt/sublime_text/sublime_text "$@"
@james2doyle
james2doyle / maclike.json
Created August 8, 2026 23:42
Input-remapper-2 config for mac-like keyboard navigation. Ctrl is remapped to LeftMeta. Put in $XDG_CONFIG_HOME/input-remapper-2/presets/{YOUR_DEVICE}/Maclike.json
[
{
"input_combination": [
{"type": 1, "code": 125, "origin_hash": "4790f6e20b87c369dcfe985187897b13"},
{"type": 1, "code": 105, "origin_hash": "4790f6e20b87c369dcfe985187897b13"}
],
"target_uinput": "keyboard",
"output_symbol": "KEY_HOME",
"name": "Ctrl+Left (start of line)",
"mapping_type": "key_macro"
@james2doyle
james2doyle / slim-build.md
Created June 20, 2026 05:03
Opencode "slim-build" agent. Save to ~/.config/opencode/agents/slim-build.md

description: Efficient building system that efficiently makes changes to the code temperature: 0.2 permission: bash: allow edit: allow write: allow read: allow grep: allow glob: allow

@james2doyle
james2doyle / slim-plan.md
Last active June 20, 2026 05:07
Opencode "slim-plan" agent. Save to ~/.config/opencode/agents/slim-plan.md

description: Efficient planning system that gathers details and outlines technical design temperature: 0.2 permission: bash: ask edit: deny write: deny read: allow grep: allow glob: allow

@james2doyle
james2doyle / Dockerfile
Last active February 15, 2026 20:08
A dockerfile image that sets up Opencode with Oh-My-Opencode alongside Bun and PNPM
# Build the image with: docker build -t super-opencode .
# Run the container with: docker run -it --volume="$PWD:/app" --workdir="/app" super-opencode
# Use the official Node.js image based on Debian Bullseye (slim version for smaller size)
FROM node:24.13.1-bullseye-slim
# Set the working directory inside the container to /app
WORKDIR /app
# Install system dependencies required for building and running various tools