harness-repo-structure
Use when establishing repository structure following OpenAI harness engineering principles with AGENTS.md as index and knowledge in docs/
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Use when establishing repository structure following OpenAI harness engineering principles with AGENTS.md as index and knowledge in docs/
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Use when creating, updating, or standardizing GitHub Actions workflows for a .NET repository, especially C# libraries, NuGet packages, ABP/EAF web apps, or Angular frontends.
Bootstrap a complete production-ready agent harness in a repository — CLAUDE.md, .claude/, .devin/, skills/, rules/, ignore files, and sub-agents. Use when initializing AI agent support in a new repo, restructuring existing agent files into modern File-based Context conventions, or generating harness artifacts following Agent = Model + Harness principles. Targets Claude Code and Devin CLI only — does NOT create artifacts for OpenCode, Cursor, Gemini, Copilot or JetBrains AI. Do NOT use for building MCP servers (use building-mcp-servers).
Install and configure RTK (Rust Token Killer) — a high-performance CLI proxy that reduces LLM token consumption by 60-90%. Automatically rewrites shell commands to their rtk equivalents via hooks. Use when setting up a new dev environment or when token optimization is needed. Do NOT use when raw unfiltered output is required (use rtk proxy for that).
Apply Test-Driven Development to skill authoring — write pressure scenarios with subagents (test cases), observe baseline failures (RED), write the skill (GREEN), close loopholes through refactor cycles. Use when creating new skills, editing existing skills, or verifying skills work before deployment. Do NOT use for one-off solutions, project-specific conventions (put in AGENTS.md/CLAUDE.md), or mechanical constraints enforceable via regex/validation. Companion skills: brainstorming (for design phase), create-agent-harness (for bootstrapping agent harness in a repo).
Use when working with ABP module system, dependency injection, base classes, time handling, business exceptions, or localization patterns
Use when designing and implementing RESTful APIs with ASP.NET Core, or when applying security, error handling, documentation, testing, or performance optimization to API endpoints
| name | harness-repo-structure |
| description | Use when establishing repository structure following OpenAI harness engineering principles with AGENTS.md as index and knowledge in docs/ |
Create and maintain repository structure following OpenAI harness engineering principles where AGENTS.md serves as an index (~100 lines) and knowledge resides in structured docs/ with mechanical validation.
This skill is for AI-to-AI communication to establish repository structure optimized for agent readability. All instructions must be executed systematically without human interpretation.
repository-root/
├── skills/ # Agent Skills (SKILL.md format)
├── rules/ # Path-specific coding standards (.instructions.md)
├── agents/ # GitHub Copilot agent definitions
├── workflows/ # Agentic workflows for automation
├── knowledge/ # Knowledge base (structured docs)
│ ├── design-docs/ # Design patterns, core beliefs
│ ├── exec-plans/ # Active/completed execution plans
│ ├── generated/ # Auto-generated documentation
│ ├── product-specs/ # Product specifications
│ ├── references/ # Framework-specific guides
│ ├── DESIGN.md # Design principles
│ ├── FRONTEND.md # Frontend patterns
│ ├── PLANS.md # Planning templates
│ ├── PRODUCT_SENSE.md # Product principles
│ ├── QUALITY_SCORE.md # Quality metrics
│ ├── RELIABILITY.md # Reliability requirements
│ └── SECURITY.md # Security guidelines
├── .agents/ # Agent conventions
├── install.sh # Installation script
└── llms.txt # LLM discoverability
Contains design patterns and operational principles:
index.md - Design documents indexcore-beliefs.md - Agent-centered development principles (golden rules)Contains execution plans and technical debt tracking:
active/ - Ongoing implementation planscompleted/ - Finished planstech-debt-tracker.md - Technical debt inventoryContains auto-generated documentation (db-schema.md, etc.)
Contains product specifications and requirements
Contains framework-specific guides and external references
Create these files in knowledge/ root:
Implement linters and CI checks to validate:
When creating new structure:
When reorganizing existing files:
Before considering structure complete:
# Create in design-docs/
mkdir -p knowledge/design-docs
# Create document
# Update knowledge/design-docs/index.md
# Create in exec-plans/active/ for ongoing
# or exec-plans/completed/ for finished
# Update tech-debt-tracker.md if applicable
# Create in references/
# Update knowledge/references/index.md
If structure validation fails:
Structure is complete when: