提案架構產生器:背景、目標、做法、時程一次整理成大綱
依序填寫提案名稱、對象、背景、問題、目標、做法、時程、預算、風險與成效指標,右側會整理成 Markdown 大綱,時程排成表格,空白章節自動省略並提醒你補齊。另附一段 Prompt,請 AI 寫成初稿且不編造數字,缺的資訊標成【待補】。
所屬專區:AI 與效率。版本 1.0.0,最後測試於。
提案大綱
還可以補充:提案名稱、提案對象、背景與現況、要解決的問題、目標、做法、時程與里程碑、預算概估、風險與因應、成效指標。沒填的章節不會出現在大綱裡。
在左側填寫欄位,這裡會即時整理成 Markdown 大綱。
請 AI 寫成提案初稿的 Prompt
填入任一欄位後,這裡會產生 Prompt。
Prompt 會要求 AI 不自行編造數字或事實,缺的資訊標成【待補】。內容只在你的瀏覽器處理,不會送出。
適合什麼時候用
- 要寫活動、專案或計畫提案,想先把架構理清楚再動筆
- 手上只有零散的想法,想知道一份提案通常還缺哪些部分
- 想請 AI 幫忙擴寫成初稿,但不希望它自行編造數字或事實
怎麼使用
- 按「填入範例」可以先看一份填好的樣子;或直接從空白開始。
- 依序填寫欄位。做法、目標、風險、成效指標都是每行一項;時程每行寫「日期或週次|內容」。從其他地方貼上的條列符號或編號(「- 」「1. 」)會自動去掉。
- 右側即時顯示 Markdown 大綱,並列出還沒填的章節。
- 按「複製 Markdown」貼到文件或筆記軟體;按「複製 Prompt」貼到 AI 工具,請它寫成完整初稿。
- 若出現紅色提醒,先把 Email、電話等個資刪除或改成代稱再複製。
範例:社區共餐試辦提案
假設只填了下列欄位,背景、風險與成效指標先空著:
- 提案名稱:社區共餐試辦
- 對象:社區發展協會理事會
- 要解決的問題:獨居長輩平日午餐多半自行簡單解決
- 目標:「試辦 3 個月,每週 2 次共餐」「每次至少 20 位長輩參加」(兩行)
- 做法:「借用活動中心廚房」「招募 6 位志工輪班」(兩行)
- 時程:「第 1–2 週|招募志工、開放報名」「第 3 週|第一次共餐」「第 12 週|檢討並決定是否續辦」
- 預算概估:食材費:每人每餐金額待向供應商詢價
產生的大綱(節錄時程與預算):
## 時程與里程碑
| 日期或週次 | 內容 |
|---|---|
| 第 1–2 週 | 招募志工、開放報名 |
| 第 3 週 | 第一次共餐 |
| 第 12 週 | 檢討並決定是否續辦 |
## 預算概估
- 食材費:每人每餐金額待向供應商詢價
右側會提醒「還可以補充:背景與現況、風險與因應、成效指標」。產生的 Prompt 會告訴 AI 讀者是社區發展協會理事會,並要求保留這三個章節、內容寫【待補】,不要自行補上數字。
和其他工具搭配
- 預算項目多時,先用活動預算計算器算出各項小計與總額,再填進「預算概估」。
- 想請 AI 做提案以外的事,例如改寫成公告或電子郵件,可以用 AI Prompt 產生器自己組 Prompt;欄位寫法見寫好 AI Prompt 的六個欄位。
- 要把提案做成簡報時,可參考用 AI 規劃教學投影片:文章以教學為例,但「先列大綱、確認後再寫每頁重點」的做法同樣適用。
限制與注意事項
- 工具只整理你填的內容,不判斷做法是否可行、預算是否合理或目標是否訂得恰當。
- 「還可以補充」只檢查欄位是否空白,不檢查內容寫得好不好;各單位或補助計畫的提案格式不同,請以對方要求的格式為準。
- Prompt 會要求 AI 不自行加入數字與事實,但無法保證 AI 一定遵守;初稿中的每個數字、日期與說法都要對照原始資料核對。
- 個資提醒只偵測常見格式(Email、臺灣手機號碼、身分證或居留證號、疑似信用卡號),無法辨識姓名、地址、客戶名稱或機密內容。
隱私與無障礙
填寫的內容只在你的瀏覽器整理成文字,不會上傳,也不會存在瀏覽器裡;本工具不會把內容送到任何 AI 服務。複製後貼到哪個 AI 工具,就適用該服務的資料政策,請先確認單位的使用規定,並移除個資與未公開資訊。
每個欄位都有標籤與說明文字;可只用鍵盤完成填寫與複製;「還可以補充」的章節清單更新時會通知螢幕閱讀器;大綱與 Prompt 以純文字呈現,可直接朗讀。
搭配 AI 使用的 Prompt 範本
把【】裡的內容換成你的情況再貼到 AI 工具。送出前請確認沒有個資或機密資料,並自行核對 AI 的回答。
(貼上前請刪除個人姓名、電話、Email、身分證號,以及客戶或合作單位的機密資料;人名用代號,例如 承辦人A。) 你是有經驗的企劃。請根據下面的資料寫出一份提案初稿。 提案名稱:【一句話寫出名稱】 提案對象:【例:社區發展協會理事會、某補助計畫】,格式要求:【對方規定的章節;沒有就寫「無」】 背景與要解決的問題:【用 3–5 句說明】 目標與成效指標:【例:3 個月內辦 4 場、每場 25 人以上】 做法與時程:【例:12 月籌備、1–3 月每月一場】 預算:【項目與金額,或「尚未估算」】 風險:【可能的風險與因應;沒有就寫「待補」】 請輸出: 1. 依「背景、問題、目標、做法、時程、預算、風險、成效指標」分節的初稿,時程與預算用 Markdown 表格。 2. 預算表寫出每項與加總的算式,並檢查和總額是否一致。 3. 文末列出待補資料清單。 規則:只使用我提供的資料,不要自行加入統計數字、法規、補助條件、價格或成果;缺的資訊寫【待補】,你為了讓文意通順所做的推論標成【假設】,需要對照原始文件或主辦單位確認的標成【需查證】。 (想先理清架構,可用本站 /tools/proposal-outline/ 填空整理大綱,再把大綱貼進來。)
計算邏輯原始碼
工具的計算部分是以下 TypeScript 函式,沒有呼叫任何外部服務。你可以複製到自己的專案使用,授權為 MIT License(Copyright © 2026 Explore Hub;保留此著作權聲明即可自由使用、修改、商用)。
csv-json.ts
export type Delimiter = ',' | '\t' | ';';
export type Cell = string | number;
/** Above this many characters (about 5 MB of ASCII) the UI warns that converting may be slow. */
export const LARGE_INPUT = 5_000_000;
const stripBom = (s: string) => (s.charCodeAt(0) === 0xfeff ? s.slice(1) : s);
/**
* Guess the delimiter from the first non-blank line, ignoring quoted text.
* A tab wins outright (Excel / Google 試算表 copy cells as tab-separated); otherwise the more frequent of ; and , (tie → ,).
*/
export function detectDelimiter(text: string): Delimiter {
const first = stripBom(text).split(/\r\n|\r|\n/).find((l) => l.trim() !== '') ?? '';
const line = first.replace(/"(?:[^"]|"")*"/g, '');
const count = (d: string) => line.split(d).length - 1;
if (count('\t') > 0) return '\t';
return count(';') > count(',') ? ';' : ',';
}
/**
* RFC 4180 parser: fields wrapped in "…" may contain the delimiter, line breaks and "" (an escaped quote).
* Accepts CRLF, LF or CR line endings and strips a leading UTF-8 BOM. Blank lines are skipped.
* A quote only opens a quoted field at the start of a field; elsewhere it is ordinary text (5" 螢幕).
* Throws with the line and character position of a quote that is never closed.
*/
export function parseCsv(text: string, delimiter: Delimiter = ','): string[][] {
const s = stripBom(text);
const rows: string[][] = [];
let row: string[] = [];
let field = '';
let atFieldStart = true;
let line = 1;
let lineStart = 0;
const endRow = () => {
row.push(field);
if (!(row.length === 1 && row[0] === '')) rows.push(row);
row = [];
field = '';
atFieldStart = true;
};
for (let i = 0; i < s.length; i++) {
const c = s[i];
if (atFieldStart && c === '"') {
const openLine = line;
const openCol = i - lineStart + 1;
for (i++; ; i++) {
if (i >= s.length) {
throw new Error(`第 ${openLine} 行第 ${openCol} 個字元的引號 " 沒有結束:請補上結尾的 ",或把欄位內的 " 寫成 ""。`);
}
if (s[i] === '"') {
if (s[i + 1] !== '"') break; // closing quote; the loop's i++ moves past it
field += '"';
i++;
} else {
if (s[i] === '\n') {
line++;
lineStart = i + 1;
}
field += s[i];
}
}
atFieldStart = false;
} else if (c === delimiter) {
row.push(field);
field = '';
atFieldStart = true;
} else if (c === '\n' || c === '\r') {
if (c === '\r' && s[i + 1] === '\n') i++;
endRow();
line++;
lineStart = i + 1;
} else {
field += c;
atFieldStart = false;
}
}
if (field !== '' || row.length > 0 || !atFieldStart) endRow();
return rows;
}
/** Empty headers become 欄位_<column number>; repeats get _2, _3 … so every key is unique and the result is deterministic. */
export function uniqueHeaders(raw: readonly string[]): string[] {
const used = new Set<string>();
return raw.map((h, i) => {
const base = h.trim() || `欄位_${i + 1}`;
let name = base;
for (let n = 2; used.has(name); n++) name = `${base}_${n}`;
used.add(name);
return name;
});
}
/**
* Optional type conversion: "" → null, true/false (any case) → boolean, plain decimal numbers → number.
* A number is converted only if writing it back gives the exact same text, so 0912 (leading zero),
* 12345678901234567890 (beyond double precision), 1.50, +5 and 1e3 all stay strings.
*/
export function convertValue(s: string): string | number | boolean | null {
if (s === '') return null;
if (/^true$/i.test(s)) return true;
if (/^false$/i.test(s)) return false;
if (/^-?\d+(\.\d+)?$/.test(s) && String(Number(s)) === s) return Number(s);
return s;
}
export interface CsvToJsonOptions {
delimiter: Delimiter;
/** false: every value stays a string. */
convertTypes: boolean;
pretty: boolean;
}
/** First row = keys. Rows shorter than the header get "" (or null); extra cells get their own 欄位_N key. */
export function csvToJson(text: string, { delimiter, convertTypes, pretty }: CsvToJsonOptions) {
const rows = parseCsv(text, delimiter);
if (rows.length === 0) throw new Error('沒有資料:請貼上 CSV,第一列放欄位名稱。');
const width = rows.reduce((w, r) => Math.max(w, r.length), 0);
const keys = uniqueHeaders(Array.from({ length: width }, (_, i) => rows[0][i] ?? ''));
// Object.fromEntries defines own properties, so a header named "__proto__" is kept as data.
const data = rows.slice(1).map((r) => Object.fromEntries(keys.map((k, i) => [k, convertTypes ? convertValue(r[i] ?? '') : (r[i] ?? '')])));
return { json: JSON.stringify(data, null, pretty ? 2 : undefined), records: data.length, keys };
}
/** JSON.parse with a Chinese message and an approximate line/column taken from the engine's error text when it has one. */
export function parseJson(text: string): unknown {
const s = stripBom(text);
if (s.trim() === '') throw new Error('沒有資料:請貼上 JSON 陣列,例如 [{"名稱":"A"}]。');
try {
return JSON.parse(s);
} catch (e) {
const msg = (e as Error).message;
const at = (index: number) => {
const before = s.slice(0, index).split('\n');
return `(約第 ${before.length} 行第 ${before[before.length - 1].length + 1} 個字元)`;
};
// Engines differ: "line 3 column 5" (Firefox, newer V8), "position 12" (V8), or nothing (Safari).
const lc = /line (\d+) column (\d+)/.exec(msg);
const pos = /position (\d+)/.exec(msg);
// V8 gives no position for a trailing comma in an array ("[1,]"), so look for one ourselves.
const comma = /Unexpected token '[\]}]'/.test(msg) ? /,\s*[\]}]/.exec(s) : null;
const where = lc ? `(約第 ${lc[1]} 行第 ${lc[2]} 個字元)` : pos ? at(Number(pos[1])) : comma ? at(comma.index) : '';
throw new Error(`JSON 格式錯誤${where}:${msg}。常見原因:最後一項後多了逗號、用了單引號、鍵名沒加雙引號。`);
}
}
const isRecord = (v: unknown): v is Record<string, unknown> => typeof v === 'object' && v !== null && !Array.isArray(v);
/** Numbers stay numbers; null → empty; nested objects/arrays are written as JSON text inside the cell. */
const toCell = (v: unknown): Cell =>
v === null || v === undefined ? '' : typeof v === 'number' ? v : typeof v === 'string' ? v : typeof v === 'boolean' ? String(v) : JSON.stringify(v);
/**
* Array of objects → header row (union of keys, in order of first appearance) + one row per object.
* Array of arrays → rows as they are, no header. A single object is treated as a one-item array.
* Pass the result to toCsv / downloadCsv (csv.ts), which quote cells and neutralise spreadsheet formulas.
*/
export function jsonToRows(data: unknown): Cell[][] {
const list = Array.isArray(data) ? data : isRecord(data) ? [data] : null;
if (!list) throw new Error('JSON 最外層需要是陣列 [ … ](或單一物件 { … })。');
if (list.length === 0) throw new Error('陣列是空的,沒有資料可以轉換。');
if (Array.isArray(list[0])) {
return list.map((r, i) => {
if (!Array.isArray(r)) throw new Error(`第 ${i + 1} 筆不是陣列:陣列裡要全部是陣列,或全部是物件。`);
return r.map(toCell);
});
}
const keys = new Set<string>();
list.forEach((r, i) => {
if (!isRecord(r)) throw new Error(`第 ${i + 1} 筆不是物件:陣列裡要全部是物件 { … },或全部是陣列 [ … ]。`);
for (const k of Object.keys(r)) keys.add(k);
});
const header = [...keys];
return [header, ...list.map((r) => header.map((k) => toCell(r[k])))];
}
markdown-table.ts
import { parseCsv, type Delimiter } from './csv-json.ts';
export type Align = 'left' | 'center' | 'right';
export interface Table {
header: string[];
body: string[][];
}
/**
* Pasted text → rectangular table. Rows shorter than the widest row are padded with "".
* Without a header row the columns are named 欄 1, 欄 2 …
*/
export function toTable(text: string, delimiter: Delimiter, firstRowIsHeader: boolean): Table {
const rows = parseCsv(text, delimiter);
const width = rows.reduce((w, r) => Math.max(w, r.length), 0);
const grid = rows.map((r) => Array.from({ length: width }, (_, i) => r[i] ?? ''));
if (firstRowIsHeader) return { header: grid[0] ?? [], body: grid.slice(1) };
return { header: Array.from({ length: width }, (_, i) => `欄 ${i + 1}`), body: grid };
}
/** A Markdown cell cannot hold a line break or a bare |: escape | as \| and turn line breaks into <br>. */
export const escapeCell = (s: string) => s.trim().replace(/\|/g, '\\|').replace(/\r\n|\r|\n/g, '<br>');
// shortcut: covers CJK, kana, Hangul, full-width forms and common emoji, not the full Unicode East Asian Width table; extend if odd scripts misalign.
const WIDE = /[ᄀ-ᅟ⺀-가-힣豈-︰-﹏-⦆¢-₩\u{1F300}-\u{1FAFF}\u{20000}-\u{3FFFD}]/u;
/** Columns a string takes in a monospace font: full-width (East Asian Wide) characters count 2, others 1. */
export function displayWidth(s: string): number {
let w = 0;
for (const ch of s) w += WIDE.test(ch) ? 2 : 1;
return w;
}
/**
* Build a GFM table. Alignment row: :--- left, :---: center, ---: right.
* pretty = pad every cell with spaces so the | line up in a monospace editor (full-width characters count as 2).
*/
export function toMarkdown(table: Table, aligns: readonly Align[], pretty: boolean): string {
if (table.header.length === 0) return '';
const head = table.header.map(escapeCell);
const body = table.body.map((r) => r.map(escapeCell));
const widths = head.map((h, i) => (pretty ? body.reduce((w, r) => Math.max(w, displayWidth(r[i])), Math.max(3, displayWidth(h))) : 3));
const align = (i: number) => aligns[i] ?? 'left';
const pad = (s: string, i: number) => {
const gap = pretty ? widths[i] - displayWidth(s) : 0;
const before = align(i) === 'right' ? gap : align(i) === 'center' ? Math.floor(gap / 2) : 0;
return ' '.repeat(before) + s + ' '.repeat(gap - before);
};
const rule = widths.map((w, i) => (align(i) === 'center' ? `:${'-'.repeat(w - 2)}:` : align(i) === 'right' ? `${'-'.repeat(w - 1)}:` : `:${'-'.repeat(w - 1)}`));
const line = (cells: string[]) => `| ${cells.join(' | ')} |`;
return [line(head.map(pad)), line(rule), ...body.map((r) => line(r.map(pad)))].join('\n');
}
proposal-outline.ts
import { escapeCell } from './markdown-table.ts';
export interface ProposalFields {
title: string;
audience: string;
background: string;
problem: string;
goals: string;
approach: string;
/** One milestone per line: 「日期或週次|內容」. */
milestones: string;
budget: string;
risks: string;
metrics: string;
}
export const EMPTY_PROPOSAL: ProposalFields = {
title: '',
audience: '',
background: '',
problem: '',
goals: '',
approach: '',
milestones: '',
budget: '',
risks: '',
metrics: '',
};
/** Outline sections in order. `title` is the document heading, not a section. */
export const SECTIONS: readonly { key: Exclude<keyof ProposalFields, 'title'>; label: string }[] = [
{ key: 'audience', label: '提案對象' },
{ key: 'background', label: '背景與現況' },
{ key: 'problem', label: '要解決的問題' },
{ key: 'goals', label: '目標' },
{ key: 'approach', label: '做法' },
{ key: 'milestones', label: '時程與里程碑' },
{ key: 'budget', label: '預算概估' },
{ key: 'risks', label: '風險與因應' },
{ key: 'metrics', label: '成效指標' },
];
/**
* One item per line: trims, drops blank lines and strips a leading bullet or list number
* (「- 」「• 」「1. 」「1、」), so pasted lists don't end up double-bulleted.
* A bare number like 「1.5 萬」 is kept because "1." must be followed by a space.
*/
export function parseLines(text: string): string[] {
return text
.split(/\r?\n/)
.map((s) => s.trim().replace(/^(?:[-*]\s+|[•・]\s*|\d{1,2}(?:[.)]\s+|[、)]\s*))/, '').trim())
.filter(Boolean);
}
/** 「第 1 週|需求訪談」→ { when: '第 1 週', what: '需求訪談' }. Full-width | or ASCII |; no separator → when is empty. */
export function parseMilestones(text: string): { when: string; what: string }[] {
return parseLines(text).map((line) => {
const m = line.match(/^(.*?)\s*[||]\s*(.*)$/);
return m ? { when: m[1], what: m[2] } : { when: '', what: line };
});
}
/** Labels of the sections the user has not filled in yet (the title counts too). */
export function missingSections(f: ProposalFields): string[] {
return [...(f.title.trim() ? [] : ['提案名稱']), ...SECTIONS.filter((s) => parseLines(f[s.key]).length === 0).map((s) => s.label)];
}
/** Markdown outline: a heading per filled-in section, bullets inside, milestones as a table. Empty sections are left out. */
export function buildOutline(f: ProposalFields): string {
const parts: string[] = [];
for (const { key, label } of SECTIONS) {
if (key === 'milestones') {
const rows = parseMilestones(f.milestones);
if (rows.length) {
const table = ['| 日期或週次 | 內容 |', '|---|---|', ...rows.map((r) => `| ${escapeCell(r.when)} | ${escapeCell(r.what)} |`)];
parts.push(`## ${label}\n\n${table.join('\n')}`);
}
continue;
}
const lines = parseLines(f[key]);
if (lines.length) parts.push(`## ${label}\n\n${lines.map((l) => `- ${l}`).join('\n')}`);
}
const title = f.title.trim();
if (!parts.length && !title) return '';
return [`# ${title || '提案大綱'}`, ...parts].join('\n\n');
}
/** Prompt asking an AI assistant to expand the outline without inventing facts; unknowns become 【待補】. */
export function buildProposalPrompt(f: ProposalFields): string {
const outline = buildOutline(f);
if (!outline) return '';
const audience = parseLines(f.audience).join('、');
// 提案對象 only tells the AI who reads it; it is not a chapter of the proposal.
const missing = SECTIONS.filter((s) => s.key !== 'audience' && parseLines(f[s.key]).length === 0).map((s) => s.label);
const rules = [
'只使用大綱裡提供的資訊。不要自行加入任何數字、金額、日期、統計資料、案例、引用、機構或人名。',
'大綱裡的數字、金額與日期請照抄,不要換算、加總或推估。',
'完整提案需要、但大綱沒有提供的資訊,請在該處寫【待補】,不要用假設的內容填空。',
...(missing.length ? [`大綱沒有「${missing.join('」「')}」,請保留這些章節標題,內容寫【待補】。`] : []),
'使用繁體中文(臺灣)用語,語氣專業、具體,不誇大成效。',
];
return [
`你是擅長撰寫提案的顧問。請把下方的提案大綱寫成一份完整的提案初稿${audience ? `,讀者是${audience}` : ''}。`,
`## 寫作規則\n${rules.map((r) => `- ${r}`).join('\n')}`,
'## 輸出格式\n- 開頭先寫 150 字以內的摘要。\n- 依大綱的章節順序展開,每章用 Markdown 標題,內容以短段落與條列為主。\n- 時程用表格呈現。\n- 最後列出「待補清單」:每個【待補】需要補充什麼資訊。',
`## 提案大綱\n\n${outline}`,
].join('\n\n');
}
常見問題
每個欄位都要填嗎?
不用。空白的欄位不會出現在大綱裡,右側會列出還沒填的章節供你參考。複製 Prompt 給 AI 時,缺的章節會被要求保留標題並寫【待補】,方便你之後補齊。
時程要怎麼寫才會變成表格?
每行寫一個里程碑,格式是「日期或週次|內容」,例如「第 3 週|第一次共餐」。全形「|」或半形「|」都可以;沒有分隔符號的行,會整行放在「內容」欄。
為什麼 AI 寫出的初稿有很多【待補】?
這是刻意的。Prompt 要求 AI 只用大綱裡的資訊,沒有提供的數字、日期或背景就標成【待補】,而不是自行編造。把【待補】的項目查清楚再補上,提案才站得住腳。
預算要寫多細?
大綱階段列出主要項目與概估金額即可。需要逐項計算數量、單價與總額時,可以先用活動預算計算器算好,再把結果貼進「預算概估」。
相關內容
- CSV ⇄ JSON 轉換器工具
免費 CSV 與 JSON 互轉工具。支援引號、欄位內換行,以及逗號、分號、Tab 分隔;可選擇保留文字或轉換數字,0 開頭的電話與長編號不會被改掉,轉出的 CSV 防公式注入,資料只在瀏覽器處理。
- Markdown 表格產生器工具
免費 Markdown 表格產生器。從 Excel、Google 試算表複製儲存格或貼上 CSV,自動判斷分隔符號,處理儲存格內換行與直線符號,可設定每欄對齊與欄寬對齊,即時預覽並複製。
- AI Prompt 產生器工具
免費 AI Prompt 產生器。依角色、任務、背景、目標、限制、輸出格式六個欄位填空,即時組成結構清楚的 Prompt,可複製到 ChatGPT、Claude、Gemini,並提醒移除個資。
- 搜尋結果標題與描述預覽工具
免費搜尋結果預覽工具。輸入頁面標題、meta description 與網址,查看桌機與手機的估計顯示、字數與可能被截斷的位置,並提醒重複關鍵字、描述過短等常見問題。
- 寫好 AI Prompt 的六個欄位:角色、任務、背景、目標、限制、輸出格式
把 Prompt 拆成角色、任務、背景、目標、限制、輸出格式六個欄位,附活動企劃、會議重點、家長通知的寫法對照、可複製範例,以及檢查 AI 輸出與保護資料的做法。
- 用 AI 規劃教學投影片:從大綱到每頁重點的 Prompt
用兩步驟請 AI 協助規劃教學投影片:先產出可審閱的大綱,再逐頁寫畫面文字與講者備忘稿。附兩段可複製 Prompt、審閱 AI 草稿的檢查清單,以及智慧局對 AI 生成內容著作權的解釋重點。