RCP-001-001-013-PROJECT-FILE-INFO-EXTRACTOR – Project File Information Extractor for Cross-Project Persistence


How To Start
- After hundreds (perhaps thousands) of hours of using these recipes, I rarely need to use any of the CORE Cookbook recipes aside from Recipes RCP-001-001-002-HANDOFF-SNAPSHOT and RCP-001-001-002-HANDOFF-SNAPSHOT, but when I do, they are essential to the functioning of CRAFT. Also, the A.I. reads all of these recipes at the start of each session. This happens quietly in the background. Even though you may never need to call the recipe, the A.I. will know all of them and it helps the A.I. to understand what CRAFT is and how it works. Even if you rarely need to use these recipes, they are still working for you and are essential to the CRAFT Framework.
- #AI->H::Status: (Initializing project review for project_id) Load and scan project files: Project Implementation File All Handoff Snapshots (if include_handoffs True) Test results and documentation
- Scan project files for potentially reusable content across these categories: FUNCTIONS AND METHODS New utility functions created Improvements to existing functions Novel function patterns VARIABLE PATTERNS Useful configuration structures Effective naming conventions Multi-modal variable approaches OBJECTS AND CLASSES New object types created Useful class patterns Object composition strategies WORKFLOW INNOVATIONS Process improvements discovered Effective comment usage patterns Handoff optimizations RECIPE IDEAS Repeated procedures that could become recipes Ad-hoc solutions worth formalizing Patterns from successful interactions LESSONS AND INSIGHTS What worked particularly well What challenges were overcome Best practices discovered
- #AI->H::Status: (Found potentially valuable content) Present organized findings by category: FUNCTIONS DISCOVERED Function name with brief description Location where found Purpose and potential value elsewhere VARIABLE PATTERNS Pattern name with brief description Example showing structure Use case for future projects WORKFLOW INNOVATIONS Innovation name What makes it valuable #AI->H::Question: (Which discoveries interest you most for preservation?)
- For each item user shows interest in: #AI->H::Status: (Examining: item name) Present full context: Complete code or pattern or content Project-specific elements to remove Generalizable aspects to preserve Suggested modifications for reuse: Remove project-specific names Add parameters for flexibility Include usage documentation #AI->H::RequiredQuestion: (Should we extract this for framework use? If yes, what modifications?)
- For each item marked for extraction: #AI->H::Status: (Determining location for item) DESTINATION OPTIONS Option 1: Framework Specification Best for core functions and fundamental patterns Specify target section Option 2: Cookbook File Best for recipes and repeatable procedures Identify appropriate cookbook Option 3: Best Practices Document Best for lessons learned and workflow tips Suggest documentation format #AI->H::RequiredQuestion: (Where should this item be placed? Option 1, 2, or 3?)
- If naming conflicts detected: #AI->H::Caution: (Naming conflict detected) Show current usage in project versus existing framework item with similar name. RENAMING OPTIONS Prefix approach: PROJECT_OriginalName Descriptive approach: MoreSpecificName Versioned approach: Name_v2 Namespace approach: ProjectPatterns.Name #AI->H::RequiredQuestion: (Which naming approach?)
- #AI->H::Status: (Creating extraction report) PROJECT EXTRACTION REPORT Extraction Date: current date Items Identified: total count Items Selected: selected count FOR FRAMEWORK SPECIFICATION Section to add to Source project reference Formatted content ready to paste FOR COOKBOOK Recipe name and category Source project reference Formatted recipe content FOR BEST PRACTICES Practice name Formatted insight or lesson
- #AI->H::Status: (Final review before preservation) PRE-PRESERVATION CHECKLIST All project-specific references removed Documentation added for each item Naming conflicts resolved Destination files identified Content formatted correctly ITEMS READY FOR PRESERVATION List each item with destination #AI->H::Note: (Copy formatted sections to preserve discoveries) #AI->H::Question: (Any other patterns to capture before concluding?)
When to Use This Recipe
Recipe FAQ
A: Run when concluding a project to ensure valuable
discoveries are preserved for future projects rather
than lost when the project files are archived. Q: What if I find many items to extract?
A: The recipe handles multiple items through iterative
evaluation. Prioritize highest-value patterns first. Q: Can this extract from multiple projects at once?
A: The recipe focuses on one project at a time. Run
separately for each project being concluded. Q: What about project-specific code?
A: Step 4 specifically identifies project-specific
elements and guides generalization for reuse. Q: Where do extracted items actually go?
A: You manually paste formatted content into the
destination files. The recipe prepares copy-ready
content but does not modify files directly.
