Files
a0_software_orchestrator/help/library/extract.md
T
Software Orchestrator 5769c1cd22 Initial commit: a0_software_orchestrator v1.0
- Auto-Registration-Bug behoben (register_project/get_project_id/resolve_project Trennung)
- 25 Tests gruen (Pytest)
- block_compactor-Tool refactored (Option B: Soft-Check statt Hard-Block)
- 4 Restbaustellen gefixt
- DB-Schema: plugin_settings-Tabelle hinzugefuegt
- 3 Schattenprojekte aus DB geloescht
- Plan v3 + Refactor-Plan + Worklog dokumentiert
2026-06-16 22:13:06 +00:00

37 lines
1.3 KiB
Markdown

---
name: library-extractor
description: Extract patterns from completed project artifacts into the self-learning patterns library.
tags: ['library', 'extract', 'learning']
---
# Library Extractor
## Purpose
Capture reusable patterns from completed project work and store them in the patterns library for future reuse.
## When to Use
- After a major project milestone
- When a novel design decision is made
- When an error is resolved with a non-obvious solution
- When a best practice is discovered
## When Not to Use
- For trivial implementations (CRUD, boilerplate)
- For project-specific code (not reusable)
- For incomplete work (wait for validation)
## Procedure
1. Identify the pattern: what worked, why it worked, when to reuse it
2. Categorize: architecture_decision, best_practice, error_solution, design_pattern, etc.
3. Capture: title, description, content (with code if relevant), tags, project_id
4. Call the library-extractor API:
```
POST /api/plugins/a0_software_orchestrator/library_extract
{"title": "...", "description": "...", "category": "...", "content": "...", "tags": [...], "project_id": "..."}
```
5. Verify the pattern was stored (check via library-query)
## See Also
- Help: `library/query.md`
- API: `/api/plugins/a0_software_orchestrator/library_extract`