Token导航 LogoToken导航

Agent Skill · 研究检索

razorstar(razorstar 搜索)

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

razorstar 是研究检索类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为接触敏感数据;许可证信息还不明确,第三方扫描已通过,按安装量在研究检索类的 73,675 个 Skill 里排第 71,838。

总安装 192周安装 8GitHub Stars 公开资料未说明下载 64核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
unknown

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/truman303/skills --skill razorstar

这个 Skill 是做什么的

研究检索类 Skill 主要解决「找资料、核对事实、把来源整理清楚」的问题,通常会让助手先检索再总结。

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

安装方式:通过 GitHub 仓库安装,命令为 npx skills add https://github.com/truman303/skills --skill razorstar。适用宿主:Codex、Claude、Cursor、Gemini CLI。

来源仓库内路径:skills/razorstar

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 Codex、Claude、Cursor、Gemini CLI;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add https://github.com/truman303/skills --skill razorstar;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要接触敏感数据,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

razorstar 怎么安装?

在终端执行 npx skills add https://github.com/truman303/skills --skill razorstar。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

razorstar 支持哪些 AI 工具?

公开资料标注支持 Codex、Claude、Cursor、Gemini CLI。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

razorstar 需要什么权限?

权限级别是接触敏感数据。该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

razorstar 是免费的吗?

公开资料没有标注明确许可证,收费和商用限制都无法确认。正式使用前请到来源仓库核对授权说明。

razorstar 用的人多吗?

公开数据是累计安装 192 次,近一周安装 8 次,下载 64 次。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

razorstar 安全吗?

第三方扫描结果为通过,但这只覆盖已知的静态检查项,不能替代自己读一遍源码和安装命令。

值得选的地方和要先想清楚的地方

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。
  • 第三方扫描已通过,常见的高风险行为没有命中。

先想清楚的地方

  • 需要接触敏感数据,装到常用环境前要先评估影响面。
  • 许可证没有明确标注,能不能商用、能不能再分发都不确定。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理研究检索类任务、又不想每次都手写提示词的人。

不太适合

  • 环境里有大量密钥、凭证,不方便给第三方 Skill 读取的人。
  • 需要明确授权才能用到公司项目里的场景。
  • 需要厂商级技术支持和 SLA 的生产系统。

研究检索类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
find-skills

寻找技能 · Codex、Claude

31,199,81316,486操作浏览器MIT有提醒
self-improving-agent

自我改进 Agent · OpenClaw

16,464,0023,396接触敏感数据MIT-0通过
soultrace

灵魂追踪 · Codex、Claude

7,588,94412需要联网未明确有提醒
self-improving

自我完善 · OpenClaw

6,829,2841,046需要联网MIT-0通过
microsoft-foundry

微软代工厂 · Codex、Claude

6,614,144764调用外部服务未明确有提醒
razorstar

razorstar 搜索 · 本页

192—接触敏感数据未明确通过

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

RazorStar App Builder

A RazorStar app is an ASP.NET Core Razor Pages web application enhanced with Datastar for UI reactivity and Basecoat UI for component styling. Server-rendered by default, with SSE-powered real-time updates where needed.

This skill guides you through a conversational workflow — not just what to build, but how to work with the user through each phase. Follow the phases in order and don't skip the checkpoints.

Table of Contents

Tech Stack

LayerTechnology
UI FrameworkRazor Pages (.NET 10)
ReactivityDatastar (html patching, signals, SSE)
ComponentsBasecoat UI (Tailwind-based shadcn/ui for non-React stacks)
StylingTailwind CSS v4 (CLI standalone)
ORMEntity Framework Core + PostgreSQL
AuthASP.NET Identity API endpoints + EF Core
Error HandlingErrorOr (no exceptions for expected failures)
CQRSMediatR
LoggingSerilog + OpenTelemetry

All frontend libraries are bundled locally for air-gapped environments.

Bundled Resources

This skill ships with three resource folders — copy files from them during scaffolding:

FolderContentsWhen to copy
assets/CSS (basecoat, tailwind, theme, landing), JS (basecoat, datastar, site), fonts, logoStep 3 — copy into wwwroot/
scripts/start-dev-environment.ps1 — one-command dev startupStep 2 — copy into project's scripts/
references/Detailed implementation docs (not copied into the project)Read as needed during scaffolding

Phase 1: Discovery - Gather Requirements Before Writing Code

Do not start scaffolding until you've completed this phase. The conversation takes 2-3 exchanges and saves significant rework.

1A. Ask for the App Name

The app name drives naming everywhere — project files, namespaces, Docker services, database names, page titles, sidebar heading.

Ask: *"What would you like to call your application?"*

Derive all naming variants from their answer:

VariantDerivationExample ("InventoryTracker")
MyAppPascalCase — project, namespaces, class prefixes, <title>, sidebarInventoryTracker
myapplowercase — Docker service/container, Postgres DB/user, networkinventorytracker

Credentials (database password, dev user password) are never hardcoded in source files. They live in a .env file that is gitignored — see Step 2 for details.

1B. Ask About the First Feature

Every RazorStar app ships with login + dashboard out of the box. But the user needs at least one CRUD feature for the app to be useful.

Ask: *"What's the first thing you want to manage in this app? For example, 'Products', 'Employees', 'Tickets'. Tell me the entity name and the key fields it should have."*

Capture:

  • Entity name (e.g., "Product")
  • Key fields with types (e.g., Name: string, Price: decimal, IsActive: bool)
  • Any special behavior (e.g., "Products can be archived", "Tickets have a status workflow")

1C. Review and Customise Theme & Images

Before scaffolding, advise the user to review and replace the default images and theme in this skill's assets/ folder:

*"Before we start building, you may want to customise the look and feel. The skill ships with defaults you can replace:* - Logo (assets/images/logo.webp) — Your app logo. Recommended: WebP format, ~200x60px for sidebar display, or square ~128x128px for the login card. - Background image (assets/css/landing.css references /images/key-visual.jpg) — Hero/background image for the login page. Recommended: JPEG, 1920x1080px minimum. If no image is available, a CSS gradient fallback is used. - Theme (assets/css/theme.css) — CSS variables for colours, border radii, and spacing. You can generate a custom theme from tweakcn and paste it into theme.css. *Would you like to customise these now, or go with the defaults and tweak later?"*

For step-by-step instructions on pasting a tweakcn theme, see theme-customization.md.

1D. Choose Navigation Layout

Ask: *"Which navigation layout would you prefer?"*

OptionDescription
Sidebar (default)Left panel with collapsible sidebar. Best for apps with many sections or deep navigation.
Top NavHorizontal navigation bar at the top. Clean look for simpler apps with fewer sections.
CreativeNo fixed navigation — just a minimal header with the app name, dark mode toggle, and profile link. Best for single-purpose apps, dashboards, or landing-page-style layouts where navigation is embedded in the page content itself.

Capture the choice — it determines which _Layout.cshtml template to use in Step 6. See project-scaffolding.md for all three layout templates.

1E. Confirm the Plan

Before writing code, summarize what you'll build and get a thumbs-up:

*"Here's what I'll set up for InventoryTracker:* 1. *ASP.NET Razor Pages project with Datastar + Basecoat UI* 2. *PostgreSQL via Docker (credentials in .env file, gitignored)* 3. *Login page with a seeded dev user (credentials in .env)* 4. *Dashboard with a summary card* 5. *Full CRUD for Products (Name, Price, IsActive) — Index table with search & pagination, Create, Edit, and Details pages* 6. *Navigation: Sidebar layout* *(or Top Nav / Creative — per your choice)* 7. *Theme: default* *(or custom — per your earlier choice)* *Sound good, or do you want to adjust anything?"*

Wait for confirmation before proceeding.


Phase 2: Scaffold the Application

Work through these steps in order. All reference files use MyApp/myapp as placeholders — substitute the user's chosen name everywhere.

Step 1: Create Project and Install Packages

dotnet new webapp -n MyApp --framework net10.0
cd MyApp

Required NuGet packages:

dotnet add package ErrorOr
dotnet add package MediatR
dotnet add package StarFederation.Datastar
dotnet add package Microsoft.EntityFrameworkCore
dotnet add package Microsoft.EntityFrameworkCore.Design
dotnet add package Npgsql.EntityFrameworkCore.PostgreSQL
dotnet add package Microsoft.AspNetCore.Identity.EntityFrameworkCore
dotnet add package Serilog.AspNetCore
dotnet add package Serilog.Sinks.OpenTelemetry

For complete package list with versions, see project-scaffolding.md.

Step 2: Create .env File and Set Up Docker (PostgreSQL)

2a. Create the .env file

Create a .env file in the solution root (parent of the project folder). This is the single source of truth for all development credentials — no secret values are hardcoded anywhere else.

Generate a secure dev user password that meets ASP.NET Identity requirements (at least 6 characters, with uppercase, lowercase, digit, and non-alphanumeric character). Use the {lowercase} naming convention for database values.

# Dev environment credentials — DO NOT commit (gitignored)
POSTGRES_DB=myapp
POSTGRES_USER=myapp
POSTGRES_PASSWORD=<generate-a-secure-password>
DEV_ADMIN_USERNAME=admin
DEV_ADMIN_PASSWORD=<generate-a-secure-password>

Add both .env and db/ to .gitignore:

# Dev credentials
.env

# PostgreSQL local data
db/
2b. Create docker-compose.yml

Create in the solution root with a PostgreSQL 15 Alpine service that reads credentials from .env via variable interpolation. Add health check and named network.

For the complete docker-compose template and placeholder substitution table, see docker-setup.md.

Start the database and verify it's healthy:

docker compose up -d
docker compose ps
2c. Copy the dev startup script

Copy the bundled scripts/start-dev-environment.ps1 from this skill's scripts/ folder into the project's scripts/ folder. Replace MyApp/myapp-db placeholders with the user's app name. This gives the user a one-command dev startup that checks Docker, starts containers, waits for health, and generates appsettings.Local.json from .env values. See project-scaffolding.md for placeholder details.

2d. Configure appsettings

appsettings.json contains non-secret configuration only. The connection string and dev seed credentials are loaded at runtime from appsettings.Local.json, which is generated by the startup script from .env values and is gitignored.

For complete Docker and appsettings configuration, see project-scaffolding.md.

Step 3: Set Up Static Assets

Copy bundled assets from the skill's assets/ folder into the project's wwwroot/ — CSS (basecoat, tailwind, theme, landing), JS (basecoat, datastar, site), fonts, and images.

For the complete directory structure, site.css, theme.css, and Tailwind CLI setup, see project-scaffolding.md.

Step 4: Configure Shared Infrastructure

Create the shared foundation classes under Features/Shared/ and Shared/. For the complete file layout, see shared-infrastructure.md, which links to:

Step 5: Configure Program.cs

Program.cs registers Datastar, MediatR, EF Core + PostgreSQL, Identity with cookie auth (redirecting to /Auth/Login), and Razor Pages with folder-level authorization. In development, it auto-migrates the database and seeds a dev user using credentials from IConfiguration (populated from appsettings.Local.json, which is generated from .env — never hardcoded).

For the complete Program.cs template, middleware pipeline order, and per-feature DI registration pattern, see program-cs.md.

Step 6: Set Up Layout, View Imports and ViewStart

Pages/_ViewImports.cshtml:

@using MyApp
@namespace MyApp.Pages
@addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers

Pages/_ViewStart.cshtml:

@{
    Layout = "_Layout";
}

_Layout.cshtml — use the template matching the user's layout choice from Phase 1 Step 1D:

LayoutKey Features
Sidebar (default)Basecoat sidebar, collapsible nav, header with dark mode toggle + profile
Top NavHorizontal nav bar at top, full-width content
CreativeMinimal header only (app name, dark mode, profile), no navigation chrome — pages manage their own navigation

All three layouts share:

  • <head>: basecoat.all.min.js, datastar.js, basecoat.css, tailwind-output.css, theme.css
  • <body>: DataStar signal initialization (antiForgeryToken, loading, themeMode, user, currentPage)
  • Header with dark mode toggle and profile link (username as ghost button)
  • Main content area with @RenderBody() and footer
  • Toast container: <div id="toaster" class="toaster" data-align="end"></div>

For all three layout templates, see project-scaffolding.md.

Step 7: Create Login and Dashboard Pages

Login page — uses _LandingLayout.cshtml (no sidebar, centered frosted-glass card). Cookie auth via ASP.NET Identity SignInManager.

Files to create:

  • Pages/Shared/_LandingLayout.cshtml — Minimal centered layout
  • Pages/Auth/Login.cshtml + .cshtml.cs — Login form with DataStar loading state
  • Features/Auth/ViewModels/LoginViewModel.cs — Form binding model
  • Pages/Index.cshtml + .cshtml.cs — Root / redirect to Dashboard

For complete implementations, see login-page.md.

Dashboard page — the authenticated home page. Summary card per aggregate with record count + quick-action link. Starts with a single card for the first feature.

Files to create:

  • Pages/Dashboard/Index.cshtml + .cshtml.cs — Summary cards grid

For complete implementations, see dashboard-page.md.


Phase 3: First Run - Verify the Boilerplate Works

This is a checkpoint. Do not proceed to building features until the user has confirmed the app runs.

After scaffolding, present the startup steps:

*"The boilerplate is ready. Here's how to run it:* 1. *Start the dev environment: .\scripts\start-dev-environment.ps1* 2. *Create the initial migration: dotnet ef migrations add InitialCreate* 3. *Run the app: dotnet run* 4. *Open the URL from the console output* 5. *Sign in with the credentials from your .env file (DEV_ADMIN_USERNAME / DEV_ADMIN_PASSWORD)* *Let me know when you're in and I'll start building the [Entity] feature."*

Optional: For ongoing CSS development, run the Tailwind watcher in a second terminal (./tailwindcss -i wwwroot/css/site.css -o wwwroot/css/tailwind-output.css --watch). The initial tailwind-output.css was copied from assets, so this is only needed when modifying styles.

The user should see the login page (centered frosted-glass card), then after logging in, the Dashboard with summary cards and navigation matching their layout choice. For visual details, see login-page.md and dashboard-page.md.

Wait for the user to confirm the app runs before proceeding.


Phase 4: Build the First Feature

Now build the CRUD feature the user described in Phase 1. Follow the feature-based structure:

Features/
└── Items/
    ├── Commands/
    │   ├── CreateItemCommand.cs
    │   ├── UpdateItemCommand.cs
    │   └── DeleteItemCommand.cs
    ├── Queries/
    │   ├── GetItemsQuery.cs
    │   └── GetItemByIdQuery.cs
    ├── Models/
    │   └── Item.cs              # Aggregate root + ID + errors + DTOs + repo + EF config
    └── DependencyInjection.cs

Pages/
└── Items/
    ├── Index.cshtml             # Table with SSE fragments
    ├── Index.cshtml.cs
    ├── _ItemsTable.cshtml       # Partial for SSE updates
    ├── Create.cshtml
    ├── Create.cshtml.cs
    ├── Edit.cshtml
    ├── Edit.cshtml.cs
    ├── Details.cshtml
    └── Details.cshtml.cs

For the CRUD file checklist and handler summary, see crud-feature-reference.md.

Page-specific CRUD references:

After building the feature:

  1. Register AddItemServices() in Program.cs
  2. Add the DbSet<Item> and ItemConfiguration to AppDbContext
  3. Add a sidebar nav item in _Layout.cshtml
  4. Update the Dashboard with a summary card and quick-action link
  5. Ask the user to create a migration for the new entity: *"The [Entity] feature is built. Please create a migration for it:* dotnet ef migrations add Add[Entity]Table *Then restart the app and it will auto-apply. You should see the [Entity] link in the sidebar — try creating your first record."*

Phase 5: Handoff

Once the first feature is working, summarize what was built and set the user up for independence:

*"Your [AppName] is up and running with:* - *Login page with cookie authentication* - *Dashboard with summary cards* - *Full CRUD for [Entity]: Index (search, pagination), Create, Edit (with change tracking), and Details* *To add more features, just tell me the entity name and fields — I'll follow the same pattern. Each new feature gets its own folder under Features/ and Pages/, plus a dashboard card and sidebar link.* *For ongoing development, run the Tailwind watcher in a second terminal:* ``powershell ./tailwindcss -i wwwroot/css/site.css -o wwwroot/css/tailwind-output.css --watch `" ``

Architecture Principles

  1. Server-rendered first — Razor Pages handle data fetching, forms, navigation
  2. Datastar for reactivity — signals for UI state, SSE for real-time updates
  3. ErrorOr over exceptions — expected failures return errors, unexpected failures bubble to global handler
  4. Feature-based structure — each feature has its own Commands/, Queries/, Models/, DependencyInjection.cs
  5. Domain-driven design — aggregates with factory methods returning ErrorOr<T>
  6. CQRS via MediatR — commands mutate, queries read
  7. Co-locate related types — aggregate root file contains ID, errors, DTOs, repo interface, EF config

For detailed architecture patterns, see architecture-patterns.md.

The Separation Rule

ConcernApproach
FormsRazor Pages POST (server-side model binding)
UI reactivityDataStar signals (client-side interactivity)
Realtime/progressDataStar SSE patching and signals (server-sent events)
Micro-actionsOptional JSON via DataStar (lightweight updates)

The backend should drive the frontend. Try not to manage too much state on the frontend! Prefer patching over signals. See the tao of datastar for best practices.

Name Substitution Reference

All reference files use MyApp (PascalCase) and myapp (lowercase) as placeholders. Substitute everywhere — project files, namespaces, Docker services, database names, page titles, sidebar heading. For the complete substitution table, see project-scaffolding.md.

Additional References

平台分布

Codex

38.88%
按下载量换算25

Claude

28.79%
按下载量换算18

Cursor

16.91%
按下载量换算11

Gemini CLI

9.79%
按下载量换算6

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

接触敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

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

继续浏览同类 Skills