|
@@ -1,69 +1,53 @@
|
|
|
---
|
|
---
|
|
|
name: create-less-and-cosmos-business-card
|
|
name: create-less-and-cosmos-business-card
|
|
|
-description: Create matching minimalist, high-end, double-sided business cards for 杭州纯粹星辰人工智能科技有限公司 (Less and Cosmos) from a person's name, title, email, and phone number. Use when Codex needs to make, add, revise, preview, or export a 90×54 mm 纯粹星辰 employee business card in SVG or PNG while preserving the supplied brand logo, warm-white palette, generous whitespace, slogan, company address, and established layout.
|
|
|
|
|
|
|
+description: Create, revise, preview, and export minimalist warm-white double-sided employee business cards for 杭州纯粹星辰人工智能科技有限公司 (Less and Cosmos) from a Chinese name, bilingual title, email, and phone number. Use for the light 90×54 mm 纯粹星辰 business-card style in SVG or PNG while preserving the supplied brand system and automatically splitting bilingual titles onto separate lines.
|
|
|
---
|
|
---
|
|
|
|
|
|
|
|
-# Create Less and Cosmos Business Cards
|
|
|
|
|
|
|
+# Create Less and Cosmos Light Business Cards
|
|
|
|
|
|
|
|
-Generate the card from the bundled templates; do not redraw or reinterpret the visual system unless the user explicitly requests a redesign.
|
|
|
|
|
|
|
+Generate from the bundled templates. Preserve the layout and light visual system unless the user explicitly requests a redesign.
|
|
|
|
|
|
|
|
## Required input
|
|
## Required input
|
|
|
|
|
|
|
|
-Collect or infer only these employee-specific fields:
|
|
|
|
|
|
|
+Collect or infer only:
|
|
|
|
|
|
|
|
- Chinese name
|
|
- Chinese name
|
|
|
-- Chinese title, optionally followed by an English abbreviation such as `联合创始人 / CMO`
|
|
|
|
|
|
|
+- Title, preferably `中文职位 / English Title`
|
|
|
- Email
|
|
- Email
|
|
|
- Mobile number
|
|
- Mobile number
|
|
|
|
|
|
|
|
-Keep these brand fields fixed unless the user supplies corrections:
|
|
|
|
|
|
|
+Keep these fixed unless corrected by the user:
|
|
|
|
|
|
|
|
- Company: `杭州纯粹星辰人工智能科技有限公司`
|
|
- Company: `杭州纯粹星辰人工智能科技有限公司`
|
|
|
- Address: `浙江省杭州市西湖区转塘街道云腾丝路中心5号楼商业208室`
|
|
- Address: `浙江省杭州市西湖区转塘街道云腾丝路中心5号楼商业208室`
|
|
|
- Website: `lessncosmos.com`
|
|
- Website: `lessncosmos.com`
|
|
|
- Slogan: `构建能够持续学习与进化的企业级人工智能系统。`
|
|
- Slogan: `构建能够持续学习与进化的企业级人工智能系统。`
|
|
|
|
|
|
|
|
-## Generate the card
|
|
|
|
|
|
|
+## Generate
|
|
|
|
|
|
|
|
-Run the bundled generator from the skill directory:
|
|
|
|
|
|
|
+Run from the skill directory:
|
|
|
|
|
|
|
|
```bash
|
|
```bash
|
|
|
python3 scripts/generate_card.py \
|
|
python3 scripts/generate_card.py \
|
|
|
- --name "石志瑞" \
|
|
|
|
|
- --title "联合创始人 / CMO" \
|
|
|
|
|
- --email "shizr@lessncosmos.com" \
|
|
|
|
|
- --phone "139 1051 5989" \
|
|
|
|
|
- --output-dir ./output/shi-zhirui
|
|
|
|
|
|
|
+ --name "林知远" \
|
|
|
|
|
+ --title "AI 产品负责人 / Head of AI Product" \
|
|
|
|
|
+ --email "linzy@lessncosmos.com" \
|
|
|
|
|
+ --phone "138 0000 0000" \
|
|
|
|
|
+ --output-dir ./output/lin-zhiyuan
|
|
|
```
|
|
```
|
|
|
|
|
|
|
|
-The script creates:
|
|
|
|
|
|
|
+The generator writes `front.svg`, `back.svg`, `preview.html`, and `card-data.json`. It adds `+86` when the phone has no country code.
|
|
|
|
|
|
|
|
-- `front.svg`: common brand front
|
|
|
|
|
-- `back.svg`: personalized contact side
|
|
|
|
|
-- `preview.html`: side-by-side browser preview
|
|
|
|
|
-- `card-data.json`: normalized source data for later edits
|
|
|
|
|
-
|
|
|
|
|
-Use a short lowercase Latin slug for the output directory. Preserve spaces in phone groups; the generator adds `+86` when no country code is present.
|
|
|
|
|
|
|
+The title is laid out automatically: text before `/` is the primary Chinese line; text after `/` is the smaller English line. Do not manually edit positioned title text.
|
|
|
|
|
|
|
|
## Render and verify
|
|
## Render and verify
|
|
|
|
|
|
|
|
-1. Render both SVG files or open `preview.html` in a browser.
|
|
|
|
|
-2. Produce 1800×1080 PNG files when the user requests images or a downloadable bundle. Prefer an installed SVG renderer such as Sharp, a browser screenshot, Inkscape, or `rsvg-convert`.
|
|
|
|
|
-3. Visually check the preview at full size. Confirm that the email does not overflow and all Chinese glyphs render correctly.
|
|
|
|
|
-4. Compare every output field with `card-data.json`; never silently correct a person's name or email.
|
|
|
|
|
-5. Package the two SVG files, PNG files when rendered, preview, and JSON into a ZIP for sharing.
|
|
|
|
|
-
|
|
|
|
|
-## Preserve the visual system
|
|
|
|
|
-
|
|
|
|
|
-- Keep the canvas at 90×54 mm with `viewBox="0 0 1800 1080"`.
|
|
|
|
|
-- Keep the warm-white background `#F7F7F5`, near-black text, cool gray secondary text, and restrained gold accent `#B89652`.
|
|
|
|
|
-- Keep the front common across all employees.
|
|
|
|
|
-- Keep the employee name and title on the left of the back, contact information on the right, and company/address below the divider.
|
|
|
|
|
-- Maintain the generous margins and avoid adding icons, QR codes, borders, gradients, shadows, or decorative imagery unless requested.
|
|
|
|
|
-- Use the font fallbacks already embedded in the SVG. Do not outline text unless a print vendor requires it.
|
|
|
|
|
-
|
|
|
|
|
-For production details and delivery checks, read [references/print-specifications.md](references/print-specifications.md).
|
|
|
|
|
|
|
+1. Render both SVG files or open `preview.html`.
|
|
|
|
|
+2. When delivering images, render 1800×1080 PNG files.
|
|
|
|
|
+3. Check Chinese glyphs, title wrapping, and email overflow visually.
|
|
|
|
|
+4. Compare every field with `card-data.json`.
|
|
|
|
|
+5. Package SVG, PNG, preview, and JSON files into a ZIP.
|
|
|
|
|
|
|
|
-## Revise an existing card
|
|
|
|
|
|
|
+Keep the 90×54 mm canvas, warm-white `#F7F7F5` background, cool gray text, gold accent, generous margins, and existing layout. Read [references/print-specifications.md](references/print-specifications.md) for print delivery.
|
|
|
|
|
|
|
|
-Regenerate from the corrected fields instead of editing positioned text manually. Re-render and re-check the result after every data change.
|
|
|
|
|
|
|
+Regenerate after data changes; do not edit personalized text manually.
|