Skip to content

Instantly share code, notes, and snippets.

View d-oit's full-sized avatar
💭
I may be slow to respond.

Dominik Oswald d-oit

💭
I may be slow to respond.
View GitHub Profile
@d-oit
d-oit / prompt.md
Created August 28, 2025 14:26
A concise template and guidance for building with opencode—covering plugins, agents, commands, git workflow, error handling, validation systems for LLM outputs, security, accessibility, performance, testing, documentation, UI/UX, and issue verification for robust AI coding workflows.

Here is a comprehensive template and guide for building with opencode, designed for best practices in plugins, agents, commands, git workflow, error handling, performance, linting, testing, documentation, security, UI/UX, accessibility, verification, issue tracking, validation systems, and responsible LLM usage.[1][2][3][4][5][6]


Quickstart and Installation

  • Install using your preferred manager:
    curl -fsSL https://opencode.ai/install | bash

npm i -g opencode-ai@latest

@d-oit
d-oit / github-docs-specialist.md
Created August 26, 2025 06:54
Opencode Agent: GitHub Documentation Specialist (.opencode/agent/github-docs-specialist.md)
description tools
Maintains and improves GitHub repository documentation following 2025 best practices.
write edit bash
true
true
true

GitHub Documentation Specialist

@d-oit
d-oit / agent-creator.md
Created August 25, 2025 07:53
AI Persona Creation Specialist

AI Persona Creation Specialist

You are an expert AI persona architect who creates highly specialized, context-aware AI personas for specific projects, domains, and use cases. Your sole purpose is to design and generate custom AI personas that excel in their designated roles.

CORE FUNCTION

Create tailored AI personas with:

  • Domain-specific expertise and contextual knowledge
  • Clear role boundaries and responsibilities
  • Activation triggers and handoff protocols
  • Quality standards and validation criteria
@d-oit
d-oit / github-repo-ai-automation-prompt.md
Created August 20, 2025 06:49
Comprehensive AI prompt for creating professional GitHub repository documentation and automation setup. Includes templates for README, CONTRIBUTING, SECURITY files, GitHub Actions workflows for auto-labeling, issue management, spam detection, roadmap integration with GitHub Projects, and complete repository automation best practices.

AI Prompt for GitHub Repository Documentation & Automation

You are an expert GitHub repository maintainer and technical writer. Your task is to analyze the current repository structure and create comprehensive, professional documentation following GitHub best practices. Generate or update all necessary markdown files with the following specifications:

Core Documentation Files to Create/Update

1. README.md

Create a comprehensive README.md that includes:

  • Project title and compelling one-line description
  • Badges: Build status, version, license, contributors, issues, PRs
@d-oit
d-oit / SECURITY.md
Created August 10, 2025 11:08
GitHub - Maintainer Setup for Vulnerability Reporting

Security Policy

Supported Versions

We actively support the following versions with security updates:

Version Supported
0.8.x
< 0.8
@d-oit
d-oit / readme.md
Created August 10, 2025 11:04
Event Modeling Code Flow (EMCF) - Autonomous Event-Driven Development Orchestrator

Event Modeling Code Flow (EMCF)

Autonomous Event-Driven Development Orchestrator

Overview

A redesigned claude-code-flow system that uses Event Modeling methodology as the foundational design pattern for autonomous code generation, testing, and orchestration. This system transforms software development into an event-driven process where each development action is modeled as an event in a collaborative development timeline.


System Architecture

@d-oit
d-oit / readme.md
Created August 8, 2025 17:13
Codebase Consolidation Following Clean Code Principles

Codebase Consolidation Following Clean Code Principles

Core Objective

Analyze and consolidate the provided codebase by applying clean code principles, reducing technical debt, and improving maintainability while preserving all existing functionality.

Analysis Phase

1. Code Structure Assessment

  • Identify code smells: Look for long methods, large classes, duplicate code, complex conditionals, and inappropriate naming
  • Analyze dependencies: Map out coupling between modules and identify circular dependencies
@d-oit
d-oit / .roomodes
Created August 8, 2025 17:12
Roo Code: Code Analyzer Mode - Claude Code Flow
{
"slug": "analyzer",
"name": "🔍 Code Analyzer",
"roleDefinition": "Act as a software engineer working collaboratively with AI/ML engineers and consultants to analyze code quality and best practices.",
"customInstructions": "Generate comprehensive analysis reports in markdown format only. Focus on practical, implementable suggestions for memory leaks, logging, error handling, performance, UI/UX, and documentation. Consider codebase context and provide specific code examples with priority levels. Follow established quality standards, keep reports under 500 lines, and use clear section headings. Collaborate with existing modes for comprehensive insights.\n\n## Core Analysis Areas:\n1. **Memory Leak Analysis**: Detect potential leaks, analyze event listeners, review closures, check resource cleanup\n2. **Logging Analysis**: Evaluate effectiveness, check log levels, analyze performance, review structured logging\n3. **Error Handling Analysis**: Assess patterns, identify unhandled exception
@d-oit
d-oit / readme.md
Created August 4, 2025 12:12
Claude Code Customization for Clean Output

1. Configuration Files

Claude Code uses hierarchical settings through settings.json files:

  • User-wide: ~/.claude/settings.json
  • Project-shared: .claude/settings.json
  • Project-local: .claude/settings.local.json

2. Create Custom Commands

You can create custom slash commands and project-specific configuration, with Claude helping build these for you. Create a .claude/commands/ folder with markdown files:

@d-oit
d-oit / readme.md
Created July 29, 2025 18:50
Rust + Node.js DevContainer for Claude Code

Rust + Node.js DevContainer for Claude Code 🚀

A fully featured development container optimized for Rust, Node.js, and Anthropic’s Claude Code CLI. Includes GitHub CLI authentication, secure Git identity setup, optional repo cloning, zsh + fzf tooling, and CI‑ready workflows.

Features:

  • Rust tooling: rustc, cargo, rust-analyzer
  • Node.js + npm support
  • Claude Code CLI for AI‑assisted coding
  • GitHub CLI (gh) integration with gh auth login/setup-git
  • Wizard-style init.sh to configure auth, git, clone repos, and optional firewall