Skip to content

feat: improve valdi-tsx skill score from 10% to 89%#96

Closed
yogesh-tessl wants to merge 1 commit into
Snapchat:mainfrom
yogesh-tessl:improve/skill-review-optimization
Closed

feat: improve valdi-tsx skill score from 10% to 89%#96
yogesh-tessl wants to merge 1 commit into
Snapchat:mainfrom
yogesh-tessl:improve/skill-review-optimization

Conversation

@yogesh-tessl
Copy link
Copy Markdown

Hey @cholgateSC 👋

this is seriously impressive work. Having 27 skills backed by a dedicated CONTRIBUTING_SKILLS.md and registry.json makes the whole collection feel very well organized and intentional. The granularity is especially strong breaking things out into gestures, animations, error handling, and even mock-to-module workflows shows a real understanding of day-to-day development needs.

ran your skills through tessl skill review at work and found some targeted improvements for valdi-tsx. Your core TSX component authoring skill. Here's the before/after:

Skill Before After Change
valdi-tsx 10% 89% +79%

All 27 skills in the repo scored 10% baseline because they're missing YAML frontmatter (the --- block with name and description fields that skill routers use for matching). I picked valdi-tsx to improve first since it's the most central skill. It's the one every Valdi developer hits when writing components.

Changes made

Frontmatter (biggest impact - unlocks skill routing):

  • Added YAML frontmatter with name: valdi-tsx and a rich description field listing specific capabilities (StatefulComponent lifecycle, setState, viewModel, type-safe styling, provider DI, event handling) and explicit trigger file paths

Structural improvements:

  • Added a New Component Checklist - a 9-step workflow from file creation through build verification with error recovery guidance for common build failures
  • Condensed verbose styling subsections (Spacing, Layout, Position & Size, Common Properties) into a compact reference summary with a pointer to the full API docs
  • Consolidated the 18-item "Common Mistakes" list into a focused "Additional Pitfalls" section covering only the non-obvious gotchas not already shown inline (SIGIcon typing, ShapeView imports, per-side borders, ViewModel name collisions)
  • Trimmed redundant prose paragraphs that restated what the ❌/✅ code comments already showed

What stayed the same:

  • All existing code examples, the React vs Valdi comparison table, provider pattern, event handling, and platform detection sections are preserved
  • No content was removed that wasn't already covered elsewhere in the skill

quick honest disclosure. I work at https://github.com/tesslio where we build tooling around skills like these. Not a pitch, just saw room for improvement and wanted to contribute.

if you want to self-improve your skills, or define your own scenarios to pressure test, just ask your agent (Claude Code, Codex, etc.) to evaluate and optimize your skill with Tessl. Ping me @yogesh-tessl, if you hit any snags.

Hey @cholgateSC 👋

I ran your skills through `tessl skill review` at work and found some targeted improvements for `valdi-tsx` — your core TSX component authoring skill. Here's the before/after:

| Skill | Before | After | Change |
|-------|--------|-------|--------|
| valdi-tsx | 10% | 89% | +79% |

All 27 skills in the repo scored 10% baseline because they're missing YAML frontmatter (the `---` block with `name` and `description` fields that skill routers use for matching). I picked `valdi-tsx` to improve first since it's the most central skill — it's the one every Valdi developer hits when writing components.

<details>
<summary>Changes made</summary>

**Frontmatter (biggest impact — unlocks skill routing):**
- Added YAML frontmatter with `name: valdi-tsx` and a rich `description` field listing specific capabilities (StatefulComponent lifecycle, setState, viewModel, type-safe styling, provider DI, event handling) and explicit trigger file paths

**Structural improvements:**
- Added a **New Component Checklist** — a 9-step workflow from file creation through build verification with error recovery guidance for common build failures
- Condensed verbose styling subsections (Spacing, Layout, Position & Size, Common Properties) into a compact reference summary with a pointer to the full API docs
- Consolidated the 18-item "Common Mistakes" list into a focused "Additional Pitfalls" section covering only the non-obvious gotchas not already shown inline (SIGIcon typing, ShapeView imports, per-side borders, ViewModel name collisions)
- Trimmed redundant prose paragraphs that restated what the ❌/✅ code comments already showed

**What stayed the same:**
- All existing code examples, the React vs Valdi comparison table, provider pattern, event handling, and platform detection sections are preserved
- No content was removed that wasn't already covered elsewhere in the skill

</details>

I also stress-tested your `valdi-tsx` skill against a task eval that asked an agent to build a stateful counter with provider-injected services — it correctly used `StatefulComponent` with `setState()` and the `withProviders` HOC pattern instead of falling back to React hooks. Solid work on the anti-hallucination guidance.

## Type of Change
- [x] Documentation improvement

## Testing
- [x] Ran `tessl skill review` before and after changes to verify score improvement (10% → 89%)
- [x] Verified all validation checks pass with no errors or warnings

## Checklist
- [x] Code follows project style guidelines
- [x] No breaking changes
- [x] No secrets, API keys, or internal URLs included

Honest disclosure — I work at @tesslio where we build tooling around skills like these. Not a pitch — just saw room for improvement and wanted to contribute.

Want to self-improve your skills? Just point your agent (Claude Code, Codex, etc.) at [this Tessl guide](https://docs.tessl.io/evaluate/optimize-a-skill-using-best-practices) and ask it to optimize your skill. Ping me — [@yogesh-tessl](https://github.com/yogesh-tessl) — if you hit any snags.

Thanks in advance 🙏
Copy link
Copy Markdown

@github-actions github-actions Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🎉 Thanks for your first contribution to Valdi!

A maintainer will review your PR soon. Here are a few things to check while you wait:

  • ✅ All tests pass (bazel test //...)
  • ✅ Your changes follow our coding standards
  • ✅ You've added tests for your changes (if applicable)
  • ✅ You've updated documentation (if needed)

Join our Discord community if you have questions!

@clholgat clholgat closed this May 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants