feat(skills): required_tools on all 37 skills, skill-code-create teaches required_tools, TUI WIP integrated - #359
Merged
Merged
Conversation
…hes required_tools, TUI WIP integrated, doc consistency - Add required_tools frontmatter to 28 remaining skills (9 already had it) - All 37 bundled skills now declare their SIN tool dependencies - skill-code-create: templates/standards/workflow/prompt/output updated to teach required_tools field to agents scaffolding new skills - skill-code-graph: lifecycle moved to top-level frontmatter (was nested) - TUI WIP files integrated: model_switcher, help_overlay, file_picker, mouse, render_cache, theme_custom, crash_recovery — build passes clean - skilldist.doc.md: 8 → 11 targets in 4 places - docs/release-notes/v3.20.0.md: 8 → 11 agent families - Validator: 37/37 skills pass --strict, 0 failed - Build: go build ./cmd/sin-code/... passes clean (including TUI) - Tests: skillmgr, skilldist, profile, loopbuilder all pass -race -count=1
Contributor
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
…owup # Conflicts: # skills/github-skills/skill-github-readme/SKILL.md
🏆 CEO Audit — A+ (100.0/100)
📥 Download full report (Markdown)
|
🏆 CEO Audit — A+ (100.0/100)
📥 Download full report (Markdown) Run ID:
|
| func crashRecoveryPath() string { | ||
| home, _ := os.UserHomeDir() | ||
| dir := filepath.Join(home, ".local", "share", "sin-code") | ||
| _ = os.MkdirAll(dir, 0o755) |
| data, err := json.MarshalIndent(state, "", " ") | ||
| if err != nil { return err } | ||
| dir := filepath.Dir(r.path) | ||
| if err := os.MkdirAll(dir, 0o755); err != nil { return err } |
| dir := filepath.Dir(r.path) | ||
| if err := os.MkdirAll(dir, 0o755); err != nil { return err } | ||
| tmpPath := r.path + ".tmp" | ||
| if err := os.WriteFile(tmpPath, data, 0o644); err != nil { return err } |
| continue | ||
| } | ||
| manifestPath := filepath.Join(dir, entry.Name(), "plugin.json") | ||
| data, err := os.ReadFile(manifestPath) |
| } | ||
|
|
||
| func LoadCustomTheme(path string) (*Theme, error) { | ||
| data, err := os.ReadFile(path) |
| return fmt.Errorf("marshal theme: %w", err) | ||
| } | ||
| dir := filepath.Dir(path) | ||
| if err := os.MkdirAll(dir, 0o755); err != nil { |
| if err := os.MkdirAll(dir, 0o755); err != nil { | ||
| return fmt.Errorf("create theme dir: %w", err) | ||
| } | ||
| return os.WriteFile(path, data, 0o644) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Followup to PR #345. Completes the SOTA skill infrastructure.
Changes
required_tools on all 37 skills (28 new)
required_tools(PR feat(skills): SOTA skill infrastructure — frontmatter, required_tools, eval datasets, 3 new dist targets #345)ToolCoverageEnforcerenforces at runtimeskill-code-create teaches required_tools
required_toolsrequired_toolsYAML listrequired_toolsrequired_toolsfrontmatterskill-code-graph fix
lifecyclemoved frommetadata:to top-level frontmatter (validator rejected it in strict mode)TUI WIP integrated
go build ./cmd/sin-code/...passes clean (including TUI)go test -race -count=1 ./cmd/sin-code/tui/...passesDoc consistency (8 → 11 targets)
skilldist.doc.md: 4 stale references fixeddocs/release-notes/v3.20.0.md: 8 → 11 agent familiesTest results
Files changed
52 files changed, 2759 insertions(+), 19 deletions(-)