:hedgehog: PostHog is the leading platform for building self-driving products. Our developer tools – AI observability, analytics, session replay, flags, experiments, error tracking, logs, and more – capture all the context agents need to diagnose problems, uncover opportunities, and ship fixes. Steer it all from Slack, web, desktop, or the MCP.
Python ab-testingai-analyticsanalyticscdpdata-warehouseexperimentsfeature-flagsjavascriptproduct-analyticspythonreactsession-replaysurveystypescriptweb-analytics
feat(skills): sort bundled skill files alphabetically by path (#65030)
Andrew Maguire3223506b8568
diff --git a/products/skills/frontend/LLMSkillScene.tsx b/products/skills/frontend/LLMSkillScene.tsxindex a03467a24a10..6869f0491f73 100644--- a/products/skills/frontend/LLMSkillScene.tsx+++ b/products/skills/frontend/LLMSkillScene.tsx@@ -412,15 +412,17 @@ function SkillViewDetails(): JSX.Element {Bundled files ({skill.files.length})</label><div className="mt-1 space-y-1">- {skill.files.map((file) => (- <SkillFileViewer- key={file.path}- skillName={skill.name}- file={file}- version={skill.is_latest ? undefined : skill.version}- autoOpen={selectedFilePath === file.path}- />- ))}+ {[...skill.files]+ .sort((a, b) => a.path.localeCompare(b.path))+ .map((file) => (+ <SkillFileViewer+ key={file.path}+ skillName={skill.name}+ file={file}+ version={skill.is_latest ? undefined : skill.version}+ autoOpen={selectedFilePath === file.path}+ />+ ))}</div></div>)}