Skip to content
This repository was archived by the owner on Jul 21, 2026. It is now read-only.

docs: modernize agentic documentation for multi-agent support - #64

Merged
dev-parkins merged 1 commit into
mainfrom
feature/modernize-agentic-documentation
Jul 21, 2026
Merged

dev-parkins merged 1 commit into
mainfrom
feature/modernize-agentic-documentation

Conversation

@dev-parkins

Copy link
Copy Markdown
Owner

Summary

Replace monolithic 2,307-line Copilot-specific workstream prompt with a modular, agent-agnostic documentation structure following 2026 best practices.

What Changed

New Files

File Purpose Size
AGENTS.md Universal entry point for all AI coding agents ~130 lines
CLAUDE.md Claude Code-specific notes (@AGENTS.md import) ~50 lines
docs/agent-skills/compiler-conventions.md Lexer/parser/type checker patterns ~240 lines
docs/agent-skills/runtime-patterns.md Interpreter, scoping, builtins ~400 lines
docs/agent-skills/godot-bindings.md GDExtension integration ~450 lines
docs/agent-skills/testing-guide.md Test patterns and coverage ~450 lines
.github/prompts/WORKFLOW.md Agent-agnostic execution methodology ~300 lines
.cursor/rules/ferrisscript.mdc Cursor-specific rules ~120 lines
docs/planning/AGENTIC_MODERNIZATION_SUMMARY.md Completion summary ~250 lines

Modified Files

  • .github/prompts/README.md — Updated to reflect multi-agent approach
  • CONTRIBUTING.md — Added "Working with AI Coding Agents" section
  • docs/DEVELOPMENT.md — Added "AI Agent Documentation" section

Archived

  • .github/prompts/archive/workstream-execution.prompt.md — Legacy 2,307-line Copilot-specific prompt

Supported Agents

  • ✅ Claude Code (reads CLAUDE.md → AGENTS.md)
  • ✅ OpenCode (reads AGENTS.md)
  • ✅ GitHub Copilot (reads AGENTS.md)
  • ✅ Cursor (reads .cursor/rules/ + AGENTS.md)
  • ✅ DeepSeek / Others (reads AGENTS.md)

Key Improvements

  • Multi-agent support — Works with 5+ AI coding tools (was Copilot-only)
  • Progressive disclosure — 3-layer architecture minimizes context window usage
  • Agent-agnostic — No tool-specific syntax or terminology
  • Modular — Skill files loaded on demand, not all at once
  • Concise — Main files under 150 lines (best practice per 2026 research)
  • Standards-compliant — Follows AGENTS.md open standard (Linux Foundation)

Quality Checks

  • ✅ cargo test --workspace — All tests pass
  • ✅ cargo clippy --workspace --all-targets --all-features -- -D warnings — No warnings
  • ✅ cargo fmt --all -- --check — Properly formatted
  • ✅ npm run docs:lint — Markdown linting passes

Research Basis

This restructure is based on comprehensive research into 2026 agentic best practices:

  • AGENTS.md open standard (60,000+ repos, Linux Foundation)
  • Progressive disclosure patterns (Anthropic, OpenAI recommendations)
  • Size limits (files >150 lines cause agents to drop instructions)
  • Multi-agent compatibility (Claude Code, OpenCode, Cursor, Copilot)

See docs/planning/AGENTIC_MODERNIZATION_SUMMARY.md for full details.

Replace monolithic 2,307-line Copilot-specific workstream prompt with
a modular, agent-agnostic documentation structure following 2026 best
practices (AGENTS.md open standard, progressive disclosure).

New structure:
- AGENTS.md: Universal entry point for all AI coding agents (~130 lines)
- CLAUDE.md: Claude Code-specific notes with @AGENTS.md import
- docs/agent-skills/: Progressive disclosure skill files (4 files)
  - compiler-conventions.md: Lexer/parser/type checker patterns
  - runtime-patterns.md: Interpreter, scoping, builtins
  - godot-bindings.md: GDExtension integration
  - testing-guide.md: Test patterns and coverage
- .github/prompts/WORKFLOW.md: Agent-agnostic execution methodology
- .cursor/rules/ferrisscript.mdc: Cursor-specific rules

Supported agents: Claude Code, OpenCode, Cursor, GitHub Copilot,
DeepSeek, and other AGENTS.md-compatible tools.

Key improvements:
- Multi-agent support (was Copilot-only)
- Progressive disclosure (3-layer architecture)
- Agent-agnostic (no tool-specific syntax)
- Concise files (under 150 lines for main entry points)
- Standards-compliant (AGENTS.md open standard)

Archived legacy workstream-execution.prompt.md to
.github/prompts/archive/ for reference.

Updated CONTRIBUTING.md and DEVELOPMENT.md with references to the
new agentic documentation structure.
@codecov

codecov Bot commented Jul 21, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@dev-parkins
dev-parkins merged commit d2089bb into main Jul 21, 2026
10 checks passed
@dev-parkins
dev-parkins deleted the feature/modernize-agentic-documentation branch July 21, 2026 21:50
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant