Merge pull request 'fix: update role introduction formatting to use table layout' (#78) from feat/refactor/kiro/fix into feat/refactor/main
Reviewed-on: jiantw83/code-review#78
This commit is contained in:
+6
-2
@@ -12,9 +12,13 @@ export function loadRoles() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
export function getRoleIntro(roles) {
|
export function getRoleIntro(roles) {
|
||||||
const lines = ['## 🤖 AI Code Review 團隊', ''];
|
const lines = [
|
||||||
|
'## 🤖 AI Code Review 團隊', '',
|
||||||
|
'| 👤 名稱 | 🎯 職責 | 🧠 個性 |',
|
||||||
|
'|--------|--------|--------|',
|
||||||
|
];
|
||||||
for (const r of roles) {
|
for (const r of roles) {
|
||||||
lines.push(`- **${r.name}** (${r.role}):${r.personality}`);
|
lines.push(`| **${r.name}** | ${r.role} | ${r.personality} |`);
|
||||||
}
|
}
|
||||||
return lines.join('\n');
|
return lines.join('\n');
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user