erne-learn
- Repo stars 36
- License MIT
- Author updated Live
- Author repo everything-react-native-expo
- Domain
- Data
- Compatible agents
-
- Claude Code
- Cursor
- Cline
- Codex
- Windsurf
- Gemini CLI
- +20
- Trust score
- 94 / 100 · audit passed
- Author / version / license
- @JubaKitiashvili · MIT
- Token usage
- Lean
- Setup complexity
- Guided setup
- External API key
- Not required
- Operating systems
- macOS · Linux · Windows
- Runtime requirements
- Node.js
- Permissions
-
- Read-only
- Write / modify
- Shell exec
- Network behavior
- Local-only
- Install commands
- 26 variants
Profile is derived at build time from SKILL.md and install vectors. Subject to drift from author intent.
Heads up: 未限定 allowed-tools,默认拥有全部工具权限。
---
name: erne-learn
description: ERNE — Manual skill generation — runs continuous-learning-v2 scripts to extract patterns from se…
category: data
runtime: Node.js
---
# erne-learn output preview
## PART A: Task fit
- Use case: ERNE — Manual skill generation — runs continuous-learning-v2 scripts to extract patterns from session You are executing the /erne-learn command. This is script-driven — it runs the continuous-learning-v2 pipeline directly. runs entirely locally; runs on Node.js. Works with Claude Code, Cursor, Cline and 23 more..
- Inputs: target material, constraints, expected output, and acceptance criteria.
- Evidence boundary: follow “What This Does / Process / When to Use” and do not present inference as author intent.
## PART B: Execution result
- **01** The card summarizes the use case; runtime output centers on “ERNE — Manual skill generation — runs continuous-learning-v2 scripts to extract patterns from session You are executing the /erne-learn command. This is script-driven — it runs the continuous-learning-v2 pipeline directly. runs entirely locally; runs on Node.js. Works with Claude Code, Cursor, Cline and 23 more.”.
- **02** When the source has headings, the agent prioritizes “What This Does / Process / When to Use” so the result follows the author’s structure.
- **03** Typical output includes task judgment, concrete steps, required commands or file edits, validation, and follow-up options.
- **04** Risk context follows the fingerprint: read files, write/modify files, run shell commands; mostly runs locally; usually needs no extra API key.
## Running Rules
- read files, write/modify files, run shell commands; mostly runs locally; usually needs no extra API key.
- Validate with a small sample before expanding scope.
- Return the result, validation criteria, and next iteration options. The source mentions slash commands such as `/erne-learn`; use them first when your agent supports command triggers.
Name target files or source material, expected output, forbidden changes, and whether network or shell access is allowed. Permission fingerprint: read files, write/modify files, run shell commands.
Start with a small task and check whether the result follows “What This Does / Process / When to Use”. Inspect diffs, logs, previews, or tests before expanding scope.
Confirm the final output includes a concrete result, evidence, and next action. If it stays generic, tighten inputs, boundaries, and acceptance criteria.
---
name: erne-learn
description: ERNE — Manual skill generation — runs continuous-learning-v2 scripts to extract patterns from se…
category: data
source: JubaKitiashvili/everything-react-native-expo
---
# erne-learn
## When to use
- ERNE — Manual skill generation — runs continuous-learning-v2 scripts to extract patterns from session You are executin…
- Use it when the task has clear inputs, repeatable steps, and validation criteria.
## What to provide
- Target material, scope, expected result, and forbidden changes.
- Whether network, commands, file writes, or external services are allowed.
## Execution rules
- Organize steps around “What This Does / Process / When to Use” and keep inference separate from source facts.
- read files, write/modify files, run shell commands; mostly runs locally; usually needs no extra API key.
- Validate with a small sample before expanding the task.
## Output requirements
- Return the deliverable, key evidence, validation method, and next action.
- Mark missing information as unknown; do not invent commands, platforms, or dependencies. The author source anchors workflow facts; repository files anchor sources and commands; Fluxly only adds fit, limitations, and quality judgment.
skill "erne-learn" {
input -> user goal + target files + boundaries + acceptance criteria
context -> What This Does / Process / When to Use
rules -> SKILL.md triggers / order / output contract
runtime -> Node.js | read files, write/modify files, run shell commands | mostly runs locally
guardrails -> usually needs no extra API key + small-sample validation + diff/log review
output -> copyable result + checklist + next iteration
} /erne-learn — Generate Skills from Session
You are executing the /erne-learn command. This is script-driven — it runs the continuous-learning-v2 pipeline directly.
What This Does
Analyzes the current coding session to extract reusable patterns and save them as skills or rule amendments for future sessions. This is the manual trigger for what PostToolUse hooks do automatically.
Process
- Run the extraction script:
node .claude/hooks/scripts/extract-session-patterns.js
This script:
- Scans recent tool calls and file changes
- Identifies patterns (repeated fixes, style corrections, common architectures)
- Compares against existing rules and skills
- Generates candidates for new content
- Review candidates: The script outputs a list of potential learnings:
[PATTERN] Zustand store always uses immer middleware → Suggest rule amendment
[PATTERN] All screens use SafeAreaView wrapper → Suggest coding-style rule
[PATTERN] API calls always retry 3 times → Suggest pattern rule
[SKILL] Complex form validation flow → Suggest skill creation
- Approve or reject each candidate: For each candidate, decide:
- Approve → Script writes to
.claude/rules/or.claude/skills/ - Reject → Skip this pattern
- Edit → Modify before saving
- Validate new content:
node .claude/hooks/scripts/validate-content.js
Ensures new rules/skills have valid frontmatter and don't conflict with existing content.
When to Use
- After a long coding session where you established new patterns
- When you notice yourself repeatedly making the same corrections
- After integrating a new library and establishing conventions
- Periodically to capture accumulated project knowledge
Note
The automatic PostToolUse hook (continuous-learning-v2.cjs) does lightweight extraction after every tool call. This /erne-learn command runs a comprehensive analysis that catches patterns the real-time hook might miss.
Decide Fit First
Design Intent
How To Use It
Boundaries And Review