Skip to content
content-update logo

Content Update Skill

content-update

Streamlined bilingual content updates for young-personal-site. Auto-activates on content modification keywords with dual-language consistency checks.

SKILL.md

Full skill instructions

Content Update Skill

Purpose

Ensure bilingual content consistency when updating website content.

Prevents: Missing translations, broken images, inconsistent keys Ensures: Synchronized zh-TW/​en content, optimized images, tested updates


Content Locations

TypeTranslation PathComponentImages
Projectsprojects.items[]app/[locale]/​projects/​page.tsxpublic/​images/​projects/
Speakingspeaking.events[]app/[locale]/​speaking/​page.tsxpublic/​images/​speaking/
Aboutabout.*app/[locale]/​about/​page.tsx-
Servicesservices.*app/[locale]/​services/​page.tsx-

Core Workflow

1. Add New Project

Steps:
  1. Gather info: name, description, category, image, year (both languages)
  2. Update messages/​zh-TW.json → projects.items[]
  3. Update messages/​en.json → projects.items[]
  4. Add image to public/​images/​projects/ (< 500KB, optimized)
  5. Verify: keys match, paths identical
  6. Test: npm run dev → check both /​zh-TW/​projects and /​en/​projects
  7. Commit: "feat: add [project name]"

Example:

// messages/​zh-TW.json
{
  "projects": {
    "items": [
      {
        "title": "Duotopia 多鄰國風格學習平台",
        "description": "仿照 Duolingo 的遊戲化學習平台",
        "category": "教育科技",
        "image": "/​images/​projects/​duotopia-banner.jpg",
        "year": "2024"
      }
    ]
  }
}

// messages/​en.json (mirror structure)
{
  "projects": {
    "items": [
      {
        "title": "Duotopia - Gamified Learning Platform",
        "description": "A Duolingo-inspired gamified learning platform",
        "category": "EdTech",
        "image": "/​images/​projects/​duotopia-banner.jpg",
        "year": "2024"
      }
    ]
  }
}

2. Add Speaking Event

Steps:
  1. Gather: name, date, location, description, type, image (both languages)
  2. Update speaking.events[] in both translation files
  3. Add slug to app/[locale]/​speaking/[slug]/​page.tsx validSlugs array
  4. Add image to public/​images/​speaking/
  5. Test: list page + detail page (both languages)
  6. Commit: "feat: add [event name] speaking event"

3. Update About/​Services Content

Steps:
  1. Identify section: about.hero, about.intro, services.consulting, etc.
  2. Update both zh-TW.json and en.json
  3. Test: /​zh-TW/​about and /​en/​about
  4. Commit: "docs: update [section] content"

Translation Guidelines

Terminology Consistency

教育科技 = EdTech
企業內訓 = Corporate Training
工作坊 = Workshop
演講 = Talk/​Speech
顧問服務 = Consulting Services

Tone Standards

  • zh-TW: 專業但親和 (Professional yet approachable)
  • en: Professional and clear

Image Optimization

Requirements:
  - File size: < 500KB
  - Format: JPEG (photos, 80-85% quality), PNG (logos/​graphics)
  - Dimensions: Max 1920px width, min 800px width
  - Naming: Descriptive (duotopia-banner.jpg, not IMG_1234.jpg)
  - Aspect ratio: 16:9 or 4:3

Validation Checklist

Before committing:

Content:
- [ ] zh-TW translation complete
- [ ] en translation complete
- [ ] Keys match exactly in both files
- [ ] Image paths identical

Images:
- [ ] Optimized (< 500KB)
- [ ] Correct directory (public/​images/[type]/)
- [ ] Paths match translation files

Testing:
- [ ] npm run dev successful
- [ ] zh-TW page displays correctly
- [ ] en page displays correctly
- [ ] Language switcher works
- [ ] Images load properly
- [ ] Mobile responsive
- [ ] npm run build passes

Deployment:
- [ ] Clear commit message
- [ ] Push to main (auto-deploys to Vercel)

Common Scenarios

Quick Text Fix

User: "修改關於頁面的自我介紹"
→ Read both translation files
→ Update zh-TW intro
→ Update en intro (ask user or translate)
→ Test both languages
→ Commit: "docs: update about page intro"

Bulk Project Addition

User: "新增 3 個專案:A, B, C"
→ Gather info for all 3 (batch)
→ Update zh-TW.json (add all 3)
→ Update en.json (add all 3)
→ Add images
→ Test all projects
→ Commit: "feat: add projects A, B, and C"

Image Optimization

User: "專案圖片太大"
→ Identify large images (> 500KB)
→ Optimize (80-85% JPEG quality)
→ Verify paths unchanged
→ Commit: "perf: optimize project images"

Anti-Patterns

❌ Updating Only One Language

// zh-TW.json has new project, en.json missing → English version breaks

❌ Mismatched Image Paths

// zh-TW: "/​images/​project-banner.jpg"
// en: "/​images/​projects/​banner.jpg" → Image missing in one language

❌ Inconsistent Keys

// zh-TW: projects.list[]
// en: projects.items[] → Translation system breaks

Integration

  • i18n-sync: Validates translation consistency after updates
  • design-improvement: Content + design updates together
  • deploy-check: Pre-deployment content verification

Version: v1.1 | Updated: 2025-12-31 Project: young-personal-site

More DevOps & CI/CD skills

Project scaffolding, deployment configuration, and CI/CD setup for Google ADK agents.

6K 472.6K
View

Set up tracing, logging, and monitoring for deployed ADK agents across Cloud Trace, BigQuery, and third-party platforms.

6K 472.6K
View

Enterprise Azure infrastructure architect generating Bicep or Terraform from workload descriptions.

1.5K 454.3K
View
azure-kubernetes logo
DevOps & CI/CD

azure-kubernetes

Plan and configure production-ready Azure Kubernetes Service clusters with Day-0 and Day-1 best practices.

1.5K 447.1K
View

Raw mechanical interfaces fusing Swiss typographic print with military terminal aesthetics. Rigid grids, extreme type scale contrast, utilitarian color, analog degradation effects. For data-heavy dashboards, portfolios, or editorial sites that need to feel like declassified blueprints.

92.7K 354.9K
View
just-scrape logo
DevOps & CI/CD

just-scrape

Web search, scraping, extraction, crawling, and monitoring via ScrapeGraph AI CLI.

69 245K
View

Skill for working with Firebase Hosting (Classic). Use this when you want to deploy static web apps, Single Page Apps (SPAs), or simple microservices. Do NOT use for Firebase App Hosting.

462 159.7K
View

Deploy and manage web apps with Firebase App Hosting. Use this skill when deploying Next.js/Angular apps with backends.

462 159.1K
View
deploy-to-vercel logo
DevOps & CI/CD

deploy-to-vercel

Deploy applications and websites to Vercel. Use when the user requests deployment actions like "deploy my app", "deploy and give me the link", "push this live", or "create a preview deployment".

31.9K 146.6K
View
programmatic-seo logo
DevOps & CI/CD

programmatic-seo

Build SEO-optimized pages at scale using templates, data, and proven playbook patterns.

53.3K 140.1K
View

Design and build isolated, reusable Convex backend components with clear boundaries and app-facing wrappers.

63 123.5K
View

Deploy and manage projects on Vercel using token-based authentication. Use when working with Vercel CLI using access tokens rather than interactive login — e.g. "deploy to vercel", "set up vercel", "add environment variables to vercel".

31.9K 116.1K
View

Coding & apps AI tools

Opus Clip logo
Coding & apps

Opus Clip

Opus.ai: Revolutionize Your Web Experience

Free
View
I
Coding & apps

Imagica

Build a no-code AI app in minutes.

Freemium
View
E
Coding & apps

Emergent.sh

An IDE for code migration from legacy to modern frameworks through coding agents.

Freemium
View
Wonder Dynamics logo
Coding & apps

Wonder Dynamics

Automate CGI animation in live-action scenes

Paid
View
M
Coding & apps

Mixo

Launch a website in seconds with AI.

Paid
View
AI Code Convert logo
Coding & apps

AI Code Convert

Streamline Your Coding Experience with AI Code Helper

Free
View