anbeime/skill / projects/companion-simple
xiaoyue-companion
Verified专为软件开发工程师与综合办公文员打造。当你在等待任务执行、工作疲惫或需要鼓励时,使用此技能通过智谱AI自动生成温暖对话回应与场景配图,一键获取专属情绪价值与虚拟陪伴,让AI助手更懂你。
public/styles.css
View on GitHub/* 全局样式 */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
line-height: 1.6;
color: #333;
background: #f5f7fa;
}
.container {
max-width: 1200px;
margin: 0 auto;
padding: 0 20px;
}
/* 头部样式 */
header {
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
color: white;
padding: 2rem 0;
box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
header h1 {
font-size: 2.5rem;
margin-bottom: 0.5rem;
}
header .subtitle {
font-size: 1.1rem;
opacity: 0.9;
margin-bottom: 1.5rem;
}
nav {
display: flex;
gap: 1rem;
flex-wrap: wrap;
}
nav a {
color: white;
text-decoration: none;
padding: 0.5rem 1rem;
border-radius: 5px;
transition: background 0.3s;
}
nav a:hover, nav a.active {
background: rgba(255,255,255,0.2);
}
/* 主要内容区域 */
main {
padding: 2rem 0;
}
section {
background: white;
border-radius: 10px;
padding: 2rem;
margin-bottom: 2rem;
box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
h2 {
color: #667eea;
margin-bottom: 1.5rem;
font-size: 1.8rem;
}
/* 统计卡片 */
.stats {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
gap: 1.5rem;
padding: 1.5rem;
}
.stat-card {
text-align: center;
padding: 1.5rem;
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
color: white;
border-radius: 10px;
box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}
.stat-card h3 {
font-size: 2.5rem;
margin-bottom: 0.5rem;
}
.stat-card p {
font-size: 1rem;
opacity: 0.9;
}
/* 分类网格 */
.category-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
gap: 1.5rem;
}
.category-card {
padding: 1.5rem;
border: 2px solid #e0e0e0;
border-radius: 10px;
transition: all 0.3s;
}
.category-card:hover {
border-color: #667eea;
transform: translateY(-5px);
box-shadow: 0 5px 20px rgba(102, 126, 234, 0.2);
}
.category-card h3 {
color: #667eea;
margin-bottom: 0.5rem;
}
.category-card p {
color: #666;
font-size: 0.9rem;
margin-bottom: 1rem;
}
.badge {
display: inline-block;
padding: 0.25rem 0.75rem;
background: #667eea;
color: white;
border-radius: 20px;
font-size: 0.8rem;
}
/* 特性网格 */
.feature-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
gap: 1.5rem;
}
.feature-card {
padding: 1.5rem;
background: #f8f9fa;
border-radius: 10px;
border-left: 4px solid #667eea;
}
.feature-card h3 {
color: #667eea;
margin-bottom: 0.5rem;
}
/* 代码块 */
.code-block {
margin-bottom: 1.5rem;
}
.code-block h3 {
color: #333;
margin-bottom: 0.5rem;
font-size: 1.1rem;
}
pre {
background: #2d2d2d;
color: #f8f8f2;
padding: 1rem;
border-radius: 5px;
overflow-x: auto;
}
code {
font-family: 'Courier New', Courier, monospace;
}
/* 链接网格 */
.link-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
gap: 1.5rem;
}
.link-card {
display: block;
padding: 1.5rem;
background: #f8f9fa;
border-radius: 10px;
text-decoration: none;
color: #333;
transition: all 0.3s;
border: 2px solid transparent;
}
.link-card:hover {
border-color: #667eea;
transform: translateY(-5px);
box-shadow: 0 5px 20px rgba(102, 126, 234, 0.2);
}
.link-card h3 {
color: #667eea;
margin-bottom: 0.5rem;
}
/* 技能卡片 */
.skills-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
gap: 1.5rem;
}
.skill-card {
padding: 1.5rem;
border: 2px solid #e0e0e0;
border-radius: 10px;
transition: all 0.3s;
}
.skill-card:hover {
border-color: #667eea;
transform: translateY(-5px);
box-shadow: 0 5px 20px rgba(102, 126, 234, 0.2);
}
.skill-card.collection {
border-left: 4px solid #764ba2;
}
.skill-header {
display: flex;
justify-content: space-between;
align-items: start;
margin-bottom: 0.5rem;
}
.skill-header h3 {
color: #333;
font-size: 1.2rem;
flex: 1;
}
.skill-card .category {
color: #667eea;
font-size: 0.9rem;
margin-bottom: 0.5rem;
}
.skill-card .description {
color: #666;
font-size: 0.9rem;
margin-bottom: 1rem;
line-height: 1.5;
}
.skill-card .sub-skills {
color: #764ba2;
font-size: 0.85rem;
margin-bottom: 0.5rem;
}
.skill-card .integrated-skills {
color: #999;
font-size: 0.8rem;
margin-bottom: 1rem;
}
.skill-meta {
display: flex;
gap: 1rem;
margin-bottom: 0.5rem;
font-size: 0.85rem;
}
.skill-meta span {
color: #666;
}
.skill-api {
color: #999;
font-size: 0.8rem;
}
.badge.needs-api {
background: #f56565;
}
.badge.optional-api {
background: #ed8936;
}
.badge.free {
background: #48bb78;
}
/* 筛选按钮 */
.filters {
background: white;
padding: 1.5rem;
border-radius: 10px;
margin-bottom: 2rem;
}
.filter-buttons {
display: flex;
gap: 0.5rem;
flex-wrap: wrap;
margin-bottom: 1rem;
}
.filter-btn {
padding: 0.5rem 1rem;
border: 2px solid #e0e0e0;
background: white;
border-radius: 5px;
cursor: pointer;
transition: all 0.3s;
}
.filter-btn:hover {
border-color: #667eea;
}
.filter-btn.active {
background: #667eea;
color: white;
border-color: #667eea;
}
.category-filters select {
width: 100%;
padding: 0.75rem;
border: 2px solid #e0e0e0;
border-radius: 5px;
font-size: 1rem;
cursor: pointer;
}
/* 页脚 */
footer {
background: #2d3748;
color: white;
padding: 2rem 0;
text-align: center;
}
footer a {
color: #667eea;
text-decoration: none;
}
footer a:hover {
text-decoration: underline;
}
/* 加载和错误状态 */
.loading {
text-align: center;
padding: 3rem;
color: #999;
font-size: 1.2rem;
}
.error {
text-align: center;
padding: 3rem;
color: #f56565;
font-size: 1.2rem;
}
/* 响应式设计 */
@media (max-width: 768px) {
header h1 {
font-size: 2rem;
}
.stats {
grid-template-columns: repeat(2, 1fr);
}
.category-grid,
.feature-grid,
.link-grid,
.skills-grid {
grid-template-columns: 1fr;
}
nav {
flex-direction: column;
}
.filter-buttons {
flex-direction: column;
}
.filter-btn {
width: 100%;
}
}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 |