跳到主要内容
知仓学习社ZHICANG

senior-fullstack

>

读凭据写文件读文件联网严重 17 · 高危 11borghei/Claude-Skills

它会碰到什么

扫了多少7 个文本文件,108 KB
它会碰到什么读凭据写文件读文件联网
命中总数34 处
命中统计严重 17 · 高 11 · 中 6 · 低 0
逐条看命中(28 条严重或高危)
  • 严重 references/development_workflows.md:99cred-paths
    # .env.local (development)
  • 严重 references/development_workflows.md:105cred-paths
    # .env.test
  • 严重 references/development_workflows.md:109cred-paths
    # .env.production (via secrets management)
  • 严重 references/tooling-workflows-and-quality.md:158cred-paths
    cp .env.example .env.local
  • 严重 references/tooling-workflows-and-quality.md:158cred-paths
    cp .env.example .env.local
  • 严重 references/tooling-workflows-and-quality.md:230cred-paths
    | False-positive hardcoded secret warnings | Regex matches long strings assigned to variables named `password`, `secret`, `token`, etc. | Review flagged lines m
  • 严重 scripts/code_quality_analyzer.py:31cred-paths
    CONFIG_EXTENSIONS = {".json", ".yaml", ".yml", ".toml", ".env"}
  • 严重 scripts/project_scaffolder.py:36cred-paths
    ".env.example", ".gitignore", "README.md"]
  • 严重 scripts/project_scaffolder.py:52cred-paths
    "": ["docker-compose.yml", ".env.example", ".gitignore", "README.md"]
  • 严重 scripts/project_scaffolder.py:68cred-paths
    "": ["docker-compose.yml", ".env.example", ".gitignore", "README.md"]
  • 严重 scripts/project_scaffolder.py:81cred-paths
    "": ["docker-compose.yml", ".env.example", ".gitignore", "README.md"]
  • 严重 scripts/project_scaffolder.py:277cred-paths
    env_file = ".env"
  • 严重 scripts/project_scaffolder.py:629cred-paths
    ".env.example": '''DATABASE_URL="postgresql://user:password@localhost:5432/dbname"
  • 严重 scripts/project_scaffolder.py:635cred-paths
    build/
  • 严重 scripts/project_scaffolder.py:636cred-paths
    .env
  • 严重 scripts/project_scaffolder.py:773cred-paths
    "nextjs": [f"cd {name}", "npm install", "cp .env.example .env.local", "npm run dev"],
  • 严重 scripts/project_scaffolder.py:773cred-paths
    "nextjs": [f"cd {name}", "npm install", "cp .env.example .env.local", "npm run dev"],
  • scripts/project_scaffolder.py:50identity-config-write
    "frontend/src/hooks": ["useApi.ts"],
  • scripts/project_scaffolder.py:352cred-envread
    const PORT = process.env.PORT || 8000;
  • scripts/project_scaffolder.py:364cred-envread
    PORT: parseInt(process.env.PORT || "8000"),
  • scripts/project_scaffolder.py:365cred-envread
    MONGODB_URI: process.env.MONGODB_URI || "mongodb://localhost:27017/app",
  • scripts/project_scaffolder.py:366cred-envread
    JWT_SECRET: process.env.JWT_SECRET || "change-me",
  • scripts/project_scaffolder.py:524cred-envread
    SECRET_KEY = os.environ.get("DJANGO_SECRET_KEY", "change-me")
  • scripts/project_scaffolder.py:525cred-envread
    DEBUG = os.environ.get("DEBUG", "True") == "True"
  • scripts/project_scaffolder.py:556cred-envread
    "NAME": os.environ.get("DB_NAME", "app"),
  • scripts/project_scaffolder.py:557cred-envread
    "USER": os.environ.get("DB_USER", "user"),
  • scripts/project_scaffolder.py:558cred-envread
    "PASSWORD": os.environ.get("DB_PASSWORD", "password"),
  • scripts/project_scaffolder.py:559cred-envread
    "HOST": os.environ.get("DB_HOST", "localhost"),

这一栏是扫描器报的事实,不是结论。命中多不等于有毒(安全工具、规则库、示例脚本本来就会包含危险写法),命中少也不等于干净。它和你手上的凭据、文件、网络有什么关系,需要你自己看。

技能内容

Senior Fullstack

Fullstack development skill that scaffolds production-ready project structures (Next.js, FastAPI+React, MERN, Django+React) and runs static code quality analysis across security, complexity, dependency health, test coverage, and documentation — paired with reference guides for architecture patterns, development workflows, and stack selection.

Core Capabilities

  • Project scaffolding — generate complete Next.js, FastAPI+React, MERN, or Django+React structures with TypeScript, Docker/docker-compose, env templates, and package configs.
  • Code quality analysis — static scan for security issues, cyclomatic complexity, dependency CVEs, test coverage estimate, and documentation scoring, with an overall score/grade and prioritized P0/P1/P2 recommendations.
  • Stack selection — decision matrix and trade-off guides for frameworks, databases, ORMs, auth, and deployment platforms by use case (MVP, SaaS, Enterprise).
  • Architecture patterns — frontend component design, backend clean architecture, API design (REST/GraphQL), caching, and authentication.
  • Lifecycle workflows — local setup, git, CI/CD, testing, code review, deployment, and observability.

When to Use

Use this skill when you hear:

  • "scaffold a new project" / "set up a fullstack project" / "generate project boilerplate"
  • "create a Next.js app" / "set up FastAPI with React"
  • "analyze code quality" / "check for security issues in codebase"
  • "what stack should I use"

Clarify First

Before scaffolding, confirm these inputs. If any is unknown or vague, ASK — do not assume:

  • [ ] Stack — Next.js / FastAPI+React / MERN / Django+React (selects the scaffold template and entire file tree)
  • [ ] App name & output path — where the project is written (project_scaffolder positional args)
  • [ ] Task — scaffold a new project vs analyze an existing codebase's quality (selects project_scaffolder vs code_quality_analyzer)

Stop rule: ask only the 2-3 that most change the output. If the user says "just draft it," proceed and list your assumptions at the top of the artifact.

Tools

| Tool | Purpose | Command |

|------|---------|---------|

| project_scaffolder.py | Scaffold a fullstack project structure with boilerplate, Docker, and env config | python scripts/project_scaffolder.py nextjs my-app --output ./projects |

| code_quality_analyzer.py | Static-analyze a codebase for security, complexity, deps, coverage, and docs | python scripts/code_quality_analyzer.py . --verbose --json --output audit.json |

References

Load the reference that matches the task — keep this file lean and pull detail on demand:

  • [references/tooling-workflows-and-quality.md](references/tooling-workflows-and-quality.md) — full tool docs (templates, flags, sample output, output formats), the three end-to-end workflows, the stack decision matrix / common issues, the troubleshooting table, and the success-criteria bar. Read when running the tools in depth or checking generated work before shipping.
  • [references/architecture_patterns.md](references/architecture_patterns.md) — frontend component architecture, backend clean architecture / repository pattern, REST & GraphQL API design, database patterns, caching strategies, and authentication architecture. Read when designing or reviewing system structure.
  • [references/development_workflows.md](references/development_workflows.md) — local dev setup, git workflows, CI/CD pipelines, testing strategies, code review process, deployment strategies, and observability. Read when standing up the development lifecycle.
  • [references/tech_stack_guide.md](references/tech_stack_guide.md) — frontend/backend framework comparisons, database selection, ORMs, auth solutions, deployment platforms, and stack recommendations by use case. Read when choosing a stack.

Scope & Limitations

What this skill covers:

  • Project scaffolding for Next.js, FastAPI+React, MERN, and Django+React stacks with Docker, TypeScript, and environment configuration
  • Static code quality analysis including complexity metrics, security pattern detection, dependency vulnerability checks, test coverage estimation, and documentation scoring
  • Stack selection guidance via the tech stack decision matrix and reference guides
  • Fullstack architecture patterns (frontend component design, backend clean architecture, API design, caching, auth)

What this skill does NOT cover:

  • Runtime performance profiling, load testing, or APM instrumentation -- see senior-devops for observability tooling
  • Infrastructure provisioning, Terraform/Pulumi, or cloud deployment automation -- see aws-solution-architect and senior-devops
  • Comprehensive CVE scanning against live vulnerability databases -- use npm audit, pip-audit, or senior-secops for deep security analysis
  • Mobile or native desktop application scaffolding -- this skill targets web-based fullstack architectures only

Integration Points

| Skill | Integration | Data Flow |

|-------|-------------|-----------|

| senior-devops | CI/CD pipeline setup for scaffolded projects | Scaffolder output directory feeds into DevOps pipeline configuration and Docker deployment workflows |

| senior-secops | Deep security audit after initial quality scan | Code quality analyzer P0/P1 security findings hand off to SecOps for remediation tracking and penetration testing |

| senior-qa | Test strategy for scaffolded projects | Test coverage estimation from the analyzer informs QA test plan gaps; scaffolded test infrastructure provides the harness |

| code-reviewer | Automated review of generated and existing code | Quality analyzer JSON report provides structured input for code review checklists and PR approval criteria |

| senior-architect | Architecture validation of stack choices | Tech stack guide recommendations feed into architecture decision records; complexity metrics validate design compliance |

| aws-solution-architect | Cloud deployment of scaffolded applications | Docker Compose configurations from the scaffolder translate into ECS/EKS task definitions and infrastructure blueprints |

想直接用这个技能?

本站把开放许可(MIT / Apache 等)的技能按仓库打包整理到网盘,点一下转存到你自己的网盘,不用一个个从 GitHub 拉。许可未声明的技能只给原始仓库链接,不打包。