feat: a skill creating skill as default

This commit is contained in:
Georg Bauer
2026-07-30 13:41:04 +02:00
parent f2fb8d79f7
commit 4175706533
7 changed files with 343 additions and 151 deletions

View File

@@ -199,9 +199,9 @@ impl App {
.size(12)
.width(Length::Fill),
hint(
action_button("Recreate purpose.md and schema.md")
action_button("Recreate guidance and skills")
.on_press(Message::RestoreDevBrainDefaultGuides),
"Overwrites only purpose.md and schema.md with this version's defaults. Topic pages, generated indexes, and log.md are preserved.",
"Overwrites purpose.md, schema.md, and included skills with this version's defaults. Other skill pages, generated indexes, topic pages, and log.md are preserved.",
),
]
.spacing(12)
@@ -752,7 +752,7 @@ impl App {
let confirmation = container(
column![
text("Recreate Dev Brain guidance?").size(22),
text("This replaces purpose.md and schema.md in the selected vault with this version's defaults. Topic pages, generated indexes, skills, and log.md are preserved.")
text("This replaces purpose.md, schema.md, and included skills in the selected vault with this version's defaults. Other skill pages, generated indexes, topic pages, and log.md are preserved.")
.size(13),
row![
Space::new().width(Length::Fill),