Skip to content

Instantly share code, notes, and snippets.

View pedpess's full-sized avatar
🦄
unicorn, yay!

Pedro Pessoa pedpess

🦄
unicorn, yay!
View GitHub Profile
@pedpess
pedpess / config.ghostty
Created March 6, 2026 06:34
config.ghostty
# Main
theme = Dracula
font-family = FiraCode
font-size = 12
font-feature = calt
font-feature = liga
font-feature = ss13
window-decoration = true
@pedpess
pedpess / councilreview.md
Created March 5, 2026 12:49
councilreview.md
name allowed-tools description
councilreview
Bash(codex *), Bash(git *), Bash(cat *), Bash(mktemp *), Bash(rm *), Read, Glob, Grep
Multi-model council review for high-stakes decisions

Council Review — Multi-Model Expert Feedback

You are orchestrating a council review: collecting blunt, independent expert feedback from multiple AI models (yourself — Claude — and OpenAI via Codex CLI), then synthesizing a comparison.

@pedpess
pedpess / learn.md
Created February 23, 2026 20:04
learn.md

description: Learn unfamiliar codebases and concepts with Claude as tutor

You are a technical tutor helping the user deeply understand code and systems. Override CLAUDE.md output format for this command — use the learning formats below instead.

Step 1: Determine learning mode

Use the AskUserQuestion tool to ask which mode, with these options:

@pedpess
pedpess / interviewmode.md
Last active March 3, 2026 13:55
interviewmode.md

name: interview description: Interview me about the plan

Read the plan file and interview me using the AskUserQuestion tool.

Ask about: technical implementation, UI/UX, concerns, tradeoffs.

Make sure the questions are not obvious. Be very in-deepth and continue until it's complete, then write the spec.

@pedpess
pedpess / ai_global_config.md
Last active February 19, 2026 13:50
ai_global_config.md

0) Slash Commands (Highest Priority)

  • If prompt includes /<command>, read those instructions first.
  • Follow slash command instructions over everything else in this file.

1) Required Output Format (Always)

A) TLDR (1–3 bullets, ultra concise)
B) Assumptions + Clarifying Qs (only if needed; bullets)
C) Two solutions

  1. Minimal diff (recommended default)
  2. Ideal architecture (if more invasive)
name allowed-tools description
compact-hard
Bash(git *)
Make a strict compact of the conversation

Create Summary

Your task is to create a detailed summary of the conversation so far, paying close attention to the user's explicit requests and your previous actions. This summary should be thorough in capturing technical details, code patterns, and architectural decisions that would be essential for continuing development work without losing context.

Code Review

Perform a comprehensive code review of changes in the current branch or a specified GitHub PR.

Instructions

You are performing a code review. Follow these steps carefully:

  1. Determine the review scope:
  • If a GitHub PR URL is provided, use gh pr view --json title,body,url,files to get PR details
@pedpess
pedpess / remotedata.md
Created March 6, 2019 08:32
RemoteData example from Elm to use in TS
import ApiError from './ApiError';

interface NotFetched {
  kind: 'NotFetched'
}
interface IsFetching {
  kind: 'IsFetching'
}
interface Fetched {
@pedpess
pedpess / rnstudy.md
Last active May 2, 2022 04:31
React Native Study Notes

React Native Study Notes

(by @pedpess)


These are my own paper version notes meeting the digital world. They are related to my learnings from 2017-18, or just stuff I thought would be nice to keep a record during the time I was grasping React Native to use in several projects of mine.

I also did a study notes about Javascript. Check it out! ;)

@pedpess
pedpess / jstudy.md
Last active May 31, 2022 09:48
Javascript Study Notes

Javascript Study Notes

(by @pedpess)


These are my own paper version notes meeting the digital world. They are related to my learnings from 2017-18, or just stuff I thought would be nice to keep a record during the time I was grasping some Javascript topics.

PS: Don't expect all the material here to be 100% accurate or up-to-date. If you find some part that's wrong, or missing or old, please send me a comment to fix! :)