Skip to main content
GitHub 仓库

folio

folio 收录了来自 sinfin 的 18 个 skills,并提供仓库级职业覆盖和站内 skill 详情页。

已收集 skills
18
Stars
10
更新
2026-07-30
Forks
2
职业覆盖
3 个职业分类 · 已分类 100%
仓库浏览

这个仓库中的 skills

folio-testing
软件质量保证分析师与测试员

Folio and host-app testing conventions. Use when adding, changing, debugging, or reviewing tests, test helpers, factories/fixtures, mocks, stubs, ViewComponent tests, JavaScript behavior tests, integration/system coverage, or files under test/ and packs/*/test.

2026-07-30
folio-component-json-api
软件开发工程师

Folio “HTML over wire” JSON APIs: controllers use render_component_json so the response body is JSON with a string "data" key holding rendered ViewComponent HTML; JavaScript uses Folio.Api.apiGet/apiPost and response.data, not pure domain JSON for client-side rendering. Use when adding or changing render_component_json, console/API endpoints that return component fragments, or consumers of response.data as HTML.

2026-07-28
folio-javascript
软件开发工程师

JavaScript conventions for Folio: ES6+, StandardJS linting, DOM APIs, Folio.Api fetch wrappers, debounce/throttle, flash events, and when to use Stimulus. Use when writing or editing .js files, adding behavior to components, or when the user asks about JavaScript patterns in Folio.

2026-07-28
folio-pack
软件开发工程师

Folio optional pack boundary and namespace rules. Use when editing files in optional pack directories, adding pack controllers/components/models/lib code, wiring routes to pack code, or moving reusable behavior between a host app, the Folio engine, and an optional pack, including Packwerk verification.

2026-07-28
folio-simple-form-inputs
软件开发工程师

Build or change Folio SimpleForm inputs and extensions: app/inputs classes, SimpleForm::Inputs overrides, register_stimulus wiring, input_controls, custom_html, standalone input JS/Sass assets, and rendered HTML tests.

2026-07-28
folio-slim
软件开发工程师

Slim template formatting and best practices for Folio components and views. Use when writing or editing .slim templates, reviewing Slim formatting, or when the user asks about Slim conventions, multi-line attributes, or template structure in Folio.

2026-07-28
folio-stimulus
软件开发工程师

Folio Stimulus conventions: controller registration, StimulusHelper data attributes, values/targets/actions, and controller file placement. Use when adding JavaScript behavior to a Folio component, wiring data-controller / data-action / data-target, using StimulusHelper in Slim, or writing a new Stimulus controller in Folio or a host app.

2026-07-28
folio-view-component
软件开发工程师

Develops and maintains Folio ViewComponents: generators, BEM, Slim, Stimulus data attributes, colocated assets, tests, and composition. Use when building or editing UI in app/components, adding Stimulus to a component, writing component tests, or when the user asks for ViewComponent / frontend component patterns in Folio or a host app on Folio.

2026-07-28
folio-rails-code-structure
软件开发工程师

Ruby/Rails code structure conventions for Folio: keeping model, controller, and concern entrypoints thin; extracting multi-step parsing, decision, or orchestration logic to focused classes under lib; and avoiding helper-method clusters on Rails integration objects. Use when adding or refactoring Ruby methods, controller actions, model hooks, concerns, or service-style code.

2026-07-27
folio-embed-data
软件开发工程师

Folio embed-data conventions for folio_embed_data, as: :embed, canonical embed JSON, embed validation, rendering, migrations, and console forms. Use when replacing legacy embed URL, HTML, or source fields, or when changing model-backed Folio embeds.

2026-07-21
folio-rails-models
软件开发工程师

Rails and ActiveModel model conventions for Folio: validations, form-facing attributes, console required-marker inference, attachment/file placement validation targets, and model behavior that affects admin forms. Use when adding or changing model validations, virtual attributes, attachment validations, or console-administered model fields.

2026-07-21
folio-tiptap-node
软件开发工程师

Creates and edits custom Tiptap block-editor nodes in Folio: the node model (Folio::Tiptap::Node subclass with tiptap_node structure), the view component for rendering, tiptap_config (icons, groups, paste), and i18n. Use when adding a new Tiptap node, editing node structure or rendering, wiring node groups/icons, or when the user mentions `rails g folio:tiptap:node`.

2026-06-23
folio-file-editing
软件开发工程师

File editing hygiene for Folio and host apps: trailing whitespace removal, single trailing newline (POSIX EOF), no BOM, consistent line endings, and Ruby argument wrapping, and programmatic file writes. Apply whenever editing or generating any file — code, config, markdown, YAML, or templates.

2026-06-15
folio-view-component-migration-from-cells
软件开发工程师

Migrates Trailblazer Cells (Cell::ViewModel) to ViewComponent in Folio: path and API mapping, cell( → render, model/options → initialize, engine CHANGELOG. Use when replacing `*Cell` with `*Component` or updating `cell(` call sites. Pair with the folio-view-component skill for generators, BEM, Stimulus, and tests.

2026-06-03
code-review
软件质量保证分析师与测试员

Review repository code changes in the current local branch or an explicit diff. Use for prompts like "review", "review this branch", "code review", "pre-PR review", "review current branch", and "review my changes".

2026-06-02
folio-icons
软件开发工程师

Add or update icons in the Folio engine or a Folio host app icon set: export from Figma, place SVG in the icon source directory, normalize fills/strokes to currentColor, run bin/icons, restart Rails so sprite and YAML metadata load.

2026-05-25
folio-scss
网页开发工程师

Sass/SCSS styling conventions for Folio components: BEM nesting with &, colocated component stylesheets, scoping rules, and avoiding cross-component styling. Use when writing or editing .sass/.scss files, styling ViewComponents, or when the user asks about CSS/Sass conventions in Folio.

2026-04-14
folio-stimulus-migration-from-legacy-js
网页开发工程师

Converts legacy front-end scripts (jQuery, global document listeners, IIFEs) to Stimulus controllers plus vanilla DOM/fetch, aligned with Folio ViewComponent patterns. Use when migrating jQuery handlers, `$(document).on`, CoffeeScript-era bundles, or ad-hoc `window.*` APIs to Stimulus; when the user asks to remove jQuery from a feature; or when adding behavior to Folio components.

2026-04-14