agentleFS
WhorideChickenWhorideChicken/first-playable/skills/feature/SKILL.md

feature

Skill3 starsChanged 4 months agoMITView on GitHub

Spec-first feature development for Unity — writes a Feature Spec referencing game rule IDs, gets approval, then implements pure logic, tests, and Unity integration in that order. Use when the user says /first-playable:feature <name>.

33 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use bug, bugfix and 9 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • pvnarpSkill

    bug

    Investigates and resolves bugs using structured diagnosis. Categorizes by system, traces root cause, proposes minimal fix, and suggests prevention. Use when debugging issues or investigating unexpected behavior.

    Also in 4 projects that use this

  • janroudautSkill

    bugfix

    Test-first bug diagnosis and fix — reproduce, fix, verify, iterate

    Also in 5 projects that use this

  • Google CloudSkill

    fix

    Plan a remediation strategy after a test failure.

    Also in 5 projects that use this

  • OpenAISkill

    ideate

    Generate image-based alternatives, remixes, or new design directions from a Product Design brief. Use when the user asks for design variants, visual exploration, remixes, or image-generated approaches from provided context.

    Also in 3 projects that use this

  • SentrySkill

    review

    Fixture review skill.

    Also in 11 projects that use this

  • AnthropicSkill

    status

    Case status summary by audience — client-facing (plain language), internal (for the professor), or court-ready (formal caption format per local rules). Same facts, different framing and depth. Use when a student needs to update the client, brief the professor, or prepare a court status report.

    Also in 4 projects that use this

The file

We split this skill into the rules it gives an agent

4 rules. 0 are common, 2 are distinctive, and 2 are very specific to this project.

  • 0

    Common

    Most of the 32 edited versions we read keep these.

  • 2

    Distinctive

    This author's own choices. Worth a look.

  • 2

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Only implement what the approved spec includes.

    line 26
  2. Very specific:

    Every scene-wiring Editor script must ship with a Verify() that re-reads what it just assigned and logs the result.

    line 72
  3. Very specific:

    Read references/unity-testing.md in this plugin before implementing — it covers the humble-object split (pure logic in Game.Core, thin …

    line 78
  4. Distinctive:

    Follow the asmdef boundaries set up by bootstrap.

    line 82

“Common” is measured: kept by at least 6 in 10 of the 32 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Feature Spec & Implementation

You are running Phase 5 of the FirstPlayable workflow. Never implement a feature without an approved spec. The spec — not the conversation — defines what "done" means.

Order of work

read design docs (Docs/Game, Docs/Design)
→ survey related code and packages already in the project
→ write the Feature Spec (Draft)
→ user approves the spec
→ implement pure C# logic (no UnityEngine dependencies where possible)
→ EditMode tests for the pure logic
→ Unity integration (MonoBehaviours, scenes, prefabs via MCP/Editor API)
→ PlayMode tests
→ hand off to /first-playable:verify

Only implement what the approved spec includes. If mid-implementation you discover the spec is wrong, stop, update the spec, and get re-approval — do not quietly diverge.

Feature Spec

Location: Docs/Features/<FEATURE_NAME>.md (template: templates/features/FEATURE_SPEC.md).

# Feature: Player Movement

## Status
Draft | Approved | Implementing | Verified

## Purpose
## Player's perspective
## Referenced rules
- MOVE-001          # every behavior must trace to a GAME_RULES.md ID

## In scope
## Out of scope
## Behavior rules
## Initial tuning values
| Item | Value | Status |
|---|---:|---|
| Move speed | 5 | TEMPORARY |

## Done conditions
## EditMode tests
## PlayMode tests
## Manual play checks     # things only a human can judge (feel, readability)
## Open questions

Scene wiring order (recompilation drops inspector references)

Assigning inspector references and then editing scripts loses those assignments: the domain reload can null out serialized fields, and the scene looks wired while the game does nothing. Always:

edit scripts  →  confirm compile finished  →  wire the scene  →  save
              →  read the references back and log them

Every scene-wiring Editor script must ship with a Verify() that re-reads what it just assigned and logs the result. Cheap to write, and it catches both this failure and typo'd lookups immediately.

Implementation rules

  • Read references/unity-testing.md in this plugin before implementing — it covers the humble-object split (pure logic in Game.Core, thin MonoBehaviour adapters), EditMode/PlayMode test patterns, common PlayMode pitfalls, and what NOT to test.
  • Follow the asmdef boundaries set up by bootstrap; check them before adding code.
  • Tuning values marked TEMPORARY go in serialized fields or configs — never scattered magic numbers.
  • Include the referenced rule ID in test names or descriptions (e.g. Move001_KnockbackSuppressesInput).
  • Scene/Prefab changes go through Unity MCP or Editor API only.

Default feature order (from DEVELOPMENT_ORDER.md)

input → movement → camera → core action → interaction targets → win/lose → restart

One feature per invocation. Finish and verify before starting the next.

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.