ENGINEERING // STANDARDS

Engineering Standards

The operating model behind the public website: measurable quality, accessible interfaces, localized content, and repeatable delivery.

Languages
8

Localized UI paths with hreflang alternates.

Prerender
Static

SEO-critical routes generated at build time.

Quality gates
CI

Strict TypeScript, tests, audit, build, and Lighthouse checks.

Design discipline

The interface favors restrained enterprise patterns: clear hierarchy, low decoration, measurable proof, and predictable navigation.

  • WCAG-oriented color and control states
  • Stable route structure
  • Evidence cards tied to actual repository and build data

Delivery discipline

Each release should be reproducible through the same commands used in CI.

  • npm audit gate
  • Strict TypeScript no-emit check
  • Cloudflare Pages Functions build validation
  • Documented release and rollback process

Internationalization

Localized URLs are first-class pages, not query parameters.

  • Self-canonical localized pages
  • hreflang alternates
  • Localized project descriptions
// 安全

在边缘加固。

每个响应都发送严格的安全标头——由 Cloudflare 在生产域上强制执行,而不仅仅是写在策略里。

传输安全
HSTS · 1y · includeSubDomains · preload
内容安全策略
CSP · script-src 'self' (no inline) · object-src 'none' · frame-ancestors 'none'
点击劫持
X-Frame-Options: DENY
MIME 嗅探
X-Content-Type-Options: nosniff
来源引用
Referrer-Policy: strict-origin-when-cross-origin
浏览器功能
Permissions-Policy · ~20 features denied

在生产域上测量的实时响应标头。