Prompt as Code | GPT Image 2 / 2.5 提示词与案例库,530+ 个案例、20+ 套工业级模板与可复用 Skills,新增 2.5 同提示词对比专区,附完整提示词与生成记录,持续更新。
This report summarizes scanner evidence for freestylefly/awesome-gpt-image-2, a JavaScript project with 35,327 GitHub stars. SynthScan examined 45,650 lines of code across 99 source files, recording 32 pattern matches distributed across 3 syntactic categories. The legacy adjusted pattern signal is 0.8 (Low pattern signal); it is not an authorship estimate.
Use the findings to ask whether maintainers can explain intent, verify dependencies, simplify unnecessary scaffolding, and focus review effort. Risk Payload v1 adds ownership, supply-chain, over-engineering, and review-effort vectors when available. These are prompts for human verification, not probabilities, security findings, or measured maintenance costs.
Use each vector to guide manual verification of the underlying findings.
Payload schema: 1.0.0 · Engine: 2.0.0 · Scoring: heuristic-density-v1 · Scan date: 2026-10-31.
Can maintainers explain intent, assumptions, and trade-offs? 31 finding(s).
Are imports declared and package/API names verified? 1 finding(s).
Are wrappers, guards, and repeated structures necessary? 27 finding(s).
Which changes need focused human review? 32 finding(s).
This chart tracks the legacy adjusted pattern score across scan runs. Changes can reflect source changes, scan coverage, or detector/scoring versions; they do not measure AI adoption or prove that a team refactored code. Compare runs only when their scoring versions are compatible. The dashed line tracks the raw pattern-hit count.
Groups findings by configured severity weight. Severity is not a confidence estimate, security rating, or proof that a package is missing. Verify imports against the project's manifests and inspect each finding in its local design context.
This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.
The scanner identified 32 distinct pattern matches across 3 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a detector match to inspect in context. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.
Reading the findings table: The Severity column indicates the configured finding weight (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — legacy comment-context matches receive a ×1.5 score weight. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier under the legacy scoring model.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | shared/apimart.js | 7 | export function buildApimartGenerationPayload(prompt, options = {}) { | CODE |
| LOW | api/admin/metrics.js | 72 | function normalizeBusinessDailyRows(rows) { | CODE |
| LOW | api/_lib/alipay.js | 120 | export function getCommunityAlipayNotifyUrl(appUrl) { | CODE |
| LOW | api/_lib/alipay.js | 185 | export function sanitizeAlipayNotifyParams(params = {}) { | CODE |
| LOW | api/_lib/alipay.js | 208 | export function validateAlipayOrderResult(order, result) { | CODE |
| LOW | api/_lib/alipay.js | 222 | export async function completeAlipayCreditPackOrder(client, order, result, options = {}) { | CODE |
| LOW | api/_lib/community-alipay.js | 13 | export function shouldQueryCommunityOrderAtAlipay(status) { | CODE |
| LOW | api/_lib/community-alipay.js | 17 | export async function queryCommunityOrderAtAlipay(client, sdk, order) { | CODE |
| LOW | api/_lib/community-alipay.js | 48 | export async function closeCommunityOrderAtAlipay(client, sdk, order) { | CODE |
| LOW | api/_lib/supabase.js | 15 | export function isSupabaseServerConfigured() { | CODE |
| LOW | api/_lib/generation.js | 4 | export async function getGenerationResponseUser(client, userId) { | CODE |
| LOW | api/_lib/billing.js | 146 | export async function getOrCreateStripeCustomer({ client, stripe, user, profile }) { | CODE |
| LOW | api/_lib/billing.js | 146 | export async function getOrCreateStripeCustomer({ client, stripe, user, profile }) { | CODE |
| LOW | api/_lib/billing.js | 249 | function normalizeSubscriptionStatus(status) { | CODE |
| LOW | api/_lib/billing.js | 254 | export async function upsertMembershipFromSubscription(client, subscription, fallback = {}) { | CODE |
| LOW | api/_lib/billing.js | 281 | async function hasTransactionWithMetadata(client, userId, source, metadata) { | CODE |
| LOW | api/_lib/community.js | 24 | export function isCommunityPaymentEnabled(env = process.env) { | CODE |
| LOW | api/_lib/community.js | 108 | export function shouldExpireCommunityOrder(order, now = Date.now()) { | CODE |
| LOW | api/_lib/community.js | 124 | export function validateCommunityTradeResult(order, result) { | CODE |
| LOW | api/_lib/community.js | 145 | export function validateCommunityPaidNotification(order, params, runtime) { | CODE |
| LOW | api/_lib/community.js | 166 | export function sanitizeAlipayNotifyParams(params = {}) { | CODE |
| LOW | api/_lib/community.js | 208 | export function detectCommunityQrMediaType(buffer) { | CODE |
| LOW | api/_lib/community.js | 225 | export function validateCommunityQrUpload(buffer, declaredType = '') { | CODE |
| LOW | api/_lib/community.js | 313 | export async function closeCommunityOrderLocally(client, orderId) { | CODE |
| LOW | api/billing/webhook.js | 100 | async function handleSubscriptionChanged(client, subscription) { | CODE |
| LOW | src/apimartClient.js | 278 | export function cleanupExpiredGeneratedTests(storage, nowMs = Date.now()) { | CODE |
| LOW | src/main.jsx | 3931 | function handleOpenCaseFromAccount(caseItem) { | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | README.md | 428 | <a href="docs/gallery-part-2.md#case-334"><img src="data/images/category-covers/infographic.jpg" alt="RAG technica | CODE |
| MEDIUM | README.ja.md | 423 | <a href="docs/gallery-part-2.md#case-334"><img src="data/images/category-covers/infographic.jpg" alt="RAG 技術解説図" w | CODE |
| MEDIUM | README.zh-CN.md | 426 | <a href="docs/gallery-part-2.md#case-334"><img src="data/images/category-covers/infographic.jpg" alt="RAG 技术详解图" w | CODE |
| MEDIUM | docs/gallery-part-2.md | 5389 | ### 例 334:RAG 技术详解图 | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | docs/gallery-part-1.md | 1474 | "placeholder": "Reply to Emperor Zhu Yuanzhang..." | CODE |