Token导航 LogoToken导航TokenDH.com
前端设计敏感数据github未标认证来源可访问clear审计通过

fake-survey-gen-foundation虚假调查生成基金会

Agent Skill

fake-survey-gen-foundation 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要围绕仓库状态、代码变更或协作事项进行整理时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

582

周安装

24

GitHub Stars

86

下载量

190
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

3

许可证

MIT

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

复制命令到本机终端执行。不同来源提供的安装方式可能略有差异;本站展示可直接复制的安装命令,安装前请核对来源页面。

skills.shnpx skills
npx skills add https://github.com/marcelmichau/fake-survey-generator --skill fake-survey-gen-foundation

简介

用于分布式调查应用的基础设施搭建,基于 .NET 10.0 与 Aspire 编排。

  • 适用于 React + Tailwind CSS 前端与微服务后端的现代化架构实践。
  • 通过 npm run build 编译 TypeScript 并打包 Vite 资源,运行于端口 3000。
  • 安装命令:npx skills add https://github.com/marcelmichau/fake-survey-generator --skill fake-survey-gen-foundation。
  • 涉及 Auth0 认证时应核对回调 URL 与密钥配置,防止登录失败。

SKILL.md

Fake Survey Generator - Project Foundation

Project Overview

Fake Survey Generator is a modern distributed application built with .NET 10.0 and Aspire orchestration. It demonstrates a microservice architecture with a React frontend, multiple backend services, and enterprise infrastructure patterns (Dapr, SQL Server, Redis, Azure deployment).

Architecture Overview

Frontend

  • Framework: React 19 + Vite + TypeScript
  • Location: src/client/ui/
  • Authentication: Auth0
  • Styling: Tailwind CSS 4.1
  • Build: npm run build (TypeScript checking + Vite bundling)
  • Dev Server: Runs on port 3000 (managed by Aspire)

Backend Services

  • Api Service (FakeSurveyGenerator.Api)

- Main REST API for survey operations (create, retrieve, list surveys) - User management endpoints - Admin endpoints (health checks, version info, secret retrieval) - Connected to: SQL Server database, Redis cache - Health checks: /health/live and /health/ready - Dapr sidecar enabled for distributed capabilities

  • Worker Service (FakeSurveyGenerator.Worker)

- Background job processing service - Connected to: SQL Server database, Redis cache - Runs alongside API service

Supporting Services

  • SQL Server (sql-server)

- Persistent data volume - Database: "database" - Both API and Worker depend on it

  • Redis Cache (cache)

- Cache layer for performance - RedisInsight UI enabled (port 6379) - Both API and Worker depend on it

  • Dapr Sidecar (on Api service)

- Components path: ../../../dapr/components - Local file-based secret store for development - Configurable for Azure Key Vault in production

Aspire Orchestration

Resource Dependencies (from AppHost.cs)

sql-server (base)
  ↓
cache (base)
  ↓
api (depends on sql-server + cache)
  ↓
worker (depends on sql-server + cache)
  ↓
ui (depends on api)

All resources use WaitFor() to ensure dependency chain completion before starting.

Running Aspire

aspire run

This starts all resources in order and makes them available via:

Project Structure

Backend Solution

  • FakeSurveyGenerator.Api - Main REST API service
  • FakeSurveyGenerator.Worker - Background worker service
  • FakeSurveyGenerator.Application - Business logic & application services
  • FakeSurveyGenerator.ServiceDefaults - Aspire service configuration defaults
  • FakeSurveyGenerator.Proxy - Proxy service for UI/API communication
  • FakeSurveyGenerator.AppHost - Aspire orchestration & resource definitions

Test Projects

  • FakeSurveyGenerator.Application.Tests - Unit tests for business logic (TUnit)

- Uses: AutoFixture, NSubstitute (mocking), InMemory EF Core

  • FakeSurveyGenerator.Api.Tests.Integration - Integration tests (TUnit)

- Uses: Testcontainers (real SQL Server & Redis), Respawn (DB cleanup), AutoFixture

  • FakeSurveyGenerator.Acceptance.Tests - E2E tests (TUnit + Playwright)

- Uses: Aspire Hosting Testing library, Playwright for.NET, TUnit.Playwright

  • TestTests - Utility test project

All tests use TrxReport for result reporting and CodeCoverage analysis.

Build System

.NET Backend

  • Target Framework: net10.0
  • Package Management: Centralized in Directory.Packages.props
  • Version Management: Nerdbank.GitVersioning
  • Key Dependencies:

- Aspire 13.1.0 (hosting, testing) - EF Core 10.0 - AutoMapper - MediatR - FluentValidation

Frontend (Node.js)

  • Build Tool: Vite
  • Scripts:

- npm run dev - Dev server with hot reload - npm run build - Production build (TypeScript check + Vite bundle) - npm run lint - Biome formatter

  • Key Dependencies: React 19, Auth0 SDK, FontAwesome, Tailwind CSS 4.1

Build Commands

Backend (from repository root)

# Build all backend projects
dotnet build

# Run all tests with coverage
dotnet test

# Run specific test project
dotnet test src/server/FakeSurveyGenerator.Application.Tests/
dotnet test src/server/FakeSurveyGenerator.Api.Tests.Integration/

Frontend (from src/client/ui/)

# Install dependencies
npm install

# Development server
npm run dev

# Production build
npm run build

# Lint/format
npm run lint

Dapr Integration

Development Setup

  • Secret Store: Local file-based (dapr/components/local-file.yml)
  • Configuration: dapr/components/secrets.json
  • Sidecar: Auto-managed by Aspire on API service

Production Setup

  • Secret Store: Azure Key Vault
  • Configuration: Via bicep deployments in infra/ folder

Key Patterns & Conventions

API Endpoints

  • User Registration: POST /api/users/register (Auth0 token required)
  • Survey Creation: POST /api/surveys (creates survey for current user)
  • Survey Retrieval: GET /api/surveys/{id} (retrieve specific survey)
  • Survey List: GET /api/surveys (list all surveys for current user)
  • Health Checks: GET /health/live, GET /health/ready

Database & ORM

  • ORM: Entity Framework Core 10.0 (code-first)
  • Migrations: Managed via EF Core tooling
  • Strategy: Application layer abstracts data access via repositories

Testing Patterns

  • Unit Tests: Async/await patterns, arrange-act-assert structure
  • Integration Tests: Real database/cache via Testcontainers, Respawn for cleanup
  • Acceptance Tests: Aspire orchestration + Playwright for UI interaction

Common Development Tasks

Adding a New API Endpoint

  1. Create DTO/Command in Application layer
  2. Create handler in Application layer
  3. Register in Application DI setup
  4. Create controller action in Api project
  5. Add unit tests in Application.Tests
  6. Add integration tests in Api.Tests.Integration

Modifying Frontend Component

  1. Update React component in src/client/ui/src/
  2. Run npm run build to validate TypeScript
  3. Add UI assertions to E2E skill validation

Adding Feature End-to-End

  1. Implement backend logic (Application + Api layers)
  2. Update frontend (React component)
  3. Create unit tests
  4. Create integration tests
  5. Create acceptance test (Playwright)
  6. Validate with aspire run + UI inspection

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

04

需要参考平台分布和安装热度时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

补充不同宿主或平台的使用分布数据

能力 5

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

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

平台分布

Claude Code

26.98%
按下载量换算51

Gemini CLI

22.67%
按下载量换算43

Antigravity

16.65%
按下载量换算32

windsurf

12.22%
按下载量换算23

trae

8.98%
按下载量换算17

Codex

3.78%
按下载量换算7

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

敏感数据

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

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。

来源信息

继续浏览同类 Skills