Skip to content

Research and enhance system prompt #19

Closed

Description

@JAORMX

Overview

Research and enhance mecatl's system prompt to improve agent behavior, task completion quality, and alignment with the 12 Claude Code harness patterns documented in the corpus.

Goals

  • Audit current system prompt against the patterns in docs/harnesses/02-twelve-patterns.md
  • Research best practices from the corpus comparative survey (docs/harnesses/05-comparative-survey.md)
  • Identify gaps in current prompt coverage (e.g., context management, tool selection, error recovery)
  • Propose enhancements that improve:
    • Task decomposition and planning
    • Tool usage discipline (when to use dedicated tools vs. shell commands)
    • Error handling and recovery strategies
    • Output quality (conciseness, actionability)
    • Context awareness and memory utilization

Background

The system prompt is Pattern #1 in the 12 Claude Code patterns and serves as the foundation for agent behavior. The corpus documents proven patterns from Claude Code, Aider, Cursor, Copilot Workspace, and other harnesses that can inform improvements.

Deliverables

  • Document current system prompt structure and coverage
  • Comparative analysis against corpus best practices (especially Claude Code patterns)
  • Proposed enhancements with rationale
  • Implementation plan (may split into follow-up issues for specific improvements)

Related Corpus Sections

  • docs/harnesses/02-twelve-patterns.md §1 (System Prompt)
  • docs/harnesses/03-claude-code-deep-dive.md §2 (System Prompt Architecture)
  • docs/harnesses/05-comparative-survey.md (cross-harness comparison)
  • docs/harnesses/06-architecture-patterns.md §2 (Prompt Engineering)

Type

Research / Enhancement

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions