Skip to content

Commit 806c133

Browse files
committed
refactor(site): simplify submit to 3-step guide + Issue template
Remove the entire form. Submission is now: 1. Copy AI prompt, paste into Claude/ChatGPT with your idea 2. Review checklist (4 checkboxes) 3. Click 'Open Issue Template on GitHub' — paste into fields Collapsible full example (Stoic Architect) at the bottom. No more URL length issues — Issue template handles all fields. Bilingual (EN/ZH).
1 parent 34b9cd0 commit 806c133

3 files changed

Lines changed: 175 additions & 333 deletions

File tree

site/i18n.js

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,19 @@ const I18N = {
6767
'form.identity.hint': 'Markdown personality definition (role anchoring, traits, patterns)',
6868
'form.author': 'Author *',
6969
'form.submit': 'Create GitHub Issue',
70+
'submit.desc2': 'Three steps: ask your AI to generate it, review, submit as GitHub Issue.',
71+
'submit.s1.title': 'Ask your AI to generate the persona',
72+
'submit.s1.desc': 'Copy this prompt and paste it into Claude, ChatGPT, or any AI. Describe your idea where it says [YOUR IDEA]. The AI will output a persona-card.json + identity.md.',
73+
'submit.s2.title': 'Review what the AI generated',
74+
'submit.s2.desc': 'Check the persona-card.json fields and identity.md content. Add personal touches the AI missed. Make sure the personality feels distinct.',
75+
'submit.s3.title': 'Submit as GitHub Issue',
76+
'submit.s3.desc': 'Click the button below. It opens a pre-configured Issue template. Paste your persona-card.json and identity.md into the corresponding fields.',
77+
'submit.open': 'Open Issue Template on GitHub',
78+
'submit.check.1': 'voice.self and voice.user feel natural',
79+
'submit.check.2': 'description is a single clear sentence',
80+
'submit.check.3': 'identity.md has Role Anchoring + Personality Traits + Emotional Patterns',
81+
'submit.check.4': 'the persona is different from the 5 built-in ones',
82+
'submit.example.title': 'See a complete example (Stoic Architect)',
7083
'form.intro': 'Fill in manually, or paste what your AI generated. The form produces a GitHub Issue with your persona-card.json.',
7184
'form.json': 'Full persona-card.json (optional)',
7285
'form.json.hint': 'If your AI generated the complete JSON, paste it here. It will be included in the issue as-is.',
@@ -162,6 +175,19 @@ const I18N = {
162175
'form.identity.hint': 'Markdown 人格定义(角色锄定、性格特征、情绪模式)',
163176
'form.author': '作者 *',
164177
'form.submit': '创建 GitHub Issue',
178+
'submit.desc2': '三步走:让 AI 帮你生成、检查、提交到 GitHub Issue。',
179+
'submit.s1.title': '让 AI 帮你生成人格',
180+
'submit.s1.desc': '复制下方提示词,粘贴到 Claude、ChatGPT 或任意 AI 中。在 [YOUR IDEA] 处填入你的想法。AI 会输出 persona-card.json + identity.md。',
181+
'submit.s2.title': '检查 AI 生成的内容',
182+
'submit.s2.desc': '检查 persona-card.json 字段和 identity.md 内容。补充 AI 遗漏的个人风味。确保人格足够独特。',
183+
'submit.s3.title': '提交为 GitHub Issue',
184+
'submit.s3.desc': '点击下方按钮,打开预配置的 Issue 模板。把 persona-card.json 和 identity.md 粘贴到对应字段即可。',
185+
'submit.open': '在 GitHub 上打开 Issue 模板',
186+
'submit.check.1': 'voice.self 和 voice.user 感觉自然',
187+
'submit.check.2': 'description 是一句清晰的话',
188+
'submit.check.3': 'identity.md 有角色锚定 + 性格特征 + 情绪模式',
189+
'submit.check.4': '和内置的 5 个人格有明显区别',
190+
'submit.example.title': '查看完整示例(Stoic Architect)',
165191
'form.intro': '手动填写,或粘贴 AI 生成的内容。表单会生成一个包含 persona-card.json 的 GitHub Issue。',
166192
'form.json': '完整 persona-card.json(可选)',
167193
'form.json.hint': '如果你的 AI 已生成完整 JSON,直接粘贴到这里。',

site/style.css

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -385,6 +385,30 @@ footer { padding: 40px 24px; border-top: 1px solid var(--border); }
385385
width: 6px; height: 6px; background: var(--accent); border-radius: 50%;
386386
}
387387

388+
/* Submit Steps */
389+
.submit-step { padding: 28px; margin-bottom: 16px; }
390+
.step-header { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 20px; }
391+
.step-header h3 { font-size: 1rem; margin-bottom: 4px; }
392+
.step-header p { font-size: 0.85rem; color: var(--text-dim); line-height: 1.6; }
393+
394+
.review-checklist { display: flex; flex-direction: column; gap: 10px; }
395+
.review-checklist label {
396+
display: flex; align-items: center; gap: 10px;
397+
font-size: 0.85rem; color: var(--text-dim); cursor: pointer;
398+
}
399+
.review-checklist input[type="checkbox"] {
400+
width: 18px; height: 18px; accent-color: var(--accent); flex-shrink: 0;
401+
}
402+
403+
.example-collapse { margin-top: 24px; }
404+
.example-collapse summary {
405+
padding: 16px 24px; cursor: pointer; font-size: 0.9rem; font-weight: 600;
406+
list-style: none; display: flex; align-items: center; gap: 8px;
407+
}
408+
.example-collapse summary::before { content: '+ '; color: var(--accent); font-weight: 800; }
409+
.example-collapse[open] summary::before { content: '- '; }
410+
.example-collapse .example-split { margin-top: 16px; }
411+
388412
/* Form additions */
389413
.form-intro { font-size: 0.85rem; color: var(--text-dim); margin-bottom: 24px; }
390414
.form-section { padding: 0 24px 100px; }

0 commit comments

Comments
 (0)