continuouslearning
Installation
Review the source and dependencies with a prompt. A package is available to download.
Install with an AI assistant
Copy the prompt so your assistant can review the pinned revision and dependencies first.
View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "continuouslearning" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-a2e414352c2ea23ff771b43b8b3c2e526bd0f58f0bbf273a330a576c828d00e8. Verify the upstream source and version against https://skillhub.cn/skills/user_3c6cb52e/continuous-learning-6hx0 before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.
Source and setup
skillhub.cn
Setup guidance pending
See the original source for supported tools, dependencies, and permissions.
Installation test pending
Skill for continuous learning to help AI agents efficiently complete related tasks.
Introduction source: third_party · user_3c6cb52e · 1.0.0 Reference
SkillPi interpretation
- Tasks
- After every significant coding session, extract and categorize learnings into three buckets:
- Testing
- Not tested
Browse files
Frontmatter
name: Continuouslearning
slug: continuous-learning
version: 1.0.0
displayName: Continuouslearning
description: >
ContinuousLearning专用技能,帮助AI Agent高效完成相关任务。
summary: "ContinuousLearning专用技能,帮助AI Agent高效完成相关任务。"
license: MIT
category: 开发者工具
framework:
- Claude Code
- Codex
- Hermes Agent
- OpenClaw
- QClaw
- WorkBuddy
platform: multi-platform
homepage: "https://github.com/1991513ccie-png"
repository: "https://github.com/1991513ccie-png"Continuous Learning
Pattern Extraction Framework
After every significant coding session, extract and categorize learnings into three buckets:
- Corrections - Mistakes caught during review or by the user
- Successful Approaches - Patterns that worked well and should be repeated
- Anti-Patterns - Approaches that caused problems and should be avoided
Learning Entry Format
pattern:
id: "LEARN-2025-0042"
category: "error-handling"
type: "correction" # correction | success | anti-pattern
confidence: 0.85 # 0.0 to 1.0
language: "typescript"
context: "API error responses"
observation: "Returning raw error messages from database exceptions exposes internals"
lesson: "Always map database errors to application-level error codes before returning"
example:
before: "catch (e) { res.status(500).json({ error: e.message }) }"
after: "catch (e) { logger.error(e); res.status(500).json({ error: 'INTERNAL_ERROR' }) }"
frequency: 3 # times this pattern has been observed
last_seen: "2025-06-15"
Confidence Scoring
| Score | Meaning | Action |
|---|---|---|
| 0.95+ | Verified across multiple projects | Apply automatically |
| 0.80-0.94 | Confirmed in this codebase | Apply and mention |
| 0.60-0.79 | Observed but not fully validated | Suggest with caveat |
| 0.40-0.59 | Hypothesis based on limited data | Ask before applying |
| <0.40 | Speculative, needs validation | Document but do not apply |
Update confidence based on:
- +0.10 when pattern is confirmed correct by user
- +0.05 when pattern is observed again in a different context
- -0.15 when pattern leads to a correction
- -0.20 when pattern is explicitly rejected by user
Session Wrap-Up Protocol
At the end of each session or before context compaction:
- Review changes made - Scan diffs for patterns
- Identify corrections - What was changed after initial implementation?
- Note successful first-attempts - What worked without revision?
- Record environment details - Framework versions, config specifics
- Update confidence scores - Adjust based on session outcomes
- Write to knowledge base - Append new entries to CLAUDE.md or LEARNED.md
## Session Learnings (2025-06-15)
### Corrections Applied
- [0.85] TypeScript: Use `satisfies` instead of `as` for type narrowing with object literals
- [0.90] Next.js: Server Actions must be async functions, even for synchronous operations
### Successful Patterns
- [0.80] PostgreSQL: Partial indexes on status columns reduced query time by 60%
- [0.75] React: Extracting data fetching into Server Components eliminated 3 useEffect hooks
### Anti-Patterns Identified
- [0.70] Avoid: Nesting more than 2 levels of Suspense boundaries (causes waterfall)
- [0.65] Avoid: Using `any` to suppress TypeScript errors in catch blocks (use `unknown`)
Knowledge Base Organization
Structure the knowledge base by domain:
knowledge/
error-handling.md # Error patterns across languages
testing.md # Test patterns and anti-patterns
performance.md # Optimization learnings
api-design.md # API design decisions
deployment.md # Infrastructure learnings
project-specific.md # Current project conventions
Each file follows the same entry format. Deduplicate entries with matching observation fields by incrementing frequency and updating confidence.
Correction Tracking
When a user corrects code or approach:
- Record what was originally produced
- Record what the correction was
- Identify the root cause (wrong assumption, missing context, outdated pattern)
- Create or update a learning entry
- Search for similar patterns that might need the same correction
### Correction Log
- **Original**: Used `useEffect` to fetch data on mount
- **Correction**: Moved data fetching to Server Component
- **Root cause**: Applied client-side SPA pattern in Server Component context
- **Generalization**: In Next.js App Router, prefer server-side data fetching for initial page data
- **Confidence**: 0.90 (confirmed across 4 components)
Pattern Reinforcement
Track how often patterns are applied and whether they hold:
Pattern: "Use zod for API input validation"
Applied: 12 times
Confirmed: 11 times
Corrected: 1 time (edge case with file uploads)
Confidence: 0.92
Status: ESTABLISHED
Statuses:
- EMERGING (frequency < 3) - New pattern, needs validation
- GROWING (frequency 3-7) - Building evidence, apply with mention
- ESTABLISHED (frequency 8+, confidence > 0.85) - Apply automatically
- DEPRECATED - Once valid, now superseded by a better approach
Integration with Memory Files
Store learnings in the project's memory file (CLAUDE.md or equivalent):
- High-confidence learnings (>0.85) go in the main instructions section
- Medium-confidence (0.60-0.84) go in a dedicated "Learnings" section
- Low-confidence (<0.60) stay in session notes until validated
- Deprecated patterns move to an archive section with reason for deprecation
Review and prune the knowledge base monthly. Remove entries that have not been referenced in 90 days and have confidence below 0.70.
Current listing version
1.0.0
Safety and assessment details
Quality assessment
Out of 100 · Assessment report from SkillPi LAB.
Highlights
- 提供完整的持续学习框架,包括模式提取、置信度评分和会话总结协议
- 适用于开发者工具场景,能帮助AI Agent积累和复用编码经验
Highlights
- 触发词精准完整,覆盖持续学习、AI Agent等核心概念
- description字段内容完整,边界清晰
Highlights
- 结构清晰,包含多个逻辑完整的章节和详细示例
- frontmatter完整,格式规范
Highlights
- 置信度评分机制和模式状态管理逻辑自洽
- 知识库组织方案合理,包含去重和归档机制
The arithmetic mean of the first four original scores, rounded to a whole number.
Static text checks
100 / 100 · skillpi-20261123-no-r3-v1
No current rules matched the text.
This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.
Permissions and checks before use
Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.
These common operations were not identified in the main document. This does not mean no permissions or risks exist.
Domains or addresses referenced in the document
These addresses may be documentation links or examples, not an approved network allowlist. Verify actual destinations and outgoing data before use.
- github.com
Security rating and access scope
safe · Static evidence review; not a runtime safety guarantee.
Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.
User discussion
No verified reviews yet.