agentsclimarketplace

Docs dev

Skill Miragon/bpmn-to-code/.claude/skills/docs-dev

Develop and visually verify changes to the documentation site (VitePress). Use when working on doc pages, Vue components, VitePress config, or validating docs UI with Playwright MCP.From its SKILL.md

Install
npx -y skills add Miragon/bpmn-to-code --skill docs-dev

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

One thing to look at

  • 13 stars13 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

SKILL.md

4.4 KB, as published. Nobody here has run it

Skill: docs-dev

Develop and visually verify changes to the bpmn-to-code documentation site.

IMPORTANT

  • VitePress conventions: Content is Markdown with VitePress extensions. Follow existing page structure.
  • Vue components: Custom components live in .vitepress/theme/. Use Vue 3 Composition API.
  • Read before editing: Always read the target files before making changes to understand existing patterns.
  • Build check: Always run npm run build to catch broken links or build errors before finishing.

Instructions

Step 1 — Understand the architecture

The documentation site uses VitePress at docs/.

Key facts:

  • Content: Markdown files in docs/ (e.g. index.md for landing page)
  • Config: docs/.vitepress/config.mts — site title, navigation, sidebar, footer, social links
  • Theme: docs/.vitepress/theme/ — custom theme extending DefaultTheme
  • Vue components: e.g. VersionBadge.vue (fetches latest GitHub release, displays in nav bar)
  • Custom CSS: docs/.vitepress/theme/style.css
  • Dependencies: Read versions from docs/package.json (do not hardcode)

Step 2 — Review current state

Read the files relevant to $ARGUMENTS. Key files and their purposes:

FilePurpose
docs/index.mdLanding page: hero section, feature cards, code comparison
docs/.vitepress/config.mtsSite config: nav bar, sidebar, footer, social links
docs/.vitepress/theme/index.tsTheme setup: extends DefaultTheme, registers components
docs/.vitepress/theme/style.cssCustom CSS overrides
docs/.vitepress/theme/components/*.vueCustom Vue components
docs/web/index.md"Try in Browser" page linking to web module
docs/getting-started/*.mdGradle and Maven setup guides
docs/engines/*.mdEngine-specific documentation
docs/guide/*.mdConfiguration and generated API guides
docs/contributing/*.mdContributing guide, AI skills, Docker deployment, best practices
docs/contributing/adr/*.mdArchitectural Decision Records

Step 3 — Make changes

Follow these conventions:

  • Markdown: Use VitePress frontmatter (layout, hero, features). Use ::: containers for tips/warnings.
  • Vue components: Vue 3 Composition API (<script setup>). Register in theme/index.ts.
  • Navigation: Update config.mts themeConfig.nav and themeConfig.sidebar for new pages.
  • Links: Use relative paths for internal links. External links get target: _blank.
  • Images: Store in docs/public/ and reference with absolute paths.

Step 4 — Build and run locally

# Start dev server (with hot reload)
cd docs && npm run dev

# Build for production (catches broken links)
cd docs && npm run build

# Preview production build
cd docs && npm run preview

Step 5 — Visual verification (only on request)

Do not run visual verification automatically. Use AskUserQuestion to ask the user what should be verified. Only proceed with the steps below if the user or $ARGUMENTS explicitly request visual testing.

Prerequisite: Playwright MCP must be configured in the agent's MCP settings.

  1. Ensure the docs site is running (cd docs && npm run dev in the background)
  2. Navigate to the local dev server URL
  3. Perform only the verification steps the user requested
  4. Store screenshots in .tmp/ (gitignored). Never check screenshots into git.
  5. Name screenshots descriptively: docs-{page}-{state}.png
  6. Clean up .tmp/ when the skill terminates

To attach screenshots to a PR, upload them as draft release assets:

gh release create screenshots-pr-<NUMBER> --draft --title "PR #<NUMBER> Screenshots" --notes "Temporary" .tmp/*.png
gh release view screenshots-pr-<NUMBER> --json assets --jq '.assets[] | .url'
gh pr comment <NUMBER> --body "![description](<asset-url>)"

The draft release can be deleted after the PR is merged.

Step 6 — Report

Summarize:

  • What was changed and why
  • Which files were modified
  • Build result (npm run build passed/failed)
  • Verification results (screenshots taken, issues found)
  • Any follow-up items

Keep looking

Skills are one crate of 627,801. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.