agentleFS
FavioVazquezFavioVazquez/learnship/SKILL.md

SKILL.md

Skill61 starsChanged 6 months agoMITView on GitHub

You are working inside a project that uses learnship — a multi-platform agentic engineering system for building real products with spec-driven workflows, integrated learning, and impeccable design. This platform provides three integrated layers: The following workflows are available as platform slash commands (Windsurf) or commands (Claude Code, OpenCode, Gemini CLI, Codex). Suggest the appropriate one when relevant: Read "context" from .planning/config.json (default: "dev"). This controls your output style: The context profile files are at @./contexts/dev.md, @./contexts/research.md, @./contexts/review.md. Read the active…

200 other projects use a version of this.

Adopted by

Most recently taken up by

The file

Show its rules and text

We split this skill into the rules it gives an agent

28 rules. 0 are common, 3 are distinctive, and 25 are very specific to this project.

  • 0

    Common

    Most of the 119 edited versions we read keep these.

  • 3

    Distinctive

    This author's own choices. Worth a look.

  • 25

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Read "context" from .planning/config.json (default: "dev").

    line 49
  2. Very specific:

    All project state lives in .planning/.

    line 70
  3. Distinctive:

    Always read STATE.md and ROADMAP.md before any planning or execution operation to understand current project position.

    line 80
  4. Very specific:

    Read learning_mode from .planning/config.json (default: "auto"):

    line 101
  5. Very specific:

    After requirements approved → @agentic-learning brainstorm (design dialogue on the requirements)

    line 109
  6. Very specific:

    After /discuss-phase → @agentic-learning either-or (capture the decisions made)

    line 110
  7. Very specific:

    After /plan-phase → @agentic-learning cognitive-load (decompose if plan feels overwhelming)

    line 111
  8. Very specific:

    After /execute-phase → @agentic-learning reflect (consolidate the cycle)

    line 112
  9. Very specific:

    After /verify-work passes → @agentic-learning space (queue concepts for spaced revisit)

    line 113
  10. Very specific:

    After /review → @agentic-learning learn (most significant finding as a learning topic)

    line 116
  11. Very specific:

    After /review (on UI changes) → @agentic-learning quiz (gaps in recall predict future bugs)

    line 117
  12. Very specific:

    After /challenge → @agentic-learning either-or (which lens was most valuable?)

    line 118
  13. Very specific:

    After /secure-phase → @agentic-learning learn (security patterns)

    line 119
  14. Very specific:

    After /ship → @agentic-learning reflect (what went well in this cycle?)

    line 120
  15. Very specific:

    After /map-codebase or /discovery-phase → @agentic-learning explain (lock in the project knowledge log)

    line 123
  16. Very specific:

    When studying an unfamiliar function or pattern → @agentic-learning explain-first (oracy-first comprehension check)

    line 124
  17. Very specific:

    After absorbing research files (RESEARCH.md, STACK.md, etc.) → @agentic-learning quiz (test what stuck)

    line 125
  18. Very specific:

    After /ideate → @agentic-learning brainstorm (explore top idea collaboratively)

    line 128
  19. Very specific:

    When stuck across multiple domains in one session → @agentic-learning interleave (mixed retrieval forces transfer)

    line 130
  20. Very specific:

    After /forensics → @agentic-learning reflect (what caused the failure?)

    line 133
  21. Very specific:

    After /extract-learnings → @agentic-learning space (schedule learnings for spaced review)

    line 134
  22. Very specific:

    After /session-report → @agentic-learning reflect (session-level reflection)

    line 135
  23. Very specific:

    When running /new-project, these are non-negotiable hard gates.

    line 169
  24. Very specific:

    AGENTS.md = copy from template: Read @./templates/agents.md BEFORE writing AGENTS.md.

    line 175
  25. Very specific:

    Done = STOP: After displaying the Step 9 done banner, STOP completely.

    line 177
  26. Distinctive:

    Atomic commits: Every task gets its own commit.

    line 182
  27. Very specific:

    Goal-backward verification: Check that must_haves are met in the codebase, not just that tasks ran.

    line 184
  28. Distinctive:

    Deferred ideas: When users suggest things outside the current phase scope, note them for the roadmap backlog — don't act on them …

    line 185

“Common” is measured: kept by at least 6 in 10 of the 119 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

learnship

You are working inside a project that uses learnship — a multi-platform agentic engineering system for building real products with spec-driven workflows, integrated learning, and impeccable design.

Platform Overview

This platform provides three integrated layers:

  1. Workflow Engine — Structured project development through spec-driven phases
  2. Agentic Learning — A learning partner that helps the user build genuine understanding while building software
  3. Frontend Design — Impeccable UI quality for any user-facing work

Active Workflows

The following workflows are available as platform slash commands (Windsurf) or commands (Claude Code, OpenCode, Gemini CLI, Codex). Suggest the appropriate one when relevant:

WorkflowWhen to suggest
/new-projectUser wants to start a new project from scratch
/discuss-phase [N]Before planning a phase — capture user's implementation vision
/plan-phase [N]After discussing a phase — create executable plans
/execute-phase [N]Plans exist and are ready to run
/verify-work [N]Phase execution complete — time for user acceptance testing
/lsUser asks "where are we?", "what's next?", or starts a new session — primary entry point
/nextUser wants to just keep moving without deciding what to do
/quick [task]Small ad-hoc task that doesn't need full phase ceremony
/progressSame as /ls — status overview and routing
/pause-workUser is stopping mid-phase
/resume-workUser is returning to an in-progress project
/complete-milestoneAll phases in the current milestone are done
/compoundJust solved a problem or learned a pattern — capture it while fresh
/reviewCode ready for review — multi-persona quality check
/challengeAbout to commit to a milestone or big feature — stress-test the scope
/shipTests pass, code reviewed — ship it (test → lint → commit → push → PR)
/ideateLooking for what to build next — codebase-grounded idea generation (add --explore for Socratic mode)
/guardWorking on sensitive files — enable safety mode
/sync-docsAfter code changes — detect stale documentation
/forensicsSomething went wrong — post-mortem investigation (read-only)
/undoNeed to revert commits safely — preserves git history
/note [text]Quick idea capture — zero friction, no questions
/session-reportEnd of session — generate summary for stakeholders
/secure-phase [N]After execution — per-phase STRIDE security verification
/docs-updateGenerate or update project documentation
/extract-learnings [N]After phase completion — structured learning extraction
/milestone-summaryGenerate comprehensive milestone summary for team onboarding

Context Profiles

Read "context" from .planning/config.json (default: "dev"). This controls your output style:

  • dev — Concise, action-oriented. Bullet points, short paragraphs. Focus on what to do next.
  • research — Verbose, exploratory. Trade-off analysis, alternatives considered, citations.
  • review — Critical, audit-focused. Severity-ranked findings, evidence-based, nothing assumed safe.

The context profile files are at @./contexts/dev.md, @./contexts/research.md, @./contexts/review.md. Read the active one at the start of any workflow.

Session Hooks (Claude Code + Gemini CLI)

On Claude Code and Gemini CLI, 4 hooks are installed via settings.json:

  • statusLine — Shows model, task/phase, context usage bar
  • context-monitor — Warns at 35% remaining (WARNING) and 25% remaining (CRITICAL)
  • prompt-guard — Scans .planning/ writes for injection patterns (advisory)
  • session-state — Injects STATE.md orientation at session start

These are automatic — no workflow action needed. If context warnings appear, respect them.

Planning Artifacts

All project state lives in .planning/. Key files:

  • .planning/config.json — Settings including learning_mode ("auto" or "manual"), context profile
  • .planning/PROJECT.md — Vision, requirements, key decisions
  • .planning/ROADMAP.md — Phase-by-phase delivery plan
  • .planning/STATE.md — Current position, decisions, blockers
  • .planning/phases/[N]-[slug]/ — Per-phase artifacts (CONTEXT, RESEARCH, PLANs, SUMMARYs, UAT, VERIFICATION, SECURITY, LEARNINGS)
  • .planning/notes/ — Quick notes captured via /note
  • .planning/reports/ — Session reports and forensic reports

Always read STATE.md and ROADMAP.md before any planning or execution operation to understand current project position.

Agent Personas

Reference these files when adopting a specific role:

  • @./agents/planner.md — Creating PLAN.md files
  • @./agents/researcher.md — Researching domain or phase
  • @./agents/executor.md — Implementing plans (atomic commits, no scope creep)
  • @./agents/verifier.md — Verifying plans or phase goal achievement
  • @./agents/debugger.md — Diagnosing root causes (read-only, never fix)
  • @./agents/solution-writer.md — Writing solution documents for .planning/solutions/
  • @./agents/code-reviewer.md — Multi-persona code review through specific lenses
  • @./agents/challenger.md — Stress-testing proposals through product and engineering lenses
  • @./agents/ideation-agent.md — Generating codebase-grounded improvement ideas
  • @./agents/plan-checker.md — Verifying PLAN.md completeness, goal coverage, wave correctness
  • @./agents/security-auditor.md — Per-phase STRIDE threat verification (read-only)
  • @./agents/doc-writer.md — Writing and updating project documentation

Learning Mode

Read learning_mode from .planning/config.json (default: "auto"):

  • auto — Proactively offer learning actions at natural workflow checkpoints (after planning, execution, verification)
  • manual — Only activate @agentic-learning when the user explicitly asks

Learning checkpoints (auto mode triggers these; manual mode surfaces them as tips):

Core phase loop:

  • After requirements approved → @agentic-learning brainstorm (design dialogue on the requirements)
  • After /discuss-phase → @agentic-learning either-or (capture the decisions made)
  • After /plan-phase → @agentic-learning cognitive-load (decompose if plan feels overwhelming)
  • After /execute-phase → @agentic-learning reflect (consolidate the cycle)
  • After /verify-work passes → @agentic-learning space (queue concepts for spaced revisit)

Quality gates:

  • After /review → @agentic-learning learn (most significant finding as a learning topic)
  • After /review (on UI changes) → @agentic-learning quiz (gaps in recall predict future bugs)
  • After /challenge → @agentic-learning either-or (which lens was most valuable?)
  • After /secure-phase → @agentic-learning learn (security patterns)
  • After /ship → @agentic-learning reflect (what went well in this cycle?)

Discovery, mapping, comprehension:

  • After /map-codebase or /discovery-phase → @agentic-learning explain (lock in the project knowledge log)
  • When studying an unfamiliar function or pattern → @agentic-learning explain-first (oracy-first comprehension check)
  • After absorbing research files (RESEARCH.md, STACK.md, etc.) → @agentic-learning quiz (test what stuck)

Ideation and complex tasks:

  • After /ideate → @agentic-learning brainstorm (explore top idea collaboratively)
  • During complex /quick tasks → @agentic-learning struggle (productive struggle on hard parts)
  • When stuck across multiple domains in one session → @agentic-learning interleave (mixed retrieval forces transfer)

Recovery and reflection:

  • After /forensics → @agentic-learning reflect (what caused the failure?)
  • After /extract-learnings → @agentic-learning space (schedule learnings for spaced review)
  • After /session-report → @agentic-learning reflect (session-level reflection)

Design Skill

The impeccable skill suite is always available for any UI work. Use its 21 steering commands when reviewing or building user-facing interfaces:

Review & critique: /audit, /critique, /teach-impeccable Refine & elevate: /polish, /bolder, /quieter, /distill, /clarify, /normalize, /extract, /adapt Specific concerns: /colorize (color/contrast), /typeset (typography), /arrange (layout/spacing), /animate (motion), /onboard (first-time UX), /delight (interaction polish) Engineering attributes: /harden (accessibility, resilience), /optimize (performance), /overdrive (push design quality to its ceiling) Foundations: /frontend-design (full design system reference: typography, color, spatial, motion, interaction, responsive, UX writing)

Mandatory Gate — No Project, No Work

Before responding to any user message, check:

Does .planning/PROJECT.md exist?
  • No → The project has not been initialized. Do NOT implement anything. Tell the user:

    "This project hasn't been set up with learnship yet. Run /new-project to initialize it — that takes about 10 minutes and sets up the spec, roadmap, and phase structure before any code gets written.

    This is not optional: working without a spec means building the wrong thing. /new-project first."

    Then stop. Do not offer to help with the task. Do not say "but I can also just fix it directly." Wait for the user to run /new-project.

  • Yes → Continue normally. Apply the workflow routing logic from AGENTS.md.

This gate applies to ALL messages — bug reports, feature requests, "quick fixes", detailed specs, anything. The only exception: if the user is currently mid-ceremony in /new-project (i.e., they are answering your questions), their messages are workflow answers, not tasks to route.

/new-project Ceremony Enforcement

When running /new-project, these are non-negotiable hard gates. Violating any of them produces a broken project:

  1. Research decision = always ask the user. After PROJECT.md is confirmed, you MUST ask: "Do you want me to research the domain ecosystem first?" and WAIT for a reply. You are FORBIDDEN from deciding this yourself — even if the tech stack is defined in PROJECT.md, the domain seems trivial, or the user gave detailed answers. Never say "no research needed" or "skipping research" on your own.
  2. Research = WEB SEARCH then WRITE 5 FILES TO DISK. "Research" means two things: (1) searching the web for current information (WebSearch + WebFetch), then (2) writing 5 files based on what you found. Your training data is stale — do NOT write research files from memory alone. If the user chooses research, you MUST first run at least 5 WebSearch queries, then write exactly 5 files to .planning/research/: STACK.md, FEATURES.md, ARCHITECTURE.md, PITFALLS.md, SUMMARY.md. Include confidence levels (HIGH/MEDIUM/LOW) and cite sources. Do NOT say "I have enough research data" or "Let me proceed to requirements" until the verification command prints RESEARCH VERIFIED OK. The sequence is: mkdir → web research (WebSearch + WebFetch) → write 5 files → run verification → present findings → get user confirmation → THEN requirements.
  3. AGENTS.md = copy from template. Read @./templates/agents.md BEFORE writing AGENTS.md. Sections marked "copy VERBATIM" must be copied word-for-word — do not rewrite, summarize, or rephrase them. After writing, run the node -e verification command. If it fails, fix AGENTS.md before proceeding.
  4. Done = STOP. After displaying the Step 9 done banner, STOP completely. Do NOT automatically start /discuss-phase 1. Do NOT say "Let me start Phase 1" or "Now starting Phase 1." Wait for the user to type their next command.

Key Behaviors

  • Context efficiency: Reference file paths rather than inlining file contents. Load context fresh when needed rather than carrying it forward.
  • Atomic commits: Every task gets its own commit. Never batch unrelated changes.
  • No scope creep: Execute exactly what plans say. Document deviations in SUMMARY.md.
  • Goal-backward verification: Check that must_haves are met in the codebase, not just that tasks ran.
  • Deferred ideas: When users suggest things outside the current phase scope, note them for the roadmap backlog — don't act on them immediately.

Reference Files

  • @./references/questioning.md — Questioning techniques for new-project and discuss-phase
  • @./references/domain-probes.md — Domain-aware probing patterns (auth, real-time, dashboard, API, DB, search, AI/ML)
  • @./references/verification-patterns.md — How to verify implementation quality
  • @./references/git-integration.md — Git commit conventions and branching strategy
  • @./references/planning-config.md — Config.json schema and options
  • @./references/solution-schema.md — YAML frontmatter schema for .planning/solutions/
  • @./references/thinking-models.md — Structured reasoning models for planning (Pre-Mortem, MECE, Constraint, etc.)
  • @./references/universal-anti-patterns.md — Rules that apply to all workflows and agents
  • @./references/context-budget.md — Context window management and degradation tiers
  • @./references/gates.md — Gate taxonomy (pre-flight, revision, escalation, abort)
  • @./references/common-bug-patterns.md — Stub detection, wiring gaps, state drift patterns

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.