growthx-club/build-sprint-skills

agentation

Add Agentation visual feedback toolbar to a Next.js project

소스 보기
원본 Skill 문서

원본 저장소의 제목, 예시, 코드, 표, 링크, 이미지를 유지해 표시합니다.

Agentation Setup

Set up the toolbar and, when requested, connect it to the user's coding agent. A visible toolbar and a healthy MCP server do not prove that browser feedback reaches the agent. Verify that final step before calling setup complete.

Steps

  1. Inspect the project
  • Read the project's instructions and detect its package manager.
  • Look for agentation and an existing <Agentation> mount before installing.
  • If already mounted, inspect its endpoint and current MCP setup. Do not

exit just because the component exists, and do not add a duplicate mount.

  • Install agentation if missing, using the existing lockfile's package manager.
  1. Choose the connection mode from the request
  • For MCP or live agent feedback, use the same HTTP server URL as the agent.

The default local server is http://localhost:4747; preserve an existing custom port or proxy URL. Never assume the browser and agent use the same machine when the project is remote.

  • For manual copy/paste only, omit endpoint and explain that feedback remains

in this browser. Do not silently enable a server connection.

  • If the intended mode is unclear, ask one brief question while inspecting

the existing project. Keep working on independent setup checks.

  1. Add or update the component

For a Next.js App Router project, render in the root layout's body after children. For Pages Router, render after Component in pages/_app. Preserve any existing callbacks and options.

tsx
   import { Agentation } from "agentation";

   // Use the actual server URL selected above for MCP sync:
   {process.env.NODE_ENV === "development" && (
     <Agentation endpoint="http://localhost:4747" />
   )}

The package provides its own client boundary. Keep the application's root layout server-rendered unless the project has another reason to change it.

  1. Configure the agent when MCP was requested
  • Use the project's existing MCP client and configuration conventions.
  • The launch command must include the server subcommand:

npx -y agentation-mcp server.

  • For supported agents, npx add-mcp "npx -y agentation-mcp server" is one

setup option. For Claude Code, use claude mcp add agentation -- npx -y agentation-mcp server or the init wizard.

  • Apply the same custom port to the server command and component endpoint.
  • Restart or reconnect the agent when its configuration requires it. Do not

create a second HTTP server on a port already owned by the working server.

  1. Verify the complete connection
  • Run npx agentation-mcp doctor for service diagnostics. For a custom URL,

use doctor --http-url <url> when supported by the installed version.

  • Open the app and create one clearly identified test annotation through the

toolbar. Read it with agentation_get_all_pending or session-scoped tools.

  • Check the exact test comment and page, not just a nonzero count or health

response. Leave unrelated annotations alone.

  • If annotations are empty, check the component endpoint, browser network

failures/CORS, and whether the agent and browser point to the same server.

  • If browser or MCP tools are unavailable, say exactly which part remains

unverified and give the user this final check. Do not claim live sync works.

Notes

  • The development guard prevents the toolbar from appearing in production.
  • Agentation requires React 18 or newer.
  • Installing the toolbar does not install, configure or connect an MCP server.
  • Manual copy mode is supported and does not need a running server.
같은 저장소의 Skills

더 많은 Skills

모든 Skills
growthx-club
커뮤니티

art-direction

Give the project one visual point of view, then generate images against it. Use before generating, editing or replacing any image asset — hero image, og:image, illustration, empty state, avatar, background, card art, favicon source. Also use when generated images look generic, "AI", off-brand, or when a set of images do not look like they belong to the same product. Skip for UI layout, CSS and component work, which belong to frontend-design and impeccable.

설치 수
4
GitHub Stars
0
업데이트
9월 25일
growthx-club
커뮤니티

checkpoint

Save the builder's work to git at every point the app works, and get them back to a working version when something breaks. Use the moment a feature works end to end, before any risky change, before a long build step, at the end of a session, and whenever they say something broke, "it worked before", "undo that", or "start over". Also use when they have been building a while with nothing committed.

설치 수
4
GitHub Stars
0
업데이트
9월 25일
growthx-club
커뮤니티

clearshot

Structured screenshot analysis for UI implementation and critique. Analyzes every UI screenshot with a 5×5 spatial grid, full element inventory, and design system extraction — facts and taste together, every time. Escalates to full implementation blueprint when building. Trigger on any digital interface image file (png, jpg, gif, webp — websites, apps, dashboards, mockups, wireframes) or commands like 'analyse this screenshot,' 'rebuild this,' 'match this design,' 'clone this.' Skip for non-UI i

설치 수
4
GitHub Stars
0
업데이트
9월 25일
growthx-club
커뮤니티

convex-agent

Add an AI agent / RAG backend (@convex-dev/agent) to the Convex app.

설치 수
4
GitHub Stars
0
업데이트
9월 25일