anti-patterns

Identifies 12 common agent workflow anti-patterns with corrective alternatives and rationales.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/DxTa/dotfiles --skill anti-patterns
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: anti-patterns
Source: https://github.com/DxTa/dotfiles/tree/main/opencode/skills/core/anti-patterns
Command: npx skills add https://github.com/DxTa/dotfiles --skill anti-patterns

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps agents and users avoid common pitfalls that lead to inefficiency, context loss, and repeated failures in AI-driven workflows.

Core Features & Use Cases

  • Pattern Identification: Clearly defines 12 critical anti-patterns in agentic development and operation.
  • Corrective Guidance: Provides specific "Wrong" vs. "Right" approaches for each anti-pattern.
  • Rationale: Explains the underlying reasons why certain practices are detrimental.
  • Use Case: Before starting a complex task, an agent can quickly review this skill to ensure their planned approach avoids known failure modes, leading to more robust and efficient execution.

Quick Start

Review the anti-patterns listed in this skill to ensure your current approach is optimal.

Frequently Asked Questions about anti-patterns

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
What are common agent workflow anti-patterns that cause context loss?

Common agent workflow anti-patterns include 12 critical mistakes that cause context loss, repeated failures, and inefficiency. This skill identifies these detrimental practices and provides specific corrective alternatives with rationales to ensure robust execution.

How do I debug agent inefficiency and repeated failures in my workflow?

To debug agent inefficiency and repeated failures, review a checklist of 12 common anti-patterns. Comparing your current approach against these wrong versus right examples helps isolate detrimental practices and optimize agent performance.

When do I need to review best practices for agent context management?

You need to review best practices for agent context management before starting a complex task. Quickly checking a checklist of 12 anti-patterns ensures your planned approach avoids known failure modes and prevents context loss during execution.

What is the best way to prevent context loss in AI agent workflows?

The best way to prevent context loss in AI agent workflows is to identify and avoid 12 defined anti-patterns. By adopting the provided correct alternatives instead of detrimental practices, you maintain context and improve operational efficiency.

Why does my agent workflow keep failing despite following best practices?

Your agent workflow keeps failing because hidden anti-patterns undermine best practices. Identifying 12 specific detrimental practices and understanding their underlying rationales reveals why certain approaches cause repeated failures and inefficiency.