you-skill-ios
AGENTS.md0 starsChanged 8 months agoMITView on GitHub
This project follows a layered domain architecture. See Architecture for the full domain model, layer structure, and dependency rules. See Golden Rules for the complete list with rationale and enforcement. All project knowledge lives in docs/. Start with the area relevant to your task: Run harness check to validate project structure and documentation.
Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about checking a change actually works.
Of the AGENTS.md files we read, the 11,638 first seen in the last six months, against the older ones: the kind of rule that gained most share, and the kind that lost most. About files like this in general, not this one, and an estimate, since a kind is a pattern in the words.
The file
We split this AGENTS.md into the rules it gives an agent
7 rules. About 0 are common, 3 are distinctive, and 4 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈3
Distinctive · estimate
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 53
All project knowledge lives in docs/.
- Very specific: line 67
Before making changes, read the relevant design doc in docs/design-docs/
- Very specific: line 69
Run harness check before submitting PRs
- Distinctive: line 70
Follow the layer dependency rules in docs/architecture.md
- Distinctive: line 71
When something fails, ask: "What capability is missing?" — then add it
- Very specific: line 87
Run harness check to validate project structure and documentation.
- Distinctive: line 91
When writing complex features or significant refactors, use an ExecPlan (exec-plan skill) from design to implementation.
≈ “Common” is an estimate: at least 1 in 5 of the 16,597 AGENTS.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
youskill-ios
Quick Start
xcodegen generate
DEVELOPER_DIR=/Applications/Xcode.app/Contents/Developer swift test
# requires iOS platform/runtime installed in Xcode
DEVELOPER_DIR=/Applications/Xcode.app/Contents/Developer xcodebuild -project YouSkill.xcodeproj -scheme YouSkill -destination 'generic/platform=iOS Simulator' buildArchitecture Overview
<!-- Describe high-level system architecture in 3-5 sentences --><!-- See docs/architecture.md for detailed layer definitions and dependency rules -->This project follows a layered domain architecture. See Architecture for the full domain model, layer structure, and dependency rules.
Repository Structure
youskill-ios/
├── Sources/ # Swift source organized by architecture layers
├── Tests/ # Shared logic and repository tests
├── Assets.xcassets/ # App colors and icons
├── project.yml # XcodeGen project manifest
├── YouSkill.xcodeproj/ # Generated Xcode project
├── docs/ # System of record for all project knowledge
│ ├── architecture.md # Domain model, layers, dependency rules
│ ├── golden-rules.md # Numbered principles (enforced by harness check)
│ ├── design-docs/ # Design documentation for features and systems
│ ├── exec-plans/ # Versioned execution plans with progress tracking
│ ├── product-specs/ # Product specifications and requirements
│ ├── references/ # External references and integration notes
│ └── generated/ # Auto-generated artifacts (do not edit)
├── .opencode/agents/ # OpenCode subagents (reviewer, planner, sweep)
├── .claude/agents/ # Claude Code subagents (mirrors .opencode/agents/)
└── .harness/rules/ # Custom lint rules (YAML)Golden Rules
- AGENTS.md is a map, not a manual — keep this file under 150 lines
- Validate boundaries — parse and validate data at system edges, never probe
- Prefer shared utilities — centralize invariants, avoid hand-rolled duplicates
- Every decision gets logged — use ExecPlans (exec-plan skill) for complex work
- Fix the environment, not the prompt — when agents struggle, add missing tools/docs/guardrails
See Golden Rules for the complete list with rationale and enforcement.
Documentation
All project knowledge lives in docs/. Start with the area relevant to your task:
| Directory | Purpose |
| docs/architecture.md | System architecture, domains, layers |
| docs/golden-rules.md | Enforced principles and conventions |
| docs/design-docs/ | Design documentation for features |
| docs/exec-plans/ | Execution plans for complex work |
| docs/product-specs/ | Product specifications |
| docs/references/ | External docs, API references |
| docs/generated/ | Auto-generated artifacts |
Working with This Repository
- Before making changes, read the relevant design doc in
docs/design-docs/ - For complex work, create an ExecPlan using the exec-plan skill
- Run
harness checkbefore submitting PRs - Follow the layer dependency rules in docs/architecture.md
- When something fails, ask: "What capability is missing?" — then add it
Build & Test Commands
xcodegen generate
DEVELOPER_DIR=/Applications/Xcode.app/Contents/Developer swift test
# requires iOS platform/runtime installed in Xcode
DEVELOPER_DIR=/Applications/Xcode.app/Contents/Developer xcodebuild -project YouSkill.xcodeproj -scheme YouSkill -destination 'generic/platform=iOS Simulator' buildCode Style & Conventions
<!-- Link to your linter config, formatting rules, naming conventions --><!-- These should be mechanically enforced, not just documented -->Run harness check to validate project structure and documentation.
ExecPlans
When writing complex features or significant refactors, use an ExecPlan (exec-plan skill) from design to implementation.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

