본문으로 건너뛰기
cccskills
무료GitHub에 공개

console-development

Run, diagnose, or manually test the private Stacktape Console locally, especially when local API/UI behavior must use the shared dev RDS data, Cognito users, AWS services, OAuth callbacks, or provider webhooks. Use for Console dev-mode setup, deciding between UI-only and full mode, shared-dev migrations, and GitHub/GitLab/Bitbucket end-to-end testing.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

설치 방법 보기

포함된 파일(2)

  • SKILL.md5.4 KB
  • references/git-provider-e2e.md2.1 KB

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

Console development

Work from the public workspace root with apps/console initialized. Read the root and Console AGENTS.md files before changing code. Check Git status in both repositories.

Before deploying, migrating, starting full local mode or running acceptance tests that need a stable dev backend, acquire the task-owned shared reservation described in docs/testing.md#shared-dev-reservation. Hold it through tests and cleanup. Do not reuse another task's reservation or treat an old timestamp as permission to release it. stacktape-dev hosts both production and dev; reuse the existing dev Stacktape organization, but never treat the account, organization or existing connections as disposable. For unattended browser user/SSM setup, read apps/console/e2e/README.md.

Choose the smallest valid mode

  • For repeatable behavior covered by an isolated API/PostgreSQL/browser fixture, use the lane in Console testing without shared-dev credentials or a reservation. This skill's full local mode applies when the work needs the shared dev data plane or external services.
  • Use pnpm dev:console:ui only for UI changes that the deployed dev API already supports. It serves the UI at http://localhost:4000 and points it at the deployed dev API.
  • Use pnpm dev:console when shared-dev or realistic manual testing needs changed API code, API/UI contracts, database-backed behavior or permissions. It runs the API at http://localhost:3000 and the UI at http://localhost:4000.
  • Use pnpm deploy:console:dev only when an external system must call changed code, such as an OAuth callback or webhook that cannot reach localhost. This changes the real console-app-dev stack.
  • Never substitute the production stage or pnpm deploy:console for a development test.

Full dev-mode contract

pnpm dev:console performs one guarded workflow:

  1. Builds the source CLI artifacts.
  2. verifies the Stacktape login;
  3. verifies the standard AWS SDK credential chain belongs to account 977946299200;
  4. reads current non-secret database and Cognito identifiers from console-app-dev;
  5. opens an SSM tunnel through bastionHost to the shared dev mainDatabase;
  6. starts the local API container and UI against the shared dev data plane; and
  7. closes both processes together.

The API uses real rows, organizations, projects, provider connections, and dev-stage runtime parameters. The local console-app-devlocal stack contains support resources and the assumable role for local workloads. Its resolved-config fingerprint causes a one-time refresh when IAM or other support configuration changes; ordinary source edits reuse it. Deployed dev Lambdas remain responsible for external webhooks and background work.

Do not start a separate local PostgreSQL container for shared-data tests. Do not manually copy database passwords, Cognito IDs, API keys, or provider tokens into files or chat.

Prerequisites and recovery

  • Stacktape login: pnpm dev:cli login
  • AWS credentials for the expected account (environment, shared profile, or another standard SDK source)
  • Docker Desktop
  • Required parameter names:
    • pnpm parameters:check:console:dev
    • pnpm parameters:check:console:devlocal

If startup reports an expired login, run the login command and finish its browser flow. If it rejects the AWS account, switch the AWS profile outside the repository and retry. Stop the foreground pnpm dev:console process normally first. For an agent-mode session, use pnpm dev:cli dev:stop --agentPort <this-session-port>. After a crash, inspect Docker and remove only exact container IDs recorded for this session, then verify its listeners and tunnel are gone. Do not use blanket --cleanupContainers on a shared machine: it guesses ownership from names and does not track foreground dev sessions. Never delete the shared console-app-dev stack as cleanup.

Committed Prisma migrations go to the shared dev database only through pnpm migrate:console:dev. Do not use prisma migrate dev, destructive pushes, or the production migration command.

Manual testing

Test through the browser as a customer would. Verify the visible success path, cancellation or denial, retry after an error, empty and large lists, search/pagination, stale tabs, disconnect/reconnect, and organization isolation. Inspect the browser network response and API logs when UI feedback is ambiguous; do not treat a toast alone as proof.

For Git-provider work, read references/git-provider-e2e.md before testing. Ask the user for provider sign-in, MFA or approval only when the authorized browser session or active tool requires it. First check agent browser access: SSM-backed Playwright login is available for Console, including headed WSL mode; administration uses a separate Admin fixture. Console login does not authenticate external providers. Record only provider account/repository labels and observed behavior—never authorization codes, cookies, tokens, or secret values.

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

load

무료

Load context from an earlier Claude Code or Codex session, selected by conversation name or recency. Explicit invocation only: `/load` in Claude Code, `$load` in Codex. Never trigger this from ordinary wording such as "load" or "continue".

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

stacktape/stacktape812026년 10월 20일 업데이트

Redesign Stacktape's marketing website or Console through visual exploration, independent design critique, and browser verification. Use for substantial page, flow, or visual-system design work, including agent-led redesigns.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

stacktape/stacktape812026년 10월 20일 업데이트

wtf

무료

Make AI coding-agent messages to humans clear and easy to follow. Use for every user-facing message in this repository, or when the user asks to simplify or rewrite an agent message.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

stacktape/stacktape812026년 10월 20일 업데이트

wtf

무료

Make AI coding-agent messages to humans clear and easy to follow. Use for every user-facing update, explanation, review, question, and handoff in this repository, or when the user asks to simplify or rewrite an agent message.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

stacktape/stacktape812026년 10월 20일 업데이트

stacktape의 스킬 모두 보기

이 스킬의 문제 신고