원클릭으로
learning-loop
Protocol for QA, error verification, and skill evolution to prevent recurring bugs.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Protocol for QA, error verification, and skill evolution to prevent recurring bugs.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Guidelines for Domain-Driven Design and Clean Architecture dependency rules. Trigger: When creating new UseCases, Repositories, or planning module structure.
Guidelines for using Drizzle ORM with SQLite. Trigger: When writing SQL queries, migrations, or modifying schema definitions.
Expo Managed Workflow guidelines. Trigger: When configuring app.json, installing native libraries, or dealing with permissions/plugins.
FontStock Database Schema and Seeding. Trigger: When defining tables, relations, or initial data.
FontStock business logic for inventory (expiry, search indexing). Trigger: When calculating dates, validating product inputs, or implementing search filters.
FontStock Navigation guidelines (Expo Router). Trigger: When adding routes, links, or configuring layouts.
| name | learning-loop |
| description | Protocol for QA, error verification, and skill evolution to prevent recurring bugs. |
This skill defines the protocol for verifying fixes and updating the knowledge base to prevent future errors.
Trigger: Immediately after applying a fix for a reported error (compiler error, runtime crash, logic bug).
Action:
Trigger: User confirms the fix worked.
Action:
react-native-style for layout issues, typescript-strict for type errors, or drizzle-orm for SQL issues).AGENTS.md.You must document WHY it failed and HOW to solve it correcty.
> [!CAUTION]
> **AVOID** [Specific Pattern/Code]
> **BECAUSE** [Reason/Context/Side-effect]
> **CORRECT APPROACH**: [Solution/Best Practice]
If the error was Text strings must be rendered within a <Text> component:
Target File: skills/react-native-style/SKILL.md
Append:
> [!CAUTION]
> **AVOID** placing raw strings directly inside `<View>` or `<TouchableOpacity>`.
> **BECAUSE** React Native requires all text to be wrapped in `<Text>` components, otherwise it throws a runtime error.
> **CORRECT APPROACH**: Always wrap labels in `<Text>Label</Text>`.
When you encounter a similar task in the future, ALWAYS check the relevant SKILL.md for these [!CAUTION] blocks before generating code.
The protocol does not store everything in a single giant file. By separating content into folders (e.g., skills/auth/, skills/ui/, skills/database/), information is fragmented into digestible pieces.
Benefit: I only read the "Skill" relevant to the current task, saving memory and processing time.
When a list of [!CAUTION] blocks becomes too long, the protocol evolves:
From Rules to Patterns: If there are 10 distinct errors about handling dates, instead of 10 separate warnings, create a single "Standard Operating Procedure" (SOP) in the SKILL.md summarizing the definitive way to work with dates.
Hierarchy: Critical rules (system-breaking) remain at the top; subtler ones are archived or integrated into style guides.
As the project grows, the repository becomes an engineering asset.
For You: It serves as an encyclopedia of why certain technical decisions were made (historical context).
For New Developers (or IAs): Instead of weeks of training, they simply read the Skills to understand exactly what NOT to do.
If a problem arises that does not fit into any existing skill, it likely indicates a missing skill category.
Action: