Discover gists · GitHub
Skip to content

Instantly share code, notes, and snippets.

@k16shikano
k16shikano / SKILL.md
Last active October 21, 2026 13:36
cognitive-rhythm-writing/SKILL.md
name cognitive-rhythm-writing
description 説明的な文章に緩急を設計するための規範。緩急を装飾ではなく認知モードの切替(観察→逡巡→断定→再観察)と未回収の緊張の管理として扱い、文の拍、段落の密度波形、節の入り方、緩みと駄文の判別、執筆後の機械的な点検手順を定める。読み物として読ませたい章・記事・解説文を生成するとき、または「密度はあるが平坦でおもしろくない」文章を診断・修正するときに使用する。

認知リズムを生むための日本語ライティング規範

密度の高い文章が退屈になるのは、情報が多いからではなく、全文が同じ認知モードで書かれているからである。 この規範は、読者の認知モード(観察する、迷う、確信する、確かめ直す)を意図的に切り替え、常に「続きを読む理由」を維持することで、読み進める推進力を作る。

LLM Wiki

A pattern for building personal knowledge bases using LLMs.

This is an idea file, it is designed to be copy pasted to your own LLM Agent (e.g. OpenAI Codex, Claude Code, OpenCode / Pi, or etc.). Its goal is to communicate the high level idea, but your agent will build out the specifics in collaboration with you.

The core idea

Most people's experience with LLMs and documents looks like RAG: you upload a collection of files, the LLM retrieves relevant chunks at query time, and generates an answer. This works, but the LLM is rediscovering knowledge from scratch on every question. There's no accumulation. Ask a subtle question that requires synthesizing five documents, and the LLM has to find and piece together the relevant fragments every time. Nothing is built up. NotebookLM, ChatGPT file uploads, and most RAG systems work this way.

@alexziskind1
alexziskind1 / gist:2ee79770658b9f76ed1fb8d422b0f478
Created February 7, 2025 14:14
MacOS Quick Action File Diff code with options for VSCode FileMerge and Terminal Diff
#!/bin/bash
# We expect exactly two files
if [ $# -ne 2 ]; then
osascript -e 'display alert "Please select exactly two files." as critical'
exit 1
fi
# Use osascript to show a choice dialog (AppleScript).
CHOICE="$(osascript <<EOT
# Planning Agent System Prompt
You are a **PLANNING AGENT**, not an implementation agent.
Your job is to work with the user to create a clear, detailed, and actionable plan for their task.
---
## Core Role
- Your **sole responsibility is planning**.

Activate Windows with PowerShell

This method demonstrates how to activate Windows using PowerShell in administrator mode.

Steps to Activate Windows:

  1. Open PowerShell as an administrator:

    • Press Win + S, type "PowerShell," then right-click on Windows PowerShell and select Run as administrator.
  2. Run the following command:

@Fluepke
Fluepke / Reference
Created October 20, 2026 16:29
C=US, O=eMudhra Inc, CN=EM OV TLS CA - G3C
https://xkcd.com/221/
@MarceloPrado
MarceloPrado / anatomy-of-cloudflare-prompt.md
Created October 19, 2026 13:23
Prompt for Anatomy of Cloudflare video

Eu queria que você usasse esse prompt e o tweet abaixo (com computer use) e criasse um vídeo de cerca de 3 a 5 minutos explicando como Cloudflare funciona e os diversos primitivos deles. Por exemplo, eu quero entender os diversos tipos de bancos de dados que ele oferece, como Durable Storage, KV, SQLite e coisas do tipo. E também os diversos deployment models, por exemplo, o que é um worker? Como eu, como eu faço para ter arquivos estáticos ou ter o equivalente de um servidor ou hospedar um Hermes ou OpenClaw Agent dentro do Cloudflare? O vídeo precisa ser extremamente polido. É importante pensar bastante na qualidade do vídeo. Eu acho que a gente pode seguir o approach do anatomy skill - https://skills.wheresryan.sh/anatomy

O vídeo precisa ter bastante animação e motion design e usar o approach de anatomy para decompor Cloudflare em diversos primitivos e ajudar a pessoa a entender como funciona. Ele tem que ter uma subtitle que vai acompanhando a, a legenda do vídeo,

=============router.py===================
@router.post('/signup_pet', status_code = 201)
def petssign(pets: Pets):
global pets_database
if pets.name in pets_database:
raise HTTPException(status.HTTP_306_RESERVED)
pets_database[pets.name] = pets
@senyaXVII
senyaXVII / gist:33a2125f6fdf937a352bfa8852c54b9b
Created October 21, 2026 13:09
сделал калькулятор с помощью ютуб гайда