chore: add walkthrough and agent rules
This commit is contained in:
8
.agent/rules/rules.md
Normal file
8
.agent/rules/rules.md
Normal file
@@ -0,0 +1,8 @@
|
||||
---
|
||||
trigger: always_on
|
||||
glob:
|
||||
description:
|
||||
---
|
||||
|
||||
1. alla fine del processo di modifica ricordati di fare il push della repo su github.
|
||||
2. ricordati sempre di aggiornare ongi singola parte della repo, dall'inizio alla fine
|
||||
324
walkthrough.md
324
walkthrough.md
@@ -1,320 +1,56 @@
|
||||
# Skills Integration Walkthrough
|
||||
# OpenAI Skills Extraction Walkthrough
|
||||
|
||||
> **Integration of Anthropic Official Skills and Vercel Labs Skills**
|
||||
>
|
||||
> Date: 2026-01-15
|
||||
> Status: ✅ **Completed Successfully**
|
||||
I have successfully extracted and adapted valuable patterns from the `openai/skills` repository into our local collection.
|
||||
|
||||
## Executive Summary
|
||||
## Changes Made
|
||||
|
||||
Successfully integrated **8 new skills** from **Anthropic** (official repository) and **Vercel Labs**, expanding the collection from **58 to 62 high-performance skills**. The integration implements a dual-versioning strategy: official Anthropic skills for local development (via symlinks), while maintaining both community and official versions in the GitHub repository for maximum flexibility.
|
||||
### New Skills
|
||||
|
||||
---
|
||||
Adapted from OpenAI's curated and experimental catalogs:
|
||||
|
||||
## 📊 Integration Results
|
||||
- **[address-github-comments](file:///Users/nicco/Antigravity%20Projects/antigravity-awesome-skills/skills/address-github-comments/SKILL.md)**: A systematic guide for addressing PR and issue feedback using the `gh` CLI.
|
||||
- **[concise-planning](file:///Users/nicco/Antigravity%20Projects/antigravity-awesome-skills/skills/concise-planning/SKILL.md)**: A template-driven skill for generating atomic, actionable checklists for development tasks.
|
||||
|
||||
| Metric | Before | After | Change |
|
||||
| --------------------- | ------- | ------- | ------------------------------- |
|
||||
| **Total Skills** | 58 | 62 | +4 new (+6 versions) |
|
||||
| **Official Sources** | 0 | 2 | Anthropic + Vercel Labs |
|
||||
| **Validation Status** | ✅ Pass | ✅ Pass | All 62 skills validated |
|
||||
| **Index Updated** | ✅ | ✅ | `skills_index.json` regenerated |
|
||||
### Skill Improvements
|
||||
|
||||
---
|
||||
Improved our existing skill authoring standards using OpenAI's `skill-creator` principles:
|
||||
|
||||
## 🆕 New Skills Added
|
||||
- **[writing-skills](file:///Users/nicco/Antigravity%20Projects/antigravity-awesome-skills/skills/writing-skills/SKILL.md)**: Integrated "Degrees of Freedom" and "Progressive Disclosure" principles to optimize context usage and instruction specificity.
|
||||
|
||||
### From Vercel Labs (2 Skills)
|
||||
### Global Integration
|
||||
|
||||
#### 1. [react-best-practices](skills/react-best-practices)
|
||||
- Updated [skills_index.json](file:///Users/nicco/Antigravity%20Projects/antigravity-awesome-skills/skills_index.json) to register the new skills.
|
||||
- Updated [README.md](file:///Users/nicco/Antigravity%20Projects/antigravity-awesome-skills/README.md) to include them in the registry and add `openai/skills` to the **Credits & Sources** section.
|
||||
|
||||
- **Source**: [vercel-labs/agent-skills](https://github.com/vercel-labs/agent-skills)
|
||||
- **Description**: 40+ performance optimization rules for React and Next.js applications
|
||||
- **Categories Covered**:
|
||||
- Eliminating waterfalls (Critical)
|
||||
- Bundle size optimization (Critical)
|
||||
- Server-side performance (High)
|
||||
- Client-side data fetching (Medium-High)
|
||||
- Re-render optimization (Medium)
|
||||
- JavaScript micro-optimizations (Low-Medium)
|
||||
|
||||
#### 2. [web-design-guidelines](skills/web-design-guidelines)
|
||||
|
||||
- **Source**: [vercel-labs/agent-skills](https://github.com/vercel-labs/agent-skills)
|
||||
- **Description**: 100+ audit rules for UI/UX compliance
|
||||
- **Categories Covered**:
|
||||
- Accessibility (ARIA, semantic HTML, keyboard navigation)
|
||||
- Focus states (visible focus, focus-visible patterns)
|
||||
- Forms (autocomplete, validation, error handling)
|
||||
- Animation (prefers-reduced-motion, compositor-friendly transforms)
|
||||
- Typography (curly quotes, ellipsis, tabular-nums)
|
||||
- Images (dimensions, lazy loading, alt text)
|
||||
- Performance (virtualization, layout thrashing, preconnect)
|
||||
- Navigation & State (URL reflects state, deep-linking)
|
||||
- Dark mode & theming
|
||||
- Touch & interaction
|
||||
- Locale & i18n
|
||||
|
||||
### From Anthropic Official Repository (6 Skills)
|
||||
|
||||
#### 3. [docx-official](skills/docx-official)
|
||||
|
||||
- **Source**: [anthropics/skills](https://github.com/anthropics/skills)
|
||||
- **Description**: Official Anthropic MS Word document manipulation
|
||||
- **License**: Apache 2.0 (source-available)
|
||||
- **Status**: Production-grade, powers Claude's document capabilities
|
||||
|
||||
#### 4. [pdf-official](skills/pdf-official)
|
||||
|
||||
- **Source**: [anthropics/skills](https://github.com/anthropics/skills)
|
||||
- **Description**: Official Anthropic PDF document manipulation
|
||||
- **License**: Apache 2.0 (source-available)
|
||||
|
||||
#### 5. [pptx-official](skills/pptx-official)
|
||||
|
||||
- **Source**: [anthropics/skills](https://github.com/anthropics/skills)
|
||||
- **Description**: Official Anthropic PowerPoint manipulation
|
||||
- **License**: Apache 2.0 (source-available)
|
||||
|
||||
#### 6. [xlsx-official](skills/xlsx-official)
|
||||
|
||||
- **Source**: [anthropics/skills](https://github.com/anthropics/skills)
|
||||
- **Description**: Official Anthropic Excel spreadsheet manipulation
|
||||
- **License**: Apache 2.0 (source-available)
|
||||
|
||||
#### 7. [brand-guidelines-anthropic](skills/brand-guidelines-anthropic)
|
||||
|
||||
- **Source**: [anthropics/skills](https://github.com/anthropics/skills)
|
||||
- **Description**: Official Anthropic brand styling and visual standards
|
||||
- **Note**: Kept alongside community version for flexibility
|
||||
|
||||
#### 8. [internal-comms-anthropic](skills/internal-comms-anthropic)
|
||||
|
||||
- **Source**: [anthropics/skills](https://github.com/anthropics/skills)
|
||||
- **Description**: Official Anthropic corporate communication templates
|
||||
- **Note**: Kept alongside community version for flexibility
|
||||
|
||||
---
|
||||
|
||||
## 🔧 Implementation Strategy
|
||||
|
||||
### Dual-Versioning Approach
|
||||
|
||||
To satisfy both **local development needs** (using official versions) and **repository flexibility** (offering both versions), a dual-versioning strategy was implemented:
|
||||
|
||||
#### Local Environment (Developer Machine)
|
||||
|
||||
```
|
||||
skills/
|
||||
├── docx -> docx-official (symlink)
|
||||
├── pdf -> pdf-official (symlink)
|
||||
├── pptx -> pptx-official (symlink)
|
||||
├── xlsx -> xlsx-official (symlink)
|
||||
├── brand-guidelines-anthropic/
|
||||
├── brand-guidelines-community/
|
||||
├── internal-comms-anthropic/
|
||||
├── internal-comms-community/
|
||||
```
|
||||
|
||||
**Result**: Local development uses official Anthropic versions by default.
|
||||
|
||||
#### GitHub Repository
|
||||
|
||||
```
|
||||
skills/
|
||||
├── docx-official/ (official Anthropic)
|
||||
├── docx-community/ (community version)
|
||||
├── pdf-official/ (official Anthropic)
|
||||
├── pdf-community/ (community version)
|
||||
├── pptx-official/ (official Anthropic)
|
||||
├── pptx-community/ (community version)
|
||||
├── xlsx-official/ (official Anthropic)
|
||||
├── xlsx-community/ (community version)
|
||||
├── brand-guidelines-anthropic/
|
||||
├── brand-guidelines-community/
|
||||
├── internal-comms-anthropic/
|
||||
├── internal-comms-community/
|
||||
```
|
||||
|
||||
**Result**: Repository users can choose between official and community versions.
|
||||
|
||||
---
|
||||
|
||||
## ✅ Validation & Quality Assurance
|
||||
## Verification Results
|
||||
|
||||
### Automated Validation
|
||||
|
||||
I ran the `validate_skills.py` script, and all skills passed.
|
||||
|
||||
```bash
|
||||
$ python3 scripts/validate_skills.py
|
||||
🔍 Validating skills in: /Users/nicco/Antigravity Projects/antigravity-awesome-skills/skills
|
||||
✅ Found and checked 62 skills.
|
||||
✅ Found and checked 71 skills.
|
||||
✨ All skills passed basic validation!
|
||||
```
|
||||
|
||||
**Status**: All 62 skills validated successfully.
|
||||
### Manual Audit
|
||||
|
||||
### Index Regeneration
|
||||
- Verified frontmatter formatting for both new skills.
|
||||
- Confirmed that the "Progressive Disclosure" and "Degrees of Freedom" sections were correctly merged into `writing-skills`.
|
||||
- Verified that the README table links and descriptions match the new skills.
|
||||
|
||||
```bash
|
||||
$ python3 scripts/generate_index.py
|
||||
🏗️ Generating index from: /Users/nicco/Antigravity Projects/antigravity-awesome-skills/skills
|
||||
✅ Generated index with 62 skills at: skills_index.json
|
||||
```
|
||||
### GitHub Deployment
|
||||
|
||||
**Status**: Index regenerated with complete metadata for all skills.
|
||||
- Pushed the changes to the `main` branch of [antigravity-awesome-skills](https://github.com/sickn33/antigravity-awesome-skills).
|
||||
```bash
|
||||
faf478f..113bc99 main -> main
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
## 📝 Documentation Updates
|
||||
Summary of final updates:
|
||||
|
||||
### README.md Changes
|
||||
|
||||
1. **Header Updated**:
|
||||
|
||||
- Skill count: 58 → 62
|
||||
- Added mention of "official skills from Anthropic and Vercel Labs"
|
||||
|
||||
2. **Full Skill Registry**:
|
||||
|
||||
- Complete table updated with all 62 skills
|
||||
- New skills marked with ⭐ NEW
|
||||
- Added explanatory note about dual-versioning strategy
|
||||
|
||||
3. **Credits & Sources**:
|
||||
- Added "Official Sources" section
|
||||
- Listed Anthropic and Vercel Labs with proper attribution
|
||||
- Maintained existing community contributors section
|
||||
|
||||
### skills_index.json
|
||||
|
||||
- Automatically regenerated with all 62 skills
|
||||
- Includes complete metadata for each skill
|
||||
- Machine-readable format for programmatic access
|
||||
|
||||
---
|
||||
|
||||
## 🔍 File Structure Changes
|
||||
|
||||
### Added Files
|
||||
|
||||
```
|
||||
skills/brand-guidelines-anthropic/
|
||||
skills/internal-comms-anthropic/
|
||||
skills/docx-official/
|
||||
skills/pdf-official/
|
||||
skills/pptx-official/
|
||||
skills/xlsx-official/
|
||||
skills/react-best-practices/
|
||||
skills/web-design-guidelines/
|
||||
```
|
||||
|
||||
### Renamed Files (Community Versions)
|
||||
|
||||
```
|
||||
skills/brand-guidelines → skills/brand-guidelines-community
|
||||
skills/internal-comms → skills/internal-comms-community
|
||||
skills/docx → skills/docx-community (repository only)
|
||||
skills/pdf → skills/pdf-community (repository only)
|
||||
skills/pptx → skills/pptx-community (repository only)
|
||||
skills/xlsx → skills/xlsx-community (repository only)
|
||||
```
|
||||
|
||||
### Symlinks Created (Local Only)
|
||||
|
||||
```
|
||||
skills/docx → docx-official
|
||||
skills/pdf → pdf-official
|
||||
skills/pptx → pptx-official
|
||||
skills/xlsx → xlsx-official
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
## 🎯 Benefits of This Integration
|
||||
|
||||
### For Developers
|
||||
|
||||
- ✅ **Official Anthropic Skills**: Access to production-grade document manipulation skills
|
||||
- ✅ **Vercel Best Practices**: Industry-standard React/Next.js optimization guidelines
|
||||
- ✅ **Comprehensive UI/UX Auditing**: 100+ rules for design compliance
|
||||
- ✅ **Dual-Version Flexibility**: Choose between community and official implementations
|
||||
|
||||
### For the Project
|
||||
|
||||
- ✅ **Authoritative Sources**: Direct integration from creators (Anthropic, Vercel)
|
||||
- ✅ **Production-Tested**: Skills that power real-world applications
|
||||
- ✅ **Future-Proof**: Likely to be maintained and updated by official sources
|
||||
- ✅ **License Compatibility**: Apache 2.0 and MIT licenses are fully compatible
|
||||
|
||||
---
|
||||
|
||||
## 📋 Implementation Timeline
|
||||
|
||||
| Phase | Status | Duration |
|
||||
| ------------------------- | ----------- | ----------- |
|
||||
| **Planning** | ✅ Complete | ~15 minutes |
|
||||
| - Repository analysis | ✅ | |
|
||||
| - Conflict identification | ✅ | |
|
||||
| - Strategy approval | ✅ | |
|
||||
| **Execution** | ✅ Complete | ~10 minutes |
|
||||
| - Repository cloning | ✅ | |
|
||||
| - Skill integration | ✅ | |
|
||||
| - Documentation updates | ✅ | |
|
||||
| - Validation | ✅ | |
|
||||
| **Verification** | ✅ Complete | ~5 minutes |
|
||||
| - Walkthrough creation | ✅ | |
|
||||
|
||||
**Total Time**: ~30 minutes
|
||||
|
||||
---
|
||||
|
||||
## 🚀 Next Steps
|
||||
|
||||
### Completed
|
||||
|
||||
- ✅ Integration planning
|
||||
- ✅ Repository cloning
|
||||
- ✅ Skill copying and organization
|
||||
- ✅ Dual-versioning implementation
|
||||
- ✅ Validation (62/62 skills pass)
|
||||
- ✅ Documentation updates
|
||||
- ✅ Walkthrough creation
|
||||
|
||||
### Remaining
|
||||
|
||||
- ⏳ Git commit and push to GitHub
|
||||
- ⏳ Optional: Create GitHub release notes
|
||||
|
||||
---
|
||||
|
||||
## 📚 References
|
||||
|
||||
### Source Repositories
|
||||
|
||||
- [anthropics/skills](https://github.com/anthropics/skills) - Official Anthropic Agent Skills
|
||||
- [vercel-labs/agent-skills](https://github.com/vercel-labs/agent-skills) - Vercel Labs Skills
|
||||
|
||||
### Documentation
|
||||
|
||||
- [Anthropic Skills Documentation](https://support.claude.com/en/articles/12512176-what-are-skills)
|
||||
- [Agent Skills Specification](https://agentskills.io/)
|
||||
- [Creating Custom Skills](https://support.claude.com/en/articles/12512198-creating-custom-skills)
|
||||
|
||||
---
|
||||
|
||||
## 🎉 Conclusion
|
||||
|
||||
The integration of official Anthropic and Vercel Labs skills represents a significant enhancement to the `antigravity-awesome-skills` repository. By combining community-contributed skills with official, production-grade implementations, the collection now offers:
|
||||
|
||||
- **62 total skills** (up from 58)
|
||||
- **2 official sources** (Anthropic + Vercel Labs)
|
||||
- **Dual-versioning flexibility** (local vs. repository)
|
||||
- **100% validation success rate**
|
||||
|
||||
The repository is now positioned as the most comprehensive, authoritative collection of Claude Code skills available, blending community innovation with official best practices.
|
||||
|
||||
---
|
||||
|
||||
**Integration completed by**: Antigravity Agent (Executor Mode)
|
||||
**Date**: 2026-01-15
|
||||
**Status**: ✅ **Ready for GitHub Push**
|
||||
- Added `openai/skills` to Credits.
|
||||
- Updated total skill count to **71** across the entire README.
|
||||
- Populated the **Full Skill Registry** table with all 71 skills.
|
||||
|
||||
Reference in New Issue
Block a user