Use when you need to fine-tune(ファインチューニング) and optimize LangGraph applications based on evaluation criteria...
A skill for iteratively optimizing prompts and processing logic in each node of a LangGraph application based on evaluation criteria.
This skill executes the following process to improve the performance of existing LangGraph applications:
.langgraph-master/fine-tune.md (if this file doesn't exist, help the user create it based on their requirements)Important Constraint: Only optimize prompts and processing logic within each node without modifying the graph structure (nodes, edges configuration).
Use this skill in the following situations:
When performance improvement of existing applications is needed
When evaluation criteria are clear
.langgraph-master/fine-tune.mdWhen improvements through prompt engineering are expected
Purpose: Understand optimization targets and current state
Main Steps:
.langgraph-master/fine-tune.md)→ See workflow.md for details
Purpose: Quantitatively measure current performance
Main Steps: 4. Prepare evaluation environment (test cases, evaluation scripts) 5. Baseline measurement (recommended: 3-5 runs) 6. Analyze baseline results (identify problems)
Important: When evaluation programs are needed, create evaluation code in a specific subdirectory (users may specify the directory).
→ See workflow.md and evaluation.md for details
Purpose: Data-driven incremental improvement
Main Steps: 7. Prioritization (select the most impactful improvement area) 8. Implement improvements (prompt optimization, parameter tuning) 9. Post-improvement evaluation (re-evaluate under the same conditions) 10. Compare and analyze results (measure improvement effects) 11. Decide whether to continue iteration (repeat until goals are achieved)
→ See workflow.md and prompt_optimization.md for details
Purpose: Record achievements and provide future recommendations
Main Steps: 12. Create final evaluation report (improvement content, results, recommendations) 13. Code commit and documentation update
→ See workflow.md for details
Serena MCP: Codebase analysis and optimization target identification
find_symbol: Search for LLM clientsfind_referencing_symbols: Identify prompt construction locationsget_symbols_overview: Understand node structureSequential MCP: Complex analysis and decision making
→ See prompt_optimization.md for details
Detailed guidelines and best practices:
Preserve Graph Structure
Evaluation Consistency
Cost Management
Version Control