One-Click Blog Publishing with Claude Agent Skills: From Complex Workflow to Natural Language Interaction

One-Click Blog Publishing with Claude Agent Skills: From Complex Workflow to Natural Language Interaction Introduction: From Multi-Step to One Sentence Imagine these two blog publishing experiences: Traditional Way (even with automation scripts): # 1. Security check ./check_sensitive.sh # 2. Publish article python publish.py \ -f "ready/article.md" \ -t "Article Title" \ -c tech \ --tags "tag1,tag2" \ -d "Article description" # 3. Sync to Obsidian python sync.py # 4. Preview cd blog && hugo server -D # 5. Deploy cd blog && hugo && git add . && git commit -m "..." && git push Using Claude Agent Skills: ...

2025-11-14 · 14 min · geekhuashan

Integrating Cloudflare Workers + Google Analytics Pageviews in Hugo Blog

Background As a Hugo static blog hosted on Cloudflare Pages, I’ve always wanted to display real pageview data on article pages. But the problem is: Google Analytics gtag.js can only “write” data, can’t “read” historical data Static blogs have no backend, can’t directly call GA4 Data API Don’t want to depend on third-party services (like Busuanzi), want complete control over data After research, I chose the Cloudflare Workers + Google Analytics Data API solution, which perfectly solved this problem. ...

2025-11-04 · 7 min · geekhuashan

Lighthouse Performance Optimization: The Journey from 98 to Perfect Score

Background After completing [[ai-agent-seo-optimization|AI SEO optimization]], I conducted a comprehensive Lighthouse performance test on my blog. The results were both gratifying and surprising: ✅ Already excellent metrics: LCP (Largest Contentful Paint): 0.4 seconds (target < 2.5s) INP (Interaction to Next Paint): 0 milliseconds (target < 200ms) CLS (Cumulative Layout Shift): 0.026 (target < 0.1) Performance Score: 98 points ⚠️ Areas still improvable: Render-blocking resources causing 147ms FCP delay Footer color contrast not meeting accessibility standards Heatmap component causing 0.026 layout shift Third-party scripts occupying 417ms main thread time This article documents my complete process of optimizing from “already fast” to “perfect”, and why these optimizations still matter. ...

2025-11-03 · 15 min · geekhuashan

AI Era SEO Optimization Practices: Making Your Blog Visible to AI Agents

Background In 2025, AI is changing how we access information. When users ask ChatGPT questions, search with Perplexity, or see Google’s AI Overview, the rules of traditional SEO have changed. Key Statistics: 13.14% of Google searches now trigger AI Overview (March 2025, doubled from 6.49% in January) Pages with Schema markup are 36% more likely to be cited by AI Gartner predicts traditional SEO traffic will decline 25% due to AI chatbots AI crawler timeouts are typically 1-5 seconds, requiring fast responses As a technical blog maintainer, I realized: if my content cannot be understood and cited by AI Agents, its future visibility will significantly decline. ...

2025-11-03 · 9 min · geekhuashan

From GitHub Pages to Cloudflare Pages: Migration Practice for Global CDN and Private Content Management

Why Migrate? After using GitHub Pages to host my personal blog for nearly a year, I decided to migrate to Cloudflare Pages. I had two core needs: 1. Global CDN Acceleration Although GitHub Pages is reliable, access speed is not ideal in certain regions. Cloudflare Pages comes with global CDN, automatically distributing content across 300+ nodes worldwide, which can significantly improve website access speed globally. 2. Fine-Grained Access Control This is the most important reason for migration. I want the blog to support the following scenarios: ...

2025-10-30 · 7 min · geekhuashan