Communitygithub.com

ranbot-ai/awesome-skills

用於編輯設計的網頁與應用實作指南。當使用者想要雜誌風格的版面、大字標題與優雅字型搭配時觸發。

awesome-skills 是什麼?

此技能提供了一套完整的編輯設計(Editorial Design)實作指南,適用於使用者需要雜誌風格版面、大字標題與優雅字型配對的情境。其核心在於透過襯線與無襯線字型的對比、大型首字放大與引言引用、以及多欄排版,營造出數位雜誌的細緻與節奏感。支援的實作平台包含 Web(CSS)、SwiftUI 與 Flutter,各平台均附有完整程式碼範例與樣式細節。此技能為「design-it」技能的子風格參考,不應直接觸發,適合對印刷美學有追求的開發者與設計師使用。

相容平台~Claude Code~Codex CLI~Cursor✓Antigravity
npx skills add https://github.com/ranbot-ai/awesome-skills/tree/HEAD/skills/design-it-editorial-design

在你喜歡的 AI 中提問

開啟一個已預先載入此 Agent Skill 的新對話。

說明文件

編輯設計

"數位雜誌。精緻的字型搭配與深思熟慮的優雅節奏。"

使用時機

當使用者的需求符合上述美學時,使用此子風格。這是 design-it 技能的子參考,不應直接觸發。

核心原則

  1. 襯線與無襯線配對:編輯設計的標誌性元素。標題使用具有高對比度的優美襯線字型,內文則搭配乾淨的無襯線字型。
  2. 大型首字放大與引言引用:引導視線並打斷長文區塊的印刷裝飾。
  3. 多欄排版:內容以明確的欄位排列,常以細線分隔。

視覺基因

  • 顏色:現代編輯(Modern Editorial)或 遊艇俱樂部(Yacht Club)。暖色、紙質感的背景,搭配深色、墨水般的黑色或海軍藍。
  • 字型:
    • 標題:Playfair Display、Merriweather、Bodoni。
    • 內文:Lato、Open Sans、Source Sans Pro。
  • 邊框:細緻的水平線用於分隔區段。

Web 實作

  • CSS 範例:
body {
  background-color: #F9F9F9; /* 紙白 */
  color: #121212; /* 墨水黑 */
}

/* 字型配對 */
.editorial-headline {
  font-family: 'Playfair Display', serif;
  font-size: 4rem;
  font-weight: 700;
  font-style: italic;
  margin-bottom: 24px;
  border-bottom: 1px solid #121212;
  padding-bottom: 24px;
}

.editorial-body {
  font-family: 'Lato', sans-serif;
  font-size: 1.1rem;
  line-height: 1.8;
  column-count: 2; /* 雜誌欄數 */
  column-gap: 40px;
}

/* 首字放大 */
.editorial-body::first-letter {
  font-family: 'Playfair Display', serif;
  font-size: 4rem;
  float: left;
  line-height: 0.8;
  padding-right: 12px;
  color: var(--cta-highlight);
}

.pull-quote {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  text-align: center;
  margin: 48px 0;
  padding: 24px 0;
  border-top: 2px solid #121212;
  border-bottom: 2px solid #121212;
}

App 實作

SwiftUI

struct EditorialView: View {
    var body: some View {
        ScrollView {
            VStack(alignment: .leading, spacing: 24) {
                // 編輯標題
                Text("The Digital\nMagazine")
                    .font(.custom("Playfair Display", size: 48))
                    .fontWeight(.bold)
                    .italic()
                    .foregroundColor(Color(white: 0.05))
                    .padding(.bottom, 16)
                
                Divider().background(Color.black)
                
                // 首字放大與內文
                HStack(alignment: .top, spacing: 8) {
                    Text("I")
                        .font(.custom("Playfair Display", size: 64))
                        .foregroundColor(Color(red: 0.7, green: 0.2, blue: 0.2))
                        // 負邊距讓內文更貼近首字
                        .padding(.top, -10) 
                    
                    Text("n an era of sterile, flat interfaces, the return to elegant typography feels like a breath of fresh air. The interplay of serif and sans-serif...")
                        .font(.custom("Lato", size: 16))
                        .lineSpacing(6)
                        .foregroundColor(Color(white: 0.1))
                }
                
                // 引言引用
                VStack {
                    Divider().background(Color.black)
                    Text("“Sophistication is in the spacing.”")
                        .font(.custom("Playfair Display", size: 28))
                        .italic()
                        .multilineTextAlignment(.center)
                        .padding(.vertical, 24)
                    Divider().background(Color.black)
                }
                .padding(.vertical, 24)
            }
            .padding(24)
        }
        .background(Color(red: 0.98, green: 0.98, blue: 0.96)) // 暖色紙白
    }
}
  • 必須大量使用 .font(.custom()),系統字型看起來太像 App。
  • 使用 Divider() 來建立印刷設計中常見的細線。
  • 可透過 HStack 對齊頂部來模擬「首字放大」。

Flutter

class EditorialScreen extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      backgroundColor: const Color(0xFFF9F9F8), // 紙質背景
      body: SingleChildScrollView(
        padding: const EdgeInsets.all(24.0),
        child: Column(
          crossAxisAlignment: CrossAxisAlignment.start,
          children: [
            const SizedBox(height: 40),
            const Text(
              'The Digital\nMagazine',
              style: TextStyle(fontFamily: 'PlayfairDisplay', fontSize: 48, fontWeight: FontWeight.bold, fontStyle: FontStyle.italic, height: 1.1),
            ),
            const SizedBox(height: 24),
            const Divider(color: Colors.black, thickness: 1),
          ],
        ),
      ),
    );
  }
}
  • 使用自訂字型:在 pubspec.yaml 中加入字型定義並重啟應用程式。
  • 使用 Divider widget 建立印刷風格的細線。
  • SizedBox 用於控制間距,模擬雜誌的留白節奏。

Individual skills in this repo

This repo contains 11 individual skills — each has its own dedicated page.

ranbot-ai/awesome-skills

Skill for discovering and researching autonomous AI agents, tools, and ecosystems using the AgentFolio directory.

ranbot-ai/awesome-skills

Install and use the official Multilingual Voiceover package, pinned by digest, for paid hosted work on the Beatra service.

ranbot-ai/awesome-skills

Downloads videos from YouTube and other platforms for offline viewing, editing, or archival. Handles various formats and quality options.

ranbot-ai/awesome-skills

Install and use the official Beatra AI Video Studio package, pinned by digest, for paid text-to-video, image-to-video, and video edit or extend jobs on the hosted Beatra service.

ranbot-ai/awesome-skills

You are an expert copy editor specializing in marketing and conversion copy. Your goal is to systematically improve existing copy through focused editing passes while preserving the core message.

ranbot-ai/awesome-skills

Debtor and creditor credit-cycle analysis: weighted collection or payment days, ageing buckets, credit limit utilisation and gap against benchmark. Use for working-capital review.

ranbot-ai/awesome-skills

AI-powered image editing with style transfer and object removal

ranbot-ai/awesome-skills

Expert in building portfolios that actually land jobs and clients - not just showing work, but creating memorable experiences. Covers developer portfolios, designer portfolios, creative portfolios, an

ranbot-ai/awesome-skills

Automate Klipfolio tasks via Rube MCP (Composio). Always search tools first for current schemas.

ranbot-ai/awesome-skills

Generates high-converting Next.js/React landing pages with Tailwind CSS. Uses PAS, AIDA, and BAB frameworks for optimized copy/components (Heroes, Features, Pricing). Focuses on Core Web Vitals/SEO.

ranbot-ai/awesome-skills

Expert in building custom tools that solve your own problems first. The best products often start as personal tools - scratch your own itch, build for yourself, then discover others have the same itch

相關技能