Token导航 LogoToken导航TokenDH.com
研究检索操作浏览器github未标认证来源可访问许可证需确认审计通过

responsiveresponsive 搜索

Agent Skill

responsive 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

710

周安装

29

GitHub Stars

20

下载量

230
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:responsive(responsive 搜索)
来源仓库:https://github.com/howells/arc
仓库路径:skills/responsive
安装命令:
npx skills add https://github.com/howells/arc --skill responsive
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/howells/arc --skill responsive

简介

responsive 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。

  • 它支持通过资源标记实现信息的分类与过滤,提升检索效率。
  • 可通过 npx skills add 命令从指定 GitHub 仓库安装该技能。
  • 安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。
  • responsive 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

<tool_restrictions>

MANDATORY Tool Restrictions

BANNED TOOLS — calling these is a skill violation:

  • EnterPlanMode — BANNED. Do NOT call this tool. This skill manages its own workflow and writes results directly. Claude's built-in plan mode would bypass this process.
  • ExitPlanMode — BANNED. You are never in plan mode. There is nothing to exit.

REQUIRED TOOLS:

  • AskUserQuestion — Preserve the one-question-at-a-time interaction pattern for every question to the user, including confirming routes, choosing options, and validating fixes. In Claude Code, use the tool. In Codex, ask one concise plain-text question at a time unless a structured question tool is actually available in the current mode. This prevents walls of text. If you need to provide context before asking, keep it to 2-3 sentences max, and do not narrate missing tools or fallbacks to the user.

If you feel the urge to "plan before acting" — that urge is satisfied by following the <process> steps below. Execute them directly. </tool_restrictions>

<arc_runtime> This workflow requires the full Arc bundle, not a prompts-only install. Resolve the Arc install root from this skill's location and refer to it as ${ARC_ROOT}. Use ${ARC_ROOT}/... for Arc-owned files such as references/, disciplines/, agents/, templates/, and scripts/. Use project-local paths such as .ruler/ or rules/ for the user's repository. </arc_runtime>

<required_reading> Read these using the Read tool when relevant:

  1. ${ARC_ROOT}/references/touch-targets.md — Minimum target sizes, pseudo-element expansion, mobile-specific patterns
  2. ${ARC_ROOT}/references/ux-laws.md — Fitts's Law (target sizing), Gestalt proximity (spacing decisions) </required_reading>

Responsive Audit & Fix

Systematically audit and fix every page for mobile responsiveness, with visual verification via browser screenshots.

Announce at start: "I'm using the responsive skill to audit and fix mobile responsiveness across your project."


Phase 1: Setup & Discovery

Step 1: Select Browser Tool

Prefer Chrome MCP in Claude Code.

If Chrome MCP is unavailable:

  • prefer agent-browser for navigation, resizing, and screenshots
  • fall back to Playwright if browser automation must be scripted directly
  • only stop if no browser-capable path is available

Step 2: Detect Dev Server URL

Do not prompt with hardcoded port options — detect first.

Read package.json and resolve the dev URL:

  1. Read root package.json. Inspect scripts.dev.
  2. If dev delegates to a workspace (e.g. pnpm --dir site dev, pnpm -C apps/web dev, turbo run dev --filter=web, npm run dev --workspace=...), follow the reference and read that workspace's package.json.
  3. Glob for .env, .env.local, .env.development. Look for PORT=.
  4. If still unresolved, check next.config.*, vite.config.*, astro.config.* for an explicit port.

Scan the leaf scripts.dev for one of these patterns (first match wins):

PatternExamplePort
--port N / -p Nnext dev --port 40004000
${PORT:-N} shell fallbacknext dev --port ${PORT:-26000}26000 (unless $PORT is set in .env*)
PORT=N inlinePORT=8080 next dev8080
PORT=N in .env*PORT=3005 in .env.local3005
Vite defaultvite with no port flag5173
Astro defaultastro dev with no port flag4321
SvelteKit defaultvite dev (kit)5173
Next defaultnext dev with no port flag3000
Remix defaultremix dev3000

.env* PORT values override ${PORT:-N} fallbacks.

If exactly one dev URL was detected: Announce it and navigate directly:

"Using http://localhost:26000 (from site/package.jsonnext dev --port ${PORT:-26000})."

If multiple candidates (monorepo with several dev servers):

AskUserQuestion:
  question: "Which dev server should I audit?"
  header: "Dev server"
  options:
    - label: "[detected URL 1]"
      description: "[source]"
    - label: "[detected URL 2]"
      description: "[source]"

If nothing could be detected:

AskUserQuestion:
  question: "I couldn't detect a dev URL. What should I audit?"
  header: "Dev server"
  options:
    - label: "Enter a URL"
      description: "I'll type it in"

Then verify the server is running with the selected browser tool:

mcp__claude-in-chrome__tabs_context_mcp (get or create tab)
mcp__claude-in-chrome__navigate to the dev server URL
mcp__claude-in-chrome__computer action=screenshot

If the page doesn't load, tell the user to start their dev server and try again. Do not silently fall back to localhost:3000 — surface the failure.

Step 3: Load Design Context

Read design doc (if exists):

Glob: docs/arc/specs/design-*.md
Fallback: docs/plans/design-*.md

If found, read the design doc and note:

  • Aesthetic direction (tone, memorable element)
  • Typography hierarchy (display, body, mono fonts)
  • Spacing system (base unit, scale)
  • Color palette (so you don't introduce new colors)

This context guides every fix decision. If there's no design doc, that's fine — apply general responsive best practices from the interface rules.

<required_reading> Read before auditing:

  • rules/interface/layout.md — Layout patterns, z-index, viewport units
  • rules/interface/interactions.md — Touch, keyboard, hover patterns
  • rules/interface/spacing.md — Spacing system and scale </required_reading>

Step 4: Discover Routes

Detect framework:

CheckGrep PatternFramework
"next" in package.jsonNext.jsapp/**/page.{tsx,jsx}
"@remix-run" in package.jsonRemixapp/routes/**/*.{tsx,jsx}
"astro" in package.jsonAstrosrc/pages/**/*.{astro,mdx}
"@sveltejs/kit" in package.jsonSvelteKitsrc/routes/**/+page.svelte
"react-router" or "@tanstack/react-router" in package.jsonVite + RouterAsk user for route list — no file convention

If no framework detected or routes use a router config (React Router, TanStack Router), ask the user to provide the list of URLs to audit.

Scan for page files using the appropriate glob pattern. Exclude API routes (app/api/**).

Build route list from file paths:

  • app/page.tsx/
  • app/about/page.tsx/about
  • app/blog/[slug]/page.tsx/blog/[slug] (dynamic)
  • app/dashboard/page.tsx/dashboard (may need auth)

Flag dynamic routes — these need sample values from the user.

Flag potentially auth-protected routes — routes under common auth-gated paths like /dashboard, /settings, /account, /admin.

Step 5: Confirm Routes with User

Present the discovered routes:

AskUserQuestion:
  question: "I found these routes. Any to skip?"
  header: "Routes"
  multiSelect: true
  options:
    - label: "/ (homepage)"
      description: "Public page"
    - label: "/about"
      description: "Public page"
    - label: "/blog/[slug]"
      description: "Dynamic — I'll need a sample slug"
    - label: "/dashboard"
      description: "May need auth — log in via Chrome first"

If dynamic routes exist, ask for sample slugs:

AskUserQuestion:
  question: "What slug should I use for /blog/[slug]?"
  header: "Sample URL"
  options:
    - label: "first-post"
      description: "Use /blog/first-post"
    - label: "hello-world"
      description: "Use /blog/hello-world"

If auth-protected routes exist: Tell the user: "Some routes may need authentication. Please log in via the Chrome browser, then let me know when you're ready."

AskUserQuestion:
  question: "Are the auth-protected routes ready to audit?"
  header: "Auth"
  options:
    - label: "Yes, I'm logged in"
      description: "Continue with all routes including auth-protected ones"
    - label: "Skip auth routes"
      description: "Only audit public pages for now"

Phase 2: Page-by-page Audit & Fix

Work through each confirmed route. The loop is tight: screenshot → analyze → fix → verify → check desktop → next page.

For Each Page:

Step 1: Mobile Screenshot (375x812)

mcp__claude-in-chrome__navigate to [dev-server-url]/[route]
mcp__claude-in-chrome__resize_window width=375 height=812
mcp__claude-in-chrome__computer action=wait duration=2
mcp__claude-in-chrome__computer action=screenshot

Wait briefly for any animations or lazy-loaded content to settle before screenshotting.

Step 2: Analyze the Screenshot

Look at the screenshot and evaluate against these categories:

Layout:

  • Horizontal overflow (content wider than viewport, horizontal scrollbar)
  • Elements overlapping or clipping
  • Grids/flexbox not stacking properly
  • Fixed-width elements that don't fit

Spacing:

  • Content touching container edges (needs padding)
  • Inconsistent gaps between elements
  • Sections too cramped or too sparse for mobile

Typography:

  • Body text smaller than 16px (hard to read on mobile)
  • Headings that are too large and cause overflow
  • Typography hierarchy lost (everything looks the same size)

Usability:

  • Touch targets smaller than 44x44px (buttons, links, icons)
  • Input fields without text-base (causes iOS auto-zoom)
  • Missing viewport meta tag
  • Hover-dependent functionality with no touch alternative

Design intent (if design doc was loaded):

  • Does the page still feel like the same design at mobile width?
  • Is the memorable element preserved (even if scaled)?
  • Are the documented spacing values being used (not arbitrary new values)?
  • Is the typography hierarchy intact (scaled down proportionally, not collapsed)?

Step 3: Fix Issues

Apply fixes in code. Follow these principles:

Container queries for component-level fixes: Use @container when fixing a reusable component (card, sidebar, content block, form layout). This makes the component adapt to its container rather than the viewport, so it works in any layout context.

Viewport queries for page-level layout: Use viewport media queries (@media) when fixing page structure — grid column counts, section stacking order, navigation collapse, page-level padding.

Use existing spacing values: Reference rules/interface/spacing.md. Use the Tailwind spacing scale (4, 8, 12, 16, 24, 32, 48, 64). Never invent new spacing values like 13px or 27px.

Use h-dvh not h-screen: Reference rules/interface/layout.md. Dynamic viewport height respects mobile browser chrome.

Gate hover styles: Reference rules/interface/interactions.md. Use @media(hover:hover) so hover effects don't fire on touch devices.

Shared components: If you recognize the same component causing issues across multiple pages, fix the component source file rather than adding page-specific overrides. This is the natural, correct approach — not a special detection system.

Step 4: Verify Mobile Fix

After applying fixes, wait for HMR to recompile before screenshotting:

mcp__claude-in-chrome__computer action=wait duration=3
mcp__claude-in-chrome__computer action=screenshot

Compare visually to the pre-fix screenshot. Are the issues resolved? If not, iterate.

Step 5: Desktop Regression Check (1440x900)

mcp__claude-in-chrome__resize_window width=1440 height=900
mcp__claude-in-chrome__computer action=screenshot

Verify desktop is intact. The fix should not have broken the desktop layout. Check:

  • Grid layouts still multi-column
  • Spacing still generous (not collapsed)
  • Typography still at desktop scale
  • No visual artifacts from responsive changes

If desktop broke: Fix the regression, then re-verify at both 375px and 1440px before moving on.

Step 6: Scroll Check

For pages longer than the viewport:

mcp__claude-in-chrome__resize_window width=375 height=812
mcp__claude-in-chrome__computer action=scroll scroll_direction=down scroll_amount=5
mcp__claude-in-chrome__computer action=screenshot

Repeat scrolling and screenshotting until you've covered the full page. Look for below-the-fold issues:

  • Footer overflow
  • Long content sections with broken layout
  • Images or embeds that don't fit
  • Sticky/fixed elements obscuring content

Step 7: Next Page

Move to the next route in the list and repeat from Step 1.

Progress update: After each page, briefly note what was fixed: "Homepage: fixed hero grid and nav. Moving to /about."


Phase 3: Summary & Commit

Step 1: Present Change Summary

After all pages are audited and fixed, present a summary grouped by page and shared component:

## Responsive Fixes Applied

### / (homepage)
- Fixed hero grid: 3-column → single-column on mobile (container query on HeroCard)
- Fixed nav: added mobile sheet menu via viewport query
- Fixed section padding: p-4 on mobile, p-16 on desktop

### /about
- Fixed image overflow: added max-w-full to team photos
- Fixed touch targets on CTA buttons: expanded hit area to 44px

### /blog/first-post
- Fixed prose width: constrained to viewport on mobile
- Fixed code blocks: added overflow-x-auto

### Shared: components/Card.tsx
- Added @container query for horizontal → vertical layout below 400px

### Shared: components/Navigation.tsx
- Added mobile sheet menu pattern with viewport query

Step 2: Commit

Batch commit all responsive fixes:

# Stage only the files you modified — check git status first
git status
git add [list of modified files]
git commit -m "fix: responsive fixes across [N] pages

- [Brief list of key changes]
- Container queries for [components]
- Viewport queries for [page layouts]"

Step 3: Optional Audit Document

AskUserQuestion:
  question: "Want me to save a responsive audit doc with all issues found and fixes applied?"
  header: "Audit doc"
  options:
    - label: "Yes, save audit doc"
      description: "Write to docs/audits/ for future reference"
    - label: "No, the commit is enough"
      description: "Skip the audit doc"

If yes, write docs/audits/YYYY-MM-DD-responsive.md with the full change summary, and commit it.

Step 4: Final Desktop Verification

Do one final pass: resize to 1440x900 and quickly navigate through all audited pages to confirm everything looks correct at desktop width. This catches any cumulative issues from the page-by-page fixes.

mcp__claude-in-chrome__resize_window width=1440 height=900

Navigate to each page and take a quick screenshot. If anything looks off, fix and re-commit.

<success_criteria> Responsive audit is complete when:

  • Browser tool connected and dev server verified
  • Design doc read (if exists) for aesthetic context
  • Interface rules loaded (layout, interactions, spacing)
  • Routes discovered and confirmed with user
  • Each page screenshotted at 375px (mobile)
  • Issues identified and fixed per page
  • Each fix verified with re-screenshot at mobile
  • Desktop (1440px) checked after mobile fixes — no regressions
  • Final desktop pass across all pages
  • Changes committed
  • Activity log updated </success_criteria>

Interop

  • Invoked after /arc:implement — the natural post-build polish step
  • Reads design docs from /arc:design for aesthetic context
  • References rules/interface/layout.md, interactions.md, spacing.md for implementation patterns
  • Uses Chrome MCP (mcp__claude-in-chrome__*) as the preferred browser path in Claude Code
  • Uses agent-browser as the preferred browser fallback outside Claude Code
  • Uses Playwright when direct browser scripting is needed
  • Follows /arc:commit discipline for commits
  • Can invoke web-design-guidelines skill for compliance review (if available)

<arc_log> After completing this skill, append to the activity log. See: ${ARC_ROOT}/references/arc-log.md

Entry: /arc:responsive — [N] pages audited, [N] issues fixed </arc_log>

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

35.37%
按下载量换算81

Claude

30.39%
按下载量换算70

Cursor

19.96%
按下载量换算46

Gemini CLI

10.54%
按下载量换算24

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

操作浏览器

该 Skill 可能涉及浏览器控制能力,使用时可能读取或操作网页内容,需要在受控环境中确认权限边界。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills