一键导入
smaqit-session-start
Start a new chat with full project context. Use when beginning a session to load README, recent history, and task planning.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Start a new chat with full project context. Use when beginning a session to load README, recent history, and task planning.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Use when manually generating or updating the canonical 3-workflow GitHub Actions CI/CD set (deploy.yml, provision.yml, post-merge-deploy.yml) for a Node.js + React application deployed to a VM via Terraform and Docker Compose. Also use when an operator invokes /cicd.generate, or when updating existing workflows to match project conventions. In `smaqit.new-greenfield-project`, the deployment agent generates workflows during Phase 5 using these patterns as reference — invoke this skill directly only when generating CI/CD outside the zero-to-prod flow. Note: `copilot-setup-steps.yml` is provided by the smaqit framework and is not generated by this skill.
Use when deploying a Node.js backend + React frontend application to a remote VM via rsync. Used in the Phase 5 dev environment sweep of `smaqit.new-greenfield-project` to validate the deployment approach locally before CI/CD. Also use as a manual fallback for direct VM deployment outside the CI/CD pipeline.
Use after any deployment to confirm the application is healthy before closing the task or proceeding. Checks the health endpoint, verifies the deployed commit SHA against the current local commit, and validates the SPA root HTTP response. Produces a PASS/FAIL report per check with a final summary. Also use when a deployment task asks to confirm success or when re-verifying after a fix.
Use when configuring a custom domain with a Let's Encrypt TLS certificate for a running nginx server. Covers DNS propagation verification, nginx server_name update, Certbot certificate issuance, HTTPS smoke tests, and auto-renewal verification. Also use when activating a purchased domain for a deployed application, setting up HTTPS post-deployment, or when a spec references INF-TOPOLOGY-004 through INF-TOPOLOGY-007 as pending TLS configuration.
Use when writing deploy stamp files (DEPLOY_SHA, DEPLOY_TIME) to the VM after a successful deployment, or when re-stamping without a full redeploy. Also use when the health endpoint returns "sha":"unknown" after deployment, when a deployed PR needs a notification comment, or when smaqit.infrastructure-deploy-rsync invokes the post-deploy stamp step. Produces DEPLOY_SHA and DEPLOY_TIME files in /opt/him/backend/ on the VM and optionally posts a deploy comment on the merged PR.
Use when validating staged files before committing to catch .env files, plaintext API keys/secrets, draft spec files on main-branch commits, and large files over 1 MB. Also use when setting up the automated git pre-commit hook via the bundled install script so checks run automatically on every commit. Produces a PASS/FAIL report per check, with filenames and matching lines listed for failures.
| name | smaqit.session-start |
| description | Start a new chat with full project context. Use when beginning a session to load README, recent history, and task planning. |
| metadata | {"version":"0.8.0"} |
Start a new chat with full project context. Execute these steps IN ORDER:
Read core project files from start to finish (in parallel, if they exist):
README.mdCONTRIBUTING.md.github/copilot-instructions.mddocs/, documentation/) — scan for index files like README.md, index.md, architecture.md, or ADRs in adr/ subdirectoriesMakefile, package.json, pyproject.toml, go.mod, Cargo.tomlLoad recent session context (use both sources; memory takes priority for cross-branch continuity):
memory tool with type: workspace to retrieve stored entries with subjects "session history" and "next steps". These are written by session-finish and are available across all branches, making them the most reliable source when working in parallel or on a new branch..smaqit/history/ for full detail. If no entries exist yet, continue without file history.Load task planning:
.smaqit/tasks/PLANNING.md (NOT individual task files)."task state" using the memory tool with type: workspace — these are written by task skills (task-create, task-start, task-complete) and reflect the most recent state across all branches.task-list skill when working on tasks.Load project glossary (conditional — only if .smaqit/glossary.md exists):
.smaqit/glossary.md in full.Load project compendium (conditional — only if .smaqit/compendium.md exists):
.smaqit/compendium.md in full.Read the codebase for the next unblocked task:
Synthesize and present a summary covering:
CRITICAL: Read complete markdown (.md) files without line limits. Do NOT truncate at any arbitrary limit.
Note: Only read individual task files (.smaqit/tasks/NNN_*.md) when actively working on that specific task.