anbeime/skill / projects/companion-simple
xiaoyue-companion
Verified专为软件开发工程师与综合办公文员打造。当你在等待任务执行、工作疲惫或需要鼓励时,使用此技能通过智谱AI自动生成温暖对话回应与场景配图,一键获取专属情绪价值与虚拟陪伴,让AI助手更懂你。
public/index.html
View on GitHub<!DOCTYPE html><html lang="zh-CN"><head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>AI 技能 & 工作流商店</title> <style> * { margin: 0; padding: 0; box-sizing: border-box; } body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif; background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); min-height: 100vh; padding: 20px; } .container { max-width: 1400px; margin: 0 auto; } header { text-align: center; color: white; margin-bottom: 40px; } h1 { font-size: 3rem; margin-bottom: 10px; text-shadow: 2px 2px 4px rgba(0,0,0,0.2); } .subtitle { font-size: 1.2rem; opacity: 0.9; } /* Resource Cards */ .resource-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(500px, 1fr)); gap: 30px; margin-bottom: 40px; } .resource-card { background: white; border-radius: 20px; padding: 40px; box-shadow: 0 20px 60px rgba(0,0,0,0.3); transition: transform 0.3s, box-shadow 0.3s; position: relative; overflow: hidden; } .resource-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 5px; background: linear-gradient(90deg, #667eea, #764ba2); } .resource-card:hover { transform: translateY(-10px); box-shadow: 0 30px 80px rgba(0,0,0,0.4); } .resource-icon { font-size: 4rem; margin-bottom: 20px; } .resource-title { font-size: 2rem; font-weight: bold; color: #333; margin-bottom: 15px; } .resource-description { color: #666; line-height: 1.8; margin-bottom: 20px; font-size: 1.1rem; } .resource-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 15px; margin: 25px 0; padding: 20px; background: #f8f9fa; border-radius: 12px; } .stat { text-align: center; } .stat-number { font-size: 2rem; font-weight: bold; color: #667eea; display: block; } .stat-label { font-size: 0.9rem; color: #666; margin-top: 5px; } .resource-button { display: inline-block; padding: 15px 40px; background: linear-gradient(135deg, #667eea, #764ba2); color: white; text-decoration: none; border-radius: 30px; font-size: 1.1rem; font-weight: 600; transition: all 0.3s; box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4); } .resource-button:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(102, 126, 234, 0.6); } .features { margin: 20px 0; } .feature-item { display: flex; align-items: center; gap: 10px; margin: 10px 0; color: #555; } .feature-item::before { content: '✓'; display: inline-block; width: 24px; height: 24px; background: #10b981; color: white; border-radius: 50%; text-align: center; line-height: 24px; font-weight: bold; } /* Search Box */ .search-box { background: white; border-radius: 12px; padding: 20px; margin-bottom: 30px; box-shadow: 0 10px 30px rgba(0,0,0,0.2); } .search-input { width: 100%; padding: 15px 20px; font-size: 1.1rem; border: 2px solid #e0e0e0; border-radius: 8px; outline: none; transition: border-color 0.3s; } .search-input:focus { border-color: #667eea; } .filters { display: flex; gap: 10px; margin-top: 15px; flex-wrap: wrap; } .filter-btn { padding: 8px 16px; border: 2px solid #667eea; background: white; color: #667eea; border-radius: 20px; cursor: pointer; transition: all 0.3s; font-size: 0.9rem; } .filter-btn:hover, .filter-btn.active { background: #667eea; color: white; } /* Stats */ .stats { background: white; border-radius: 12px; padding: 20px; margin-bottom: 30px; box-shadow: 0 10px 30px rgba(0,0,0,0.2); display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; } .stat-item { text-align: center; } .stat-number { font-size: 2.5rem; font-weight: bold; color: #667eea; } .stat-label { color: #666; margin-top: 5px; } /* Grid */ .items-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(350px, 1fr)); gap: 20px; margin-bottom: 30px; } .item-card { background: white; border-radius: 12px; padding: 20px; box-shadow: 0 5px 15px rgba(0,0,0,0.1); transition: transform 0.3s, box-shadow 0.3s; cursor: pointer; } .item-card:hover { transform: translateY(-5px); box-shadow: 0 10px 25px rgba(0,0,0,0.2); } .item-name { font-size: 1.2rem; font-weight: bold; color: #333; margin-bottom: 10px; word-break: break-word; } .item-category { display: inline-block; padding: 4px 12px; background: #667eea; color: white; border-radius: 12px; font-size: 0.8rem; margin-bottom: 10px; } .item-description { color: #666; line-height: 1.6; margin-bottom: 15px; } .item-link { color: #667eea; text-decoration: none; font-weight: 500; display: inline-flex; align-items: center; gap: 5px; } .item-link:hover { text-decoration: underline; } .loading { text-align: center; color: white; font-size: 1.5rem; padding: 40px; } .error { background: #ff6b6b; color: white; padding: 20px; border-radius: 12px; text-align: center; margin-bottom: 20px; } @media (max-width: 768px) { h1 { font-size: 2rem; } .resource-cards { grid-template-columns: 1fr; } .items-grid { grid-template-columns: 1fr; } } </style></head><body> <div class="container"> <header> <h1>🎯 AI 技能 & 工作流商店</h1> <p class="subtitle">一站式 AI Agent Skills 和 N8N 工作流资源中心</p> </header> <!-- Resource Cards --> <div class="resource-cards"> <!-- AI Skills Card --> <div class="resource-card"> <div class="resource-icon">🎨</div> <h2 class="resource-title">AI Agent Skills</h2> <p class="resource-description"> 精选的 AI Agent 技能包集合,涵盖文档处理、内容创作、编程开发、机器学习等多个领域 </p> <div class="resource-stats"> <div class="stat"> <span class="stat-number" id="skillsTotal">243</span> <span class="stat-label">技能总数</span> </div> <div class="stat"> <span class="stat-number" id="skillsCategories">14+</span> <span class="stat-label">分类</span> </div> </div> <div class="features"> <div class="feature-item">182个官方技能 + 61个本地技能</div> <div class="feature-item">自动从 GitHub 同步最新数据</div> <div class="feature-item">详细的技能说明和使用指南</div> </div> <a href="#skills" class="resource-button" onclick="showSkills(event)"> 浏览 AI Skills → </a> </div> <!-- N8N Workflows Card --> <div class="resource-card"> <div class="resource-icon">⚡</div> <h2 class="resource-title">N8N Workflows</h2> <p class="resource-description"> 4800+ 精心整理的 N8N 工作流模板,支持 371 种服务集成,覆盖自动化的各个场景 </p> <div class="resource-stats"> <div class="stat"> <span class="stat-number">4,834</span> <span class="stat-label">工作流</span> </div> <div class="stat"> <span class="stat-number">371</span> <span class="stat-label">集成服务</span> </div> </div> <div class="features"> <div class="feature-item">按触发类型和复杂度筛选</div> <div class="feature-item">可视化流程图展示</div> <div class="feature-item">一键下载 JSON 导入 N8N</div> </div> <a href="https://e3eb070d.n8n-workflows-bxc.pages.dev/" target="_blank" class="resource-button"> 浏览 N8N Workflows → </a> </div> </div> <!-- Skills Section --> <div id="skills-section" style="display: none;"> <div class="search-box"> <input type="text" class="search-input" id="skillsSearch" placeholder="搜索 AI 技能名称或描述..."> <div class="filters" id="skillsFilters"></div> </div> <div class="stats" id="skillsStats"> <div class="stat-item"> <div class="stat-number" id="skillsTotalNum">-</div> <div class="stat-label">总技能数</div> </div> <div class="stat-item"> <div class="stat-number" id="skillsCategoriesNum">-</div> <div class="stat-label">分类数</div> </div> <div class="stat-item"> <div class="stat-number" id="skillsUpdated">-</div> <div class="stat-label">最后更新</div> </div> </div> <div id="skillsError" class="error" style="display: none;"></div> <div id="skillsLoading" class="loading">加载中...</div> <div class="items-grid" id="skillsGrid"></div> </div> </div> <script> let allSkills = []; let currentSkillCategory = ''; // Show Skills Section function showSkills(e) { e.preventDefault(); document.getElementById('skills-section').style.display = 'block'; document.querySelector('.resource-cards').style.display = 'none'; document.querySelector('header .subtitle').textContent = 'AI Agent Skills 技能包'; if (allSkills.length === 0) { loadSkills(); } // Smooth scroll to top window.scrollTo({ top: 0, behavior: 'smooth' }); } // Load Skills async function loadSkills() { try { document.getElementById('skillsLoading').style.display = 'block'; document.getElementById('skillsError').style.display = 'none'; const [statsRes, categoriesRes, skillsRes] = await Promise.all([ fetch('/api/stats'), fetch('/api/categories'), fetch('/api/skills?per_page=1000') ]); const stats = await statsRes.json(); const categories = await categoriesRes.json(); const skillsData = await skillsRes.json(); // Update stats document.getElementById('skillsTotalNum').textContent = stats.total_skills; document.getElementById('skillsCategoriesNum').textContent = stats.total_categories; if (stats.last_updated) { const date = new Date(stats.last_updated); document.getElementById('skillsUpdated').textContent = date.toLocaleDateString('zh-CN'); } // Render filters const filtersDiv = document.getElementById('skillsFilters'); filtersDiv.innerHTML = '<button class="filter-btn active" onclick="filterSkills(\'\')">全部</button>'; categories.categories.forEach(cat => { const btn = document.createElement('button'); btn.className = 'filter-btn'; btn.textContent = `${cat.name} (${cat.count})`; btn.onclick = () => filterSkills(cat.name); filtersDiv.appendChild(btn); }); allSkills = skillsData.skills; renderSkills(allSkills); document.getElementById('skillsLoading').style.display = 'none'; } catch (error) { document.getElementById('skillsLoading').style.display = 'none'; document.getElementById('skillsError').style.display = 'block'; document.getElementById('skillsError').textContent = '加载失败: ' + error.message; } } // Render Skills function renderSkills(skills) { const grid = document.getElementById('skillsGrid'); if (skills.length === 0) { grid.innerHTML = '<p style="color: white; text-align: center; width: 100%;">未找到相关技能</p>'; return; } grid.innerHTML = skills.map(skill => ` <div class="item-card"> <div class="item-category">${skill.category || 'Other'}</div> <div class="item-name">${skill.name}</div> <div class="item-description">${skill.description || '暂无描述'}</div> <a href="${skill.link}" target="_blank" class="item-link"> 查看详情 → </a> </div> `).join(''); } // Filter Skills function filterSkills(category) { currentSkillCategory = category; // Update buttons document.querySelectorAll('#skillsFilters .filter-btn').forEach(btn => { btn.classList.remove('active'); }); event.target.classList.add('active'); applySkillsFilters(); } // Search Skills document.getElementById('skillsSearch').addEventListener('input', (e) => { applySkillsFilters(); }); function applySkillsFilters() { const searchTerm = document.getElementById('skillsSearch').value.toLowerCase(); const filtered = allSkills.filter(skill => { const matchesSearch = !searchTerm || skill.name.toLowerCase().includes(searchTerm) || (skill.description && skill.description.toLowerCase().includes(searchTerm)); const matchesCategory = !currentSkillCategory || skill.category === currentSkillCategory; return matchesSearch && matchesCategory; }); renderSkills(filtered); } </script></body></html>
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| slack-gif-creatoranthropics/skillsKnowledge and utilities for creating animated GIFs optimized for Slack. Provides constraints, validation tools, and animation concepts. Use when users request animated GIFs for Slack like "make me a GIF of X doing Y for Slack." | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |
| ponytailDietrichGebert/ponytailLazy senior dev mode for any coding task: the smallest change that fully solves it, and a reply a busy human understands in one read. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-debtDietrichGebert/ponytailHarvest every shortcut: comment into one debt ledger, so deferrals get tracked instead of forgotten. One-shot report. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-debtDietrichGebert/ponytailList every `shortcut:` comment (and older `ponytail:` ones) as a debt ledger. One-shot report, changes nothing. Use for "ponytail debt", "what did ponytail defer", "list the shortcuts", /ponytail-debt. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |