dkolba
- 19 skills
- 0 followers
- 1 day ago last updated
- ▌ Github CLI · dkolbaPatterns for invoking the GitHub CLI (gh) from agents. Covers structured output, pagination, repo targeting, search vs list, gh api fallback.
- ▌ Sdte Loop · dkolbaRun the Spec → Design → Tasks → Execution workflow for non-trivial work — produces /specs/<feature>/{spec,design,tasks}.md, drives atomic per-task execution, and ends with a Review phase. Invoke when starting a new package, new game system, GameState shape change, or any change touching > 3 files or crossing a layer boundary.
- ▌ Modern CSS · dkolbaWrite cutting-edge and modern native CSS. Apply this skill whenever writing, reviewing, or refactoring CSS for components, layouts, design systems, or theming, even if the user doesn't say "modern CSS" explicitly. Covers a self-contained design-token scale (color, size, shadow, ease, type), cascade layers (@layer), @scope for component isolation (donut scopes, :scope specificity, scoping proximity), container queries, :has(), OKLCH/color-mix, native nesting, subgrid, fluid typography via clamp(), scroll-driven animations, logical properties, and concrete native replacements for SCSS mixins, maps, and variables.
- ▌
- ▌ Web Security · dkolbaApply this skill whenever the task involves web security: writing or auditing HTTP security headers, configuring CSP, CORS, HSTS, or Permissions-Policy, sanitising untrusted HTML (Sanitizer API / DOMPurify), implementing Trusted Types to prevent DOM-XSS, setting up the Reporting API to capture CSP/COEP/deprecation violations, hardening cookies (SameSite, HttpOnly, Secure, Partitioned), implementing WebAuthn / Credential Management, using Web Crypto for client-side cryptography, or auditing code for XSS, CSRF, clickjacking, MIME-sniffing, mixed content, or cross-origin data leakage. Triggers on keywords: XSS, CSRF, CSP, CORS, HSTS, SameSite, innerHTML, eval, Trusted Types, Sanitizer, ReportingObserver, WebAuthn, cross-origin, clickjacking, Content-Security-Policy, Referrer-Policy, Permissions-Policy, subresource integrity, cookie security, secure context, same-origin, mixed content.
- ▌ Migrate State · dkolbaSafely evolve GameState shape — bump stateVersion, write a pure migration function, update replay fixtures and snapshot baselines
- ▌ Scaffold Prng · dkolbaImplement or extend the in-house seeded PRNG stored in GameState — zero external dependencies, fully deterministic
- ▌ Verify Layers · dkolbaAudit import dependencies in packages/game to verify they comply with the layered architecture rules
- ▌ Web Components · dkolbaBest practices for building scalable plain Web Components without turning custom elements into “god objects”. Provides patterns that keep Web Components modular, reusable, maintainable, and focused on UI concerns.
- ▌ Review Function · dkolbaReview or evaluate a specific function for quality, complexity, naming, testability, and hidden dependencies. Use after writing or before extracting a function. Ends with a recommendation to keep, refactor, or rename.
- ▌ Scaffold Action · dkolbaScaffold a new discriminated union action variant following the project's action taxonomy
- ▌ Scaffold Entity · dkolbaScaffold a new game entity type with a branded ID, Readonly shape, and deterministic ID generation
- ▌ Scaffold Reducer · dkolbaScaffold a pure state reducer following the (state, action) => state pattern used in packages/game
- ▌ Write Game Tests · dkolbaWrite the three required test levels for game logic — unit, property-based, and deterministic replay/snapshot
- ▌ Node Native Tests · dkolbaWrite and maintain TypeScript tests for Node.js-only modules using only the native node:test runner and node:assert/strict, with no browser, DOM, Jest, Vitest, or transpiler-based test runner.
- ▌ Roguelike Feature · dkolbaStep-by-step workflow for implementing a new game feature in the roguelike architecture (layer assignment → discriminated union → pure function → test → shell wiring)
- ▌ Scaffold Spatial Query · dkolbaAdd a new pure functional spatial index (collision map, grid, lookup) recomputed from GameState each tick
- ▌ Scaffold Render Command · dkolbaAdd a new RenderCommand variant to the retained scene description and wire its Canvas executor in the impure shell
- ▌ Review Architecture Docs · dkolbaAudit and update durable architecture guidance after a cross-layer implementation, file move, package boundary change, coverage config change, or SDTE feature. Use when agent needs to reconcile AGENTS.md, package AGENTS.md files, local .agents/skills, older specs, dynamic imports, and test or coverage configuration with the architecture that was actually implemented.