forked from anthropics/claude-cookbooks
-
Couldn't load subscription status.
- Fork 0
[pull] main from anthropics:main #38
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This commit completes Phase 1 and Phase 2 (Notebook 1) of the Skills Cookbook implementation. ## Key Features ### Infrastructure - Created comprehensive project structure with notebooks/, sample_data/, custom_skills/, and outputs/ directories - Added requirements.txt with anthropic SDK 0.69.0 (local whl) - Created .env.example with required configuration - Implemented file_utils.py with Files API helper functions - Added .gitignore to exclude internal docs and generated files ### Notebook 1: Introduction to Skills (COMPLETE ✅) - Full working examples for Excel, PowerPoint, and PDF generation - All three file types tested and working successfully: - Excel with charts: ~2 minutes - PowerPoint (2 slides + chart): 1m18s - PDF (simple receipt): 42.3s - Comprehensive troubleshooting section covering 5 common issues - Clear timing expectations throughout ### Files API Integration - Fixed multiple API issues: - Correct methods: download() and retrieve_metadata() - BinaryAPIResponse uses .read() not .content - FileMetadata uses .size_bytes not .size - All file downloads working with proper helper functions - Default overwrite=True for better tutorial UX ### Documentation - README.md with comprehensive quick start guide - CLAUDE.md with 8 development gotchas and solutions - skills_cookbook_plan.md tracking all implementation progress - Claude Code hooks for environment verification and safety ### Sample Data - 4 realistic financial datasets (CSV and JSON) - Budget template, financial statements, portfolio holdings, quarterly metrics ## Testing Status All core functionality tested and working: - ✅ Environment setup - ✅ Skills discovery - ✅ Excel creation and download - ✅ PowerPoint creation and download - ✅ PDF creation and download ## Next Steps - Notebook 2: Financial Applications (pending) - Notebook 3: Custom Skills Development (pending) 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <[email protected]>
- Created comprehensive notebook structure with 5 major sections - Added setup and data loading section with financial datasets - Implemented placeholder for Use Case 1: Financial Dashboard Creation - Implemented placeholder for Use Case 2: Portfolio Analysis Workflow - Implemented placeholder for Use Case 3: Automated Reporting Pipeline - Added best practices and production tips section - Included helper functions and error handling patterns - Set up token tracking and cost optimization examples Note: This is the initial structure with all code cells ready for testing. The notebook includes realistic financial examples using sample data.
- Marked all Notebook 2 tasks as complete - Updated current status to reflect implementation progress - Added notes about worktree setup for parallel development - Ready for end-to-end testing of the notebook
- Create comprehensive Jupyter notebook for custom skills - Add three example skills: 1. Financial Ratio Calculator 2. Company Brand Guidelines 3. Financial Modeling Suite (DCF, sensitivity analysis) - Include skill_utils.py helper functions - Add best practices and troubleshooting sections - Provide complete skill directory structure with SKILL.md and Python scripts
- Changed from single quarter detailed structure to multi-quarter array format - Added quarters array with Q1-Q4 2024 data - Includes revenue, margins, customer metrics, and KPIs per quarter - Added year_summary section with aggregated metrics - Now compatible with Notebook 2's data loading code
Major improvements: - Fixed cell type errors: Converted Python code from markdown to code cells - Added missing executive PowerPoint creation code cell - Enhanced flow with transitional markdown cells between sections - Streamlined content by removing redundant production workflow sections - Updated Table of Contents to reflect simplified structure Content improvements: - Added clear introductions for each major section - Improved transitions between Excel, PowerPoint, and PDF examples - Enhanced context for portfolio analysis workflow - Better explanation of automated pipeline benefits - Focused on core Skills functionality The notebook now provides cleaner educational flow with smooth transitions and necessary context throughout, while maintaining focus on practical examples. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <[email protected]>
- Mark Notebook 2 (Financial Applications) as complete - Document cleanup and polish work done on 2025-10-15 - Update status to reflect Notebook 2 completion - Document improvements: fixed cell types, added missing code, enhanced flow - Update next steps for Notebook 3 development 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <[email protected]>
…xamples - Added hands-on skill versioning workflow with healthcare benchmarks example - Users now make real changes to skills and create versions without uncommenting code - Added missing test cell for Financial Modeling Suite with DCF valuation - Improved cleanup section with comprehensive skill inventory reporting - Renamed custom skill directories from underscore to hyphen format for consistency - Enhanced financial analyzer with healthcare industry benchmarks The notebook now provides a complete, engaging learning experience for custom skills development. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <[email protected]>
## Key Updates: ### Content Improvements: - Clarified token savings explanation (98% applies until skill is used) - Added helper scripts benefit to Skills description - Improved "why skills" explanation with Skills vs MCPs/tools comparison - Added simpler 1-2 line prompt examples for all document types - Clarified file structure (multiple .md files allowed, SKILL.md only required) - Updated metadata limits to exact values (name: 64 chars, description: 1024 chars) ### Visual Enhancements: - Created assets/ directory for images - Added 5 conceptual diagrams: - Skills conceptual diagram - Progressive disclosure visualizations (2) - Skills structure and bundled files diagrams - Integrated images directly into notebooks for better understanding ### Code Quality: - Applied comprehensive linting with ruff and black - Fixed 65 linting issues (imports, whitespace, f-strings) - Updated deprecated typing imports (Dict → dict, List → list) - Ensured consistent code formatting across all notebooks ### Documentation: - Added links to Claude Creates Files announcement - Added references to best practices documentation - Added placeholder for Skills architecture diagram from presentation ## Files Changed: - notebooks/01_skills_introduction.ipynb - notebooks/02_skills_financial_applications.ipynb - notebooks/03_skills_custom_development.ipynb - assets/ (5 PNG diagrams) All P0 items from review thread completed and ready for public launch. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <[email protected]>
Added the Claude Creates Files announcement link in strategic locations to connect the dots on how Skills power Claude's file creation capabilities: - README.md: Added prominently after introduction - Notebook 1: Added at the very beginning to show real-world application - Notebook 2: Added to show real-world financial applications impact As requested by Drew Hodun to show Skills in action in a high-polish way. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <[email protected]>
…tions Per PR review feedback from Eric, renamed all custom skill directories to use gerund form following Skills naming best practices: - brand-guidelines → applying-brand-guidelines - financial-analyzer → analyzing-financial-statements - financial-modeler → creating-financial-models Additional fixes from PR review: - Fix capabilities/README.md title from "Claude Skills" to "Claude Capabilities" - Remove internal planning document (skills_cookbook_plan.md) - Remove status line from skills/CLAUDE.md - Update SDK references from local whl to PyPI package (>=0.71.0) - Fix repository URLs from private to public (claude-cookbooks) - Remove absolute file paths from documentation - Update all notebook references to use new skill directory names - Fix broken link in contextual-embeddings notebook - Update SKILL.md descriptions to use third person - Remove references to non-existent Python scripts in financial-modeler This ensures the cookbook follows Anthropic's Skills naming conventions and is ready for public release.
…ntation - Add links to official best practices guide in Skills documentation - Update all Skills documentation URLs to docs.claude.com - Ensure consistent linking across all notebooks and README files - Remove any potential conflicts with duplicated best practices content This ensures users always get the latest best practices from the official documentation at docs.claude.com/en/docs/agents-and-tools/agent-skills/
Add key documentation links to Skills cookbook: - Engineering blog post "Equipping agents for the real world with Skills" added to README and both introduction notebooks for technical context - Support articles added to help users learn Skills: - "Teach Claude your way of working using Skills" - user guide - "How to create a skill with Claude through conversation" - creation guide These additions provide users with both technical depth (blog post) and practical guidance (support articles) for understanding and using Skills. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <[email protected]>
Add comprehensive Skills cookbook with 3 progressive notebooks
Sync skills cookbook from private repo
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
See Commits and Changes for more details.
Created by
pull[bot] (v2.0.0-alpha.4)
Can you help keep this open source service alive? 💖 Please sponsor : )