diff --git a/.gitignore b/.gitignore
index 40cd4552f..db8177c6f 100644
--- a/.gitignore
+++ b/.gitignore
@@ -33,6 +33,7 @@ docs/superpowers/
.feature-radar/
.cache/
.playwright-mcp
+.superpowers/
# Worktrees
diff --git a/ui/src/pages/DoctorPage.tsx b/ui/src/pages/DoctorPage.tsx
index 8217bfda4..f056c917f 100644
--- a/ui/src/pages/DoctorPage.tsx
+++ b/ui/src/pages/DoctorPage.tsx
@@ -86,26 +86,62 @@ function CheckRow({ check }: { check: DoctorCheck }) {
{expanded && hasDetails && (
-
- {check.details!.map((detail, i) => (
- detail === '---' ? (
- -
- Ignored Skills
-
- ) : (
- -
- •
- {detail}
-
- )
- ))}
-
+
)}
);
}
+function CheckDetails({ details, name }: { details: string[]; name: string }) {
+ // Skillignore check uses --- to separate patterns from ignored skills
+ const sepIdx = details.indexOf('---');
+ if (name === 'skillignore' && sepIdx !== -1) {
+ const patterns = details.slice(0, sepIdx);
+ const ignored = details.slice(sepIdx + 1);
+ return (
+
+ {patterns.length > 0 && (
+
+
Patterns
+
+ {patterns.map((p, i) => (
+
+ {p}
+
+ ))}
+
+
+ )}
+ {ignored.length > 0 && (
+
+
Ignored Skills
+
+ {ignored.map((s, i) => (
+
+ {s}
+
+ ))}
+
+
+ )}
+
+ );
+ }
+
+ // Default: bullet list for all other checks
+ return (
+
+ {details.map((detail, i) => (
+ -
+ •
+ {detail}
+
+ ))}
+
+ );
+}
+
export default function DoctorPage() {
const { data, isPending, error, isFetching, refetch } = useQuery({
queryKey: queryKeys.doctor,