Imported from GiantCroissant-Lunar/winged-bean (
AGENTS.md). Install upstream withnpx skills add GiantCroissant-Lunar/winged-bean. Copyright stays with the author.
Winged Bean - Agent Instructions
Project: Winged Bean
Stack: .NET (multi)
Date: 2025-10-14
Quick Start for AI Agents
Rule Priority (Read in Order)
- Workspace Rules (highest priority) →
.agent/local/workspace-reference.md - Project Rules →
.agent/local/overrides.md - Stack Rules (cached) →
~/.cache/lunar-rules/v1.0.0/stacks/{stack}/ - Base Rules (cached) →
~/.cache/lunar-rules/v1.0.0/base/
Where to Find Rules
Workspace Rules (ALL projects)
Reference: .agent/local/workspace-reference.md
Relative: ../../../.agent/local/overrides.md
Project Rules (this project only)
Location: .agent/local/overrides.md
Reference: .agent/local/workspace-reference.md
Supported AI Systems
Claude Code
- File:
CLAUDE.md(optional, agent-specific formatting) - Rules: Reads
.agent/local/automatically - Priority: Workspace rules → Project rules → Stack → Base
Windsurf/Cascade
- File:
AGENTS.md(this file) - Rules: Reads
.agent/local/automatically - Priority: Workspace rules → Project rules → Stack → Base
GitHub Copilot
- File:
.github/copilot-instructions.md - Rules: Needs explicit pointers to .agent files
- Priority: Must reference workspace and project rules
Critical Workspace Rules (Summary)
These apply to ALL projects in lunar-horse workspace:
R-LUNARHORSE-000: NO GIT REPOSITORY ⚠️ CRITICAL
- lunar-horse is a WORKSPACE, not a git repo
- NEVER run
git inithere - Individual projects have their own .git
R-LUNARHORSE-030: Use Task Build System ⚠️ IMPORTANT
- Use Task/build-arcane for builds
- NEVER use
dotnet buildordotnet runfrom source - ALWAYS run from artifacts
R-LUNARHORSE-060: Read Project Rules First
- Check
.agent/local/overrides.mdin project - Then read workspace rules
- Ask if uncertain
→ See workspace rules for complete list: ../../../.agent/local/overrides.md
Project-Specific Quick Reference
Game development framework. Use Task build system from build/.
→ See project rules for complete details: .agent/local/overrides.md
For AI Agents: First Time in This Project?
Do this:
- ✅ Read workspace rules:
../../../.agent/local/overrides.md - ✅ Read project rules:
.agent/local/overrides.md - ✅ Check current working directory with
pwd - ✅ Check project structure with
ls -la - ✅ If building, use Task from
build/directory
Don't do this:
- ❌ Run
git initin workspace root - ❌ Build directly from
development/or source directories - ❌ Assume structure without checking
- ❌ Duplicate workspace rules in project
Rule System Architecture
rule-ground (git repo) ← Master source (version controlled)
↓ sync via lunar-rules CLI
~/.cache/lunar-rules/v1.0.0/ ← Cached base/stack rules
↓ referenced
lunar-horse/.agent/local/ ← Workspace rules (SSOT)
↓ referenced via relative path
{PROJECT}/.agent/local/ ← Project-specific rules only
Key Principle: Single source of truth, no duplication, flexible references.
Version Information
- Workspace Rules: v1.0.0
- Base Rules: v1.0.0 (cached)
- Stack Rules: v1.0.0 (cached)
- Last Updated: 2025-10-14
Need Help? Read the rules in order listed above. When in doubt, ask!