Skip to content

Instantly share code, notes, and snippets.

View dkotama's full-sized avatar

Darma Kotama, I Nyoman dkotama

View GitHub Profile
MASTER SYSTEM — McKINSEY-STYLE ACADEMIC & EXECUTIVE PRESENTATION DESIGN
You are my senior presentation strategist, information designer, academic visualisation specialist, and executive communication consultant.
Your job is NOT merely to make attractive PowerPoint slides.
Your job is to transform complex academic, research, policy, institutional, or professional material into exceptionally clear executive presentations using:
McKinsey-style analytical communication
+
@dkotama
dkotama / gist:0b4612535619b6787e45a524bc468976
Created July 29, 2026 23:46
opencode_superpower_subagents_routing
# Update OpenCode to Use Superpowers with Model-Agnostic Role Subagents
Update my existing OpenCode setup to use Superpowers with responsibility-based, model-agnostic role subagents.
The agent names, prompts, responsibilities, and workflow must not be tied to any provider, model vendor, model family, or personal naming convention.
However, this is the first-time setup for these role agents, so every role must be bound to a concrete model that is available in the user's current OpenCode environment before setup is completed.
The setup must support both:
@dkotama
dkotama / antigravity
Last active July 1, 2026 10:46
Patch Claude Code with Superpowers Dynamic Agent Routing
#Antigravity Setup — Native 11 Subagents + Multi-Agent Workflow
Full setup for a fresh Windows machine running the native Antigravity CLI. Two phases: agent files → dispatch workflow.
Verify at the end.
──────
## Prerequisites
• Antigravity CLI https://antigravity.google installed — check with agy or agy.exe in your terminal. If missing,
download from https://antigravity.google/download.
• Authenticated via the standard OAuth flow (run agy and follow the browser prompts).
──────
@dkotama
dkotama / 000-how-to-memory.md
Last active June 23, 2026 01:03
kotemon-project-setup

000 — How to Use .memory

Notes that should persist across sessions — decisions, conventions, rules.

Naming

000-how-to-memory.md        ← meta (this file)
001-plugin-page-structure.md
002-next-topic.md
#!/usr/bin/env bash
set -euo pipefail
# ── constants ──────────────────────────────────────────────────────────────────
REPO_URL="https://github.com/dkotama/ccsettings-switcher.git"
INSTALL_DIR="$HOME/.ccsettings-switcher"
SCRIPT_NAME="cc-switch.sh"
ALIAS_NAME="ccswitch"
# ── helpers ────────────────────────────────────────────────────────────────────
@dkotama
dkotama / git-acommit
Created February 9, 2026 14:55
git-acommit - Git Auto Commit message using Openrouter Free LLM Inference
#!/bin/bash
# git-acommit: AI-powered auto commit using OpenRouter
# Static API key (as requested)
OPENROUTER_API_KEY=OPENROUTER_API_KEY
# Colors for output
RED='\033[0;31m'
GREEN='\033[0;32m'
YELLOW='\033[1;33m'
@dkotama
dkotama / design.md
Created January 10, 2026 12:19
Prompt for creating feature specs with antigravity

mode: agent

Design Generation Guide

This guide defines a strict, approval-gated prompt for an AI agent that emulates the Kiro IDE technical design phase. The agent is responsible for transforming an approved requirements.md into a comprehensive, implementation-ready design.md that serves as the single source of truth for engineers.

The workflow enforces architectural discipline, explicit testing decisions, and human approval at every critical boundary.

🎮 Andai Aku Jadi Pejabat (AAJP) — Cheatsheet (alpha1.0.2)

Praktis, non-technical cheatsheet: item prices, hidden-item unlocks, and every achievement with a clear "how to unlock" instruction.


Items — notable samples by tier (id | name | price | emoji)

Cheap

  • indomie | Indomie Goreng | Rp 3,500 | 🍜
# Value Investment Analysis Prompt
You are an expert value investing analyst, embodying Benjamin Graham's principles. Your task is to create a **Standard Investment Analysis Report** for a potential long-term value investor in Indonesia, focusing on a significant margin of safety, based on a company's financial statements and the provided company name, stock ticker, and exchange.
---
## Pre-Analysis Research
Before diving into the financial report, do the following using your search capabilities:
1. **Find Current Market Data**:
@dkotama
dkotama / gist:5ade46d6ad5f68e7ef94ac538eeaaf0c
Last active December 22, 2024 03:43
expense tracker groqapp prompt
Design and develop an expense tracking application that enables users to add and edit transactions with fields for specifying the amount and selecting categories (predefined or user-defined). The app should dynamically display the total balance along with a detailed breakdown of spending by category. Include a simple, real-time updating chart, such as a pie chart or bar graph, to visually represent spending patterns. Ensure all input fields and UI components have explicitly defined colors that harmonize with the overall theme, prioritizing accessibility through appropriate color contrast and readability. Focus on creating a clean, responsive, and user-friendly interface that works seamlessly across devices, emphasizing simplicity, usability, and visual appeal.