Loading...
Loading...
Skill that helps agents work with the framework RippleTS. Links back to the llms.txt, and provides info that might be helpful to the LLM.
npx skill4agent add quick007/skills ripple-ts.ripplecomponentcomponent Button(props: { text: string, onClick: () => void }) {
<button onClick={props.onClick}>
{props.text}
</button>
}<div>Hello</div><div>{"Hello"}</div>componenttrack()@import { track } from 'ripple';
export component Counter() {
let count = track(0);
<div>
<p>{"Count: "}{@count}</p>
<button onClick={() => @count++}>{"Increment"}</button>
</div>
}#[1, 2, 3]new TrackedArray(1, 2, 3)#{a: 1, b: 2}new TrackedObject({a: 1})component App(props: { items: string[] }) {
<div>
if (props.items.length > 0) {
<ul>
for (const item of props.items; index i) {
<li>{item}</li>
}
</ul>
} else {
<p>{"No items"}</p>
}
</div>
}<style>component StyledComponent() {
<div class="container">
<h1>{"Styled Content"}</h1>
</div>
<style>
.container {
background: blue;
padding: 1rem;
}
</style>
}let includeBaz = track(true);
<div class={{ foo: true, bar: false, baz: @includeBaz }}></div># Create new project from template
npx degit Ripple-TS/ripple/templates/basic my-app
cd my-app
npm i && npm run dev
# Or install in existing project
npm install ripple
npm install --save-dev '@ripple-ts/vite-plugin'Ripple-TS.ripple-ts-vscode-plugin<tsx:react>@ripple-ts/compat-reactmount()track(){}<style>effect()