Skip to content

Latest commit

History

5 Commits

Folders and files

NameName
Last commit message
Last commit date

Repository files navigation

DevLearn

Have your coding agents teach you how to code while they work. Learn while you vibe.

DevLearn is a curriculum of fat agent skills for Cursor, Claude Code, Codex, OpenCode, and other Agent Skills–compatible tools. They explain what, why, and how as the agent builds, fixes, ships, and connects your project — tuned for vibe coders and seasoned developers alike.

Multi-agent install:./install.sh (interactive wizard) or ./install.sh --harnesses cursor,codex,opencode. See shared/agent-compatibility.md.

What's new in v2

  • Personasviber (feel-first lessons) vs seasoned (decision / alternatives / risk, quiet by default)
  • One-command installscripts/install.sh links skills andshared/
  • /devlearn-onboard — 60-second setup writes DEVLEARN.md + .devlearn/
  • Session memory.devlearn/progress.md, .devlearn/decisions.md (ADR-lite)
  • Stack-aware routing — React / Next detected from package.json
  • New skills — recap, before-you-ship, lesson-review, debugging, react, next
  • Ship lifecycle — pre-ship, security, devops, post-ship (+ ship-lifecycle.md)
  • Example projectexamples/todo-app/ with stepped snapshots + LESSONS.md

How it works

flowchart LR
Onboard["/devlearn-onboard"]
DEVLEARN["DEVLEARN.md"]
Meta["teach-while-coding"]
Viber["Lesson block"]
Seasoned["Decision block"]
Deep["explain-diff, recap, topics..."]
Onboard --> DEVLEARN
DEVLEARN --> Meta
Meta --> Viber
Meta --> Seasoned
Viber --> Deep
Seasoned --> Deep
Loading
  1. Install./scripts/install.sh
  2. Onboard/devlearn-onboard or copy DEVLEARN.md
  3. Ambient — lesson or decision blocks after substantive edits
  4. Explicit/devlearn-explain-diff, /devlearn-recap, topic skills, lifecycle skills, etc.

Ship lifecycle

flowchart LR
Plan["before-you-ship"]
Pre["pre-ship"]
Sec["security"]
Dep["deploy"]
Post["post-ship"]
DevOps["devops"]
Plan --> Pre
Pre --> Sec
Sec --> Dep
Dep --> Post
DevOps --> Pre
Loading
StageSkillWhen
Plan before coding/devlearn-before-you-shipLarge refactor planned
Pre-release checklist/devlearn-pre-shipPR ready, before merge/deploy
Security pass/devlearn-securityAuth, secrets, user input
CI/CD/devlearn-devopsGitHub Actions, Docker
Go live/devlearn-deployPublic URL
Verify prod/devlearn-post-shipAfter deploy

Details: shared/ship-lifecycle.md

Copy-paste release day:

/devlearn-pre-ship → /devlearn-security → /devlearn-deploy → /devlearn-post-ship

Quick start

One command (recommended)

From a clone:

git clone https://github.com/mrdulasolutions/DevLearn.git
cd DevLearn
./install.sh

The installer is a 6-step wizard that saves settings to ~/.devlearn/install.conf for upgrades and repair:

  1. Welcome — upgrade, change settings, uninstall, or fresh install if config exists
  2. Locate or clone — finds a valid repo or clones to ~/DevLearn (piped curl | bash always clones)
  3. Harnesses — pick one or many: Cursor, Claude, Codex, OpenCode, Factory, Kiro
  4. Project setup — optional DEVLEARN.md, Cursor rule, Codex AGENTS.md, repo-local .agents/skills
  5. Review plan — shows repo, targets, and symlink paths
  6. Install + verify — links skills + shared/, validates frontmatter spec

Non-interactive examples:

# Piped install (clones to ~/DevLearn, installs Cursor)
curl -fsSL https://raw.githubusercontent.com/mrdulasolutions/DevLearn/main/install.sh | bash -s -- --no-prompt --harnesses cursor --verify
# Multiple harnesses from a local clone
./install.sh --no-prompt --method local --harnesses cursor,codex,opencode --verify
# Team project (Codex + Cursor)
./install.sh --project ~/code/my-app --copy-rule --copy-agents --project-skills --verify
# After git pull — relink skills (no config required if run from clone)cd~/DevLearn && git pull && ./install.sh --repair
# Change saved harnesses / project without full reinstall
./install.sh --settings

No local clone? The curl command clones DevLearn to ~/DevLearn and symlinks skills automatically.

Install flags

FlagPurpose
--harnesses LISTComma-separated: cursor, claude, codex, opencode, factory, kiro, or all
--agent TARGETLegacy alias for --harnesses (all, auto, cursor, codex, …)
--method auto|local|gitAuto-detect repo, use script directory, or clone/update
--git-dir ~/DevLearnClone destination (default ~/DevLearn)
--project ~/code/my-appCopy DEVLEARN.md into a project
--copy-ruleCursor rule → .cursor/rules/devlearn.mdc
--copy-agentsCodex AGENTS.md from template
--project-skillsLink skills → project/.agents/skills
--settingsInteractive settings menu (uses saved config)
--repair / --upgradeRe-link skills after git pull (uses config, symlinks, or local clone)
--uninstallRemove symlinks only (keeps config)
--resetDelete config and run fresh wizard
--verifyPost-install + spec validation
--no-promptNon-interactive
--dry-runShow plan only
--helpFull usage

Saved config: ~/.devlearn/install.conf

Platform details: shared/agent-compatibility.md

Manual install (advanced)

./install.sh --harnesses cursor --verify
# or legacy path:
./scripts/install.sh --no-prompt --harnesses claude

Personas & depth

PersonaYou areAgent emits
viberNew / vibe codingWhat / Why / How + term
seasonedExperienced devDecision / Alternatives / Risk (whitelist only)
autodetectEitherInferred from how you talk
DepthEffect
vibeShort; ship first
curious+ try-it-yourself + tradeoff
deep+ multi-file flow + skill links

Configure in DEVLEARN.md:

persona: autodetectdepth: curiousseasoned_lessons_on: [architecture, security, breaking, deps, perf]

Say anytime: "just ship", "more detail", "explain like PR review".

Skill index

SkillInvoke when
devlearn-onboardFirst-time setup
devlearn-teach-while-codingAmbient teaching (DEVLEARN.md)
devlearn-recap"What did I learn?"
devlearn-before-you-shipPlan before big multi-file code changes
devlearn-lesson-reviewLast explanation too long/basic
devlearn-explain-diffWalk through git diff
devlearn-glossarySession vocabulary
devlearn-curriculum-routerWhat to learn next
devlearn-analyze-websitePaste a URL — learn how the page was built
devlearn-debuggingErrors & stack traces
devlearn-gitCommits, branches, PRs
devlearn-html-cssPages & layout
devlearn-javascriptDOM, events, state
devlearn-reactComponents & hooks
devlearn-nextApp Router, server/client
devlearn-apisREST, env, CORS
devlearn-deployGo live
devlearn-pre-shipRelease checklist before merge/deploy
devlearn-securitySecrets, auth, OWASP-lite
devlearn-devopsCI/CD, Docker, pipelines
devlearn-post-shipSmoke tests, monitoring, rollback

Sample path: todo app → live

Full walkthrough: examples/todo-app/

StepAskSkills
1–2"Build todo page + style it"html-css
3"Add and delete todos"javascript
4"Save across refresh"apis
5"Commit and explain git"git, explain-diff
6"Deploy shareable URL"deploy → post-ship
7"Add CI + pre-ship before next release"devops, pre-ship, security
Wrap/devlearn-recaprecap, router

Example lesson blocks: examples/todo-app/LESSONS.md.

Project artifacts

FileWhen
DEVLEARN.mdConfig (persona, depth, stack)
DEVLEARN_GLOSSARY.mdTerms (glossary: true)
.devlearn/progress.mdSession memory (progress: true)
.devlearn/decisions.mdADR-lite (decisions: true, seasoned)
.devlearn/pre-ship-checklist.mdRelease checklist (pre-ship skill)
.devlearn/post-ship-log.mdPost-deploy verification log

Templates: .devlearn/

Shared docs

FilePurpose
shared/voice.mdTeaching tone
shared/lesson-block.mdViber template
shared/decision-block.mdSeasoned template
shared/lesson-rubric.mdQuality checklist
shared/depth-levels.mdPersona × depth
shared/session-recap.mdRecap format
shared/completion-protocol.mdStatus footers
shared/ship-lifecycle.mdPre → ship → post flow

Contributing

Add a skill: devlearn-<name>/SKILL.md following shared/skill-skeleton.md. Register in this README and curriculum-map.md. Keep shared voice in shared/.

License

MIT — LICENSE

About

Have your coding agents teach you how to code while they work. Learn while you vibe.

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages