koan-performance — NET 10 framework koan-performance, koan-framework, sylin-org, community, NET 10 framework, ai agent skill, ide skills, agent automation, entity-first persistence, AI integration, event-driven architecture, streaming for large datasets

v1.0.0
GitHub

About this Skill

Perfect for .NET Agents needing high-performance data processing and optimization for scale Koan-performance is a modular .NET 10 framework that enables entity-first persistence, multi-provider transparency, AI integration, and event-driven architecture with zero configuration ceremony.

Features

Entity-first persistence for simplified data management
Multi-provider transparency for flexible data access
AI integration for enhanced application capabilities
Event-driven architecture with zero configuration ceremony
Streaming for large datasets to optimize performance
Batch operations for bulk changes to improve efficiency

# Core Topics

sylin-org sylin-org
[2]
[1]
Updated: 2/4/2026

Quality Score

Top 5%
36
Excellent
Based on code quality & docs
Installation
SYS Universal Install (Auto-Detect)
> npx killer-skills add sylin-org/koan-framework/koan-performance
Supports 19+ Platforms
Cursor
Windsurf
VS Code
Trae
Claude
OpenClaw
+12 more

Agent Capability Analysis

The koan-performance skill by sylin-org is an open-source community AI agent skill for Claude Code and other IDE workflows, helping agents execute tasks with better context, repeatability, and domain-specific guidance. Optimized for NET 10 framework, entity-first persistence, AI integration.

Ideal Agent Persona

Perfect for .NET Agents needing high-performance data processing and optimization for scale

Core Value

Empowers agents to optimize data processing using streaming, batch operations, and pagination, leveraging .NET 10 framework for building scalable applications with simple patterns, ideal for small teams and developers, utilizing protocols like web APIs

Capabilities Granted for koan-performance

Streaming large datasets for efficient data processing
Optimizing bulk changes using batch operations
Implementing fast counts for UI and pagination for web APIs

! Prerequisites & Limits

  • .NET 10 framework required
  • Optimized for scale, may require adjustments for small datasets
Project
SKILL.md
2.5 KB
.cursorrules
1.2 KB
package.json
240 B
Ready
UTF-8

# Tags

[No tags]
SKILL.md
Readonly

Koan Performance

Core Principle

Optimize for scale from day one. Use streaming for large datasets, batch operations for bulk changes, fast counts for UI, and pagination for web APIs.

Performance Patterns

Streaming (Large Datasets)

csharp
1// ❌ WRONG: Load everything into memory 2var allTodos = await Todo.All(); // 1 million records! 3 4// ✅ CORRECT: Stream in batches 5await foreach (var todo in Todo.AllStream(batchSize: 1000)) 6{ 7 await ProcessTodo(todo); 8}

Count Strategies

csharp
1// Fast count (metadata estimate - 1000x+ faster) 2var fast = await Todo.Count.Fast(ct); // ~5ms for 10M rows 3 4// Exact count (guaranteed accuracy) 5var exact = await Todo.Count.Exact(ct); // ~25s for 10M rows 6 7// Optimized (framework chooses) 8var optimized = await Todo.Count; // Uses Fast if available

Use Fast for: Pagination UI, dashboards, estimates Use Exact for: Critical business logic, reports, inventory

Bulk Operations

csharp
1// Bulk create 2var todos = Enumerable.Range(1, 1000) 3 .Select(i => new Todo { Title = $"Task {i}" }) 4 .ToList(); 5await todos.Save(); // Single operation 6 7// Bulk removal 8await Todo.RemoveAll(RemoveStrategy.Fast); // TRUNCATE/DROP (225x faster)

Batch Retrieval

csharp
1// ❌ WRONG: N queries 2foreach (var id in ids) 3{ 4 var todo = await Todo.Get(id); 5} 6 7// ✅ CORRECT: 1 query 8var todos = await Todo.Get(ids);

Pagination

csharp
1public async Task<IActionResult> GetTodos( 2 int page = 1, 3 int pageSize = 20, 4 CancellationToken ct = default) 5{ 6 var result = await Todo.QueryWithCount( 7 t => !t.Completed, 8 new DataQueryOptions { OrderBy = nameof(Todo.Created), Descending = true }, 9 ct); 10 11 Response.Headers["X-Total-Count"] = result.TotalCount.ToString(); 12 return Ok(result.Items); 13}

Performance Benchmarks

OperationInefficientEfficientSpeedup
Bulk Remove (1M)DELETE loop ~45sTRUNCATE ~200ms225x
Count (10M)Full scan ~25sMetadata ~5ms5000x
Batch Get (100)100 queries1 query100x
Stream (1M)Load all (OOM)Stream batchesMemory safe

When This Skill Applies

  • ✅ Performance tuning
  • ✅ Large datasets
  • ✅ Optimization
  • ✅ Production readiness
  • ✅ Memory issues
  • ✅ Query optimization

Reference Documentation

  • Example Code: .claude/skills/entity-first/examples/batch-operations.cs
  • Guide: docs/guides/performance.md
  • Sample: samples/S14.AdapterBench/ (Performance benchmarks)

FAQ & Installation Steps

These questions and steps mirror the structured data on this page for better search understanding.

? Frequently Asked Questions

What is koan-performance?

Perfect for .NET Agents needing high-performance data processing and optimization for scale Koan-performance is a modular .NET 10 framework that enables entity-first persistence, multi-provider transparency, AI integration, and event-driven architecture with zero configuration ceremony.

How do I install koan-performance?

Run the command: npx killer-skills add sylin-org/koan-framework/koan-performance. It works with Cursor, Windsurf, VS Code, Claude Code, and 19+ other IDEs.

What are the use cases for koan-performance?

Key use cases include: Streaming large datasets for efficient data processing, Optimizing bulk changes using batch operations, Implementing fast counts for UI and pagination for web APIs.

Which IDEs are compatible with koan-performance?

This skill is compatible with Cursor, Windsurf, VS Code, Trae, Claude Code, OpenClaw, Aider, Codex, OpenCode, Goose, Cline, Roo Code, Kiro, Augment Code, Continue, GitHub Copilot, Sourcegraph Cody, and Amazon Q Developer. Use the Killer-Skills CLI for universal one-command installation.

Are there any limitations for koan-performance?

.NET 10 framework required. Optimized for scale, may require adjustments for small datasets.

How To Install

  1. 1. Open your terminal

    Open the terminal or command line in your project directory.

  2. 2. Run the install command

    Run: npx killer-skills add sylin-org/koan-framework/koan-performance. The CLI will automatically detect your IDE or AI agent and configure the skill.

  3. 3. Start using the skill

    The skill is now active. Your AI agent can use koan-performance immediately in the current project.

Related Skills

Looking for an alternative to koan-performance or another community skill for your workflow? Explore these related open-source skills.

View All

widget-generator

Logo of f
f

Generate customizable widget plugins for the prompts.chat feed system

149.6k
0
Design

linear

Logo of lobehub
lobehub

Linear issue management. MUST USE when: (1) user mentions LOBE-xxx issue IDs (e.g. LOBE-4540), (2) user says linear, linear issue, link linear, (3) creating PRs that reference Linear issues. Provides

73.4k
0
Communication

testing

Logo of lobehub
lobehub

Testing guide using Vitest. Use when writing tests (.test.ts, .test.tsx), fixing failing tests, improving test coverage, or debugging test issues. Triggers on test creation, test debugging, mock setup

73.3k
0
Communication

chat-sdk

Logo of lobehub
lobehub

chat-sdk is a unified TypeScript SDK for building chat bots across multiple platforms, providing a single interface for deploying bot logic.

73.0k
0
Communication