chore(workflow): add AI-assisted workflow commands and configurations
Add comprehensive workflow commands for AI-assisted development: - Claude commands: analyze, clarify, plan - Kilocode workflows: full feature development lifecycle - Opencode commands: specification and implementation workflows - Roo MCP configuration for tool integration Update .gitignore to exclude .astro build cache directories. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -12,7 +12,7 @@ This task list is aligned with the official `PRD.md` and excludes all e-commerce
|
||||
- [X] **T001**: Initialize a pnpm monorepo with `pnpm-workspace.yaml`.
|
||||
- [X] **T002**: Create `frontend/`, `backend/`, and `packages/shared/` directories.
|
||||
- [X] **T003**: Initialize the Astro project in `frontend/` configured for SSR (Server-Side Rendering).
|
||||
- [X] **T004**: Initialize the Payload CMS project in `backend/` configured for Cloudflare Workers.
|
||||
- [X] **T004**: Initialize the Payload CMS project in `backend/` configured for self-hosted Coolify platform.
|
||||
- [X] **T005**: Configure Tailwind CSS in the `packages/shared/` directory to be used by the `frontend` app.
|
||||
- [X] **T006**: Install all necessary dependencies across the workspace.
|
||||
|
||||
@@ -22,24 +22,23 @@ This task list is aligned with the official `PRD.md` and excludes all e-commerce
|
||||
- [X] **T008**: **[P]** Create the `BlogPosts` collection in Payload CMS.
|
||||
- [X] **T009**: **[P]** Create the `PortfolioItems` collection in Payload CMS.
|
||||
- [X] **T010**: **[P]** Create the `Categories` collection in Payload CMS.
|
||||
- [X] **T011**: Configure Payload to use Auth.js for authentication.
|
||||
- [X] **T011**: Configure Payload to use Payload CMS default authentication.
|
||||
|
||||
## Phase 3: Frontend Development (Astro)
|
||||
|
||||
- **T012**: Integrate Auth.js (`astro-auth`) with the Astro project.
|
||||
- **T013**: Implement the authentication check for all `/admin/*` routes in `frontend/src/middleware.ts`.
|
||||
- **T014**: **[P]** Create the main site layout (`Layout.astro`) with shared Header and Footer components.
|
||||
- **T015**: **[P]** Create the secure admin layout (`AdminLayout.astro`).
|
||||
- **T016**: **[P]** Create the static page `frontend/src/pages/about.astro`.
|
||||
- **T017**: **[P]** Create the static page `frontend/src/pages/solutions.astro`.
|
||||
- [X] **T012**: Integrate Payload CMS authentication with the Astro project.
|
||||
- [X] **T013**: Implement the authentication check for all `/admin/*` routes in `frontend/src/middleware.ts`.
|
||||
- [X] **T014**: **[P]** Create the main site layout (`Layout.astro`) with shared Header and Footer components.
|
||||
- [X] **T015**: **[P]** Create the secure admin layout (`AdminLayout.astro`).
|
||||
- **T016**: **[P]** Create the static page `frontend/src/pages/about-enchun.astro`.
|
||||
- **T017**: **[P]** Create the static page `frontend/src/pages/marketing-solutions.astro`.
|
||||
- **T018**: **[P]** Create the static page `frontend/src/pages/teams.astro`.
|
||||
- **T019**: **[P]** Create the static page `frontend/src/pages/marketing-class.astro`.
|
||||
- **T020**: **[P]** Create the contact page at `frontend/src/pages/contact.astro`.
|
||||
- **T021**: Create the blog listing page at `frontend/src/pages/blog/index.astro`.
|
||||
- **T022**: Create the dynamic blog post page at `frontend/src/pages/blog/[slug].astro`.
|
||||
- **T023**: Create the blog category page at `frontend/src/pages/blog/category/[category-slug].astro`.
|
||||
- **T024**: Create the portfolio listing page at `frontend/src/pages/portfolio/index.astro`.
|
||||
- **T025**: Create the dynamic portfolio item page at `frontend/src/pages/portfolio/[slug].astro`.
|
||||
- **T019**: **[P]** Create the contact page at `frontend/src/pages/contact-us.astro`.
|
||||
- **T020**: Create the blog listing page at `frontend/src/pages/news.astro`.
|
||||
- **T021**: Create the dynamic blog post page at `frontend/src/pages/xing-xiao-fang-da-jing/[slug].astro`.
|
||||
- **T022**: Create the blog category page at `frontend/src/pages/wen-zhang-fen-lei/[slug].astro`.
|
||||
- **T023**: Create the portfolio listing page at `frontend/src/pages/website-portfolio.astro`.
|
||||
- **T024**: Create the dynamic portfolio item page at `frontend/src/pages/webdesign-profolio/[slug].astro`.
|
||||
- **T026**: Implement the login page at `frontend/src/pages/admin/login.astro`.
|
||||
- **T027**: Implement the protected dashboard at `frontend/src/pages/admin/dashboard.astro`.
|
||||
- **T028**: Implement the embedded Payload CMS view at `frontend/src/pages/admin/cms.astro`.
|
||||
@@ -52,9 +51,9 @@ This task list is aligned with the official `PRD.md` and excludes all e-commerce
|
||||
|
||||
## Phase 5: Testing & Deployment
|
||||
|
||||
- **T032**: **[P]** Write integration tests for the Auth.js login and protected route flow.
|
||||
- **T032**: **[P]** Write integration tests for the Payload CMS authentication login and protected route flow.
|
||||
- **T033**: **[P]** Write integration tests for the contact form submission.
|
||||
- **T034**: **[P]** Write unit tests for critical shared utilities or components.
|
||||
- **T035**: Configure and test the deployment pipeline for the Astro frontend to Cloudflare Pages.
|
||||
- **T036**: Configure and test the deployment pipeline for the Payload CMS backend to Cloudflare Workers.
|
||||
- **T036**: Configure and test the deployment pipeline for the Payload CMS backend to Coolify.
|
||||
- **T037**: Perform a final SEO and accessibility audit.
|
||||
|
||||
Reference in New Issue
Block a user