Files
website-enchun-mgr/.spec-workflow/templates/tech-template.md
pukpuk cf0f779ad4 feat: introduce spec-workflow and upgrade frontend dependencies
This commit introduces the spec-workflow, a set of templates for creating design, product, requirements, and other specification documents. These templates are added to both the root directory and the `apps/frontend` workspace.

Additionally, this commit upgrades the frontend development dependencies for the Astro application. The key changes include:
- Migration from `@astrojs/tailwind` to `@tailwindcss/vite` for Tailwind CSS integration.
- Deletion of the `postcss.config.cjs` file, as it is no longer needed with the new setup.
- Updates to `astro.config.mjs` to use the new Vite plugin for Tailwind CSS.
- General upgrade of Astro and other related dependencies in `apps/frontend/package.json` and the corresponding `pnpm-lock.yaml` file.
2025-10-06 12:35:06 +08:00

4.3 KiB

Technology Stack

Project Type

[Describe what kind of project this is: web application, CLI tool, desktop application, mobile app, library, API service, embedded system, game, etc.]

Core Technologies

Primary Language(s)

  • Language: [e.g., Python 3.11, Go 1.21, TypeScript, Rust, C++]
  • Runtime/Compiler: [if applicable]
  • Language-specific tools: [package managers, build tools, etc.]

Key Dependencies/Libraries

[List the main libraries and frameworks your project depends on]

  • [Library/Framework name]: [Purpose and version]
  • [Library/Framework name]: [Purpose and version]

Application Architecture

[Describe how your application is structured - this could be MVC, event-driven, plugin-based, client-server, standalone, microservices, monolithic, etc.]

Data Storage (if applicable)

  • Primary storage: [e.g., PostgreSQL, files, in-memory, cloud storage]
  • Caching: [e.g., Redis, in-memory, disk cache]
  • Data formats: [e.g., JSON, Protocol Buffers, XML, binary]

External Integrations (if applicable)

  • APIs: [External services you integrate with]
  • Protocols: [e.g., HTTP/REST, gRPC, WebSocket, TCP/IP]
  • Authentication: [e.g., OAuth, API keys, certificates]

Monitoring & Dashboard Technologies (if applicable)

  • Dashboard Framework: [e.g., React, Vue, vanilla JS, terminal UI]
  • Real-time Communication: [e.g., WebSocket, Server-Sent Events, polling]
  • Visualization Libraries: [e.g., Chart.js, D3, terminal graphs]
  • State Management: [e.g., Redux, Vuex, file system as source of truth]

Development Environment

Build & Development Tools

  • Build System: [e.g., Make, CMake, Gradle, npm scripts, cargo]
  • Package Management: [e.g., pip, npm, cargo, go mod, apt, brew]
  • Development workflow: [e.g., hot reload, watch mode, REPL]

Code Quality Tools

  • Static Analysis: [Tools for code quality and correctness]
  • Formatting: [Code style enforcement tools]
  • Testing Framework: [Unit, integration, and/or end-to-end testing tools]
  • Documentation: [Documentation generation tools]

Version Control & Collaboration

  • VCS: [e.g., Git, Mercurial, SVN]
  • Branching Strategy: [e.g., Git Flow, GitHub Flow, trunk-based]
  • Code Review Process: [How code reviews are conducted]

Dashboard Development (if applicable)

  • Live Reload: [e.g., Hot module replacement, file watchers]
  • Port Management: [e.g., Dynamic allocation, configurable ports]
  • Multi-Instance Support: [e.g., Running multiple dashboards simultaneously]

Deployment & Distribution (if applicable)

  • Target Platform(s): [Where/how the project runs: cloud, on-premise, desktop, mobile, embedded]
  • Distribution Method: [How users get your software: download, package manager, app store, SaaS]
  • Installation Requirements: [Prerequisites, system requirements]
  • Update Mechanism: [How updates are delivered]

Technical Requirements & Constraints

Performance Requirements

  • [e.g., response time, throughput, memory usage, startup time]
  • [Specific benchmarks or targets]

Compatibility Requirements

  • Platform Support: [Operating systems, architectures, versions]
  • Dependency Versions: [Minimum/maximum versions of dependencies]
  • Standards Compliance: [Industry standards, protocols, specifications]

Security & Compliance

  • Security Requirements: [Authentication, encryption, data protection]
  • Compliance Standards: [GDPR, HIPAA, SOC2, etc. if applicable]
  • Threat Model: [Key security considerations]

Scalability & Reliability

  • Expected Load: [Users, requests, data volume]
  • Availability Requirements: [Uptime targets, disaster recovery]
  • Growth Projections: [How the system needs to scale]

Technical Decisions & Rationale

[Document key architectural and technology choices]

Decision Log

  1. [Technology/Pattern Choice]: [Why this was chosen, alternatives considered]
  2. [Architecture Decision]: [Rationale, trade-offs accepted]
  3. [Tool/Library Selection]: [Reasoning, evaluation criteria]

Known Limitations

[Document any technical debt, limitations, or areas for improvement]

  • [Limitation 1]: [Impact and potential future solutions]
  • [Limitation 2]: [Why it exists and when it might be addressed]