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

local-project-context

The local task workspace, the build/test commands the hand-off gate runs, and the file and exploration tools. Use when starting work in a task workspace or before running any build, test or verification command.

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

설치 방법 보기

포함된 파일(1)

  • SKILL.md5.4 KB

SKILL.md(원문)

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

Local Project Context

Overview

You run on a local developer machine, not in a CI/CD pipeline. There is no remote runner that will catch your mistakes later — the build and tests you run in your workspace are the only verification that happens before a human sees the result. Treat your workspace as production's last line of defense.

Core principle: Explore before you change; verify in this environment before you claim.

The environment

  • Task workspace: each task is worked in a cloned checkout on its own branch. Your working directory is injected into the session context — always use it as the root, never assume paths from another task.
  • Live codebase: your changes take effect immediately in the workspace. There is no separate deploy step for verification.
  • No inherited state: if you build or test in this workspace, do it from scratch — never assume a prior session left a build artifact, a running server, or a seeded database.

Exploration tools (use before changing code)

ToolUse for
codebase_searchConcept/semantic search — "where is auth handled"
grep_codeExact symbol/string — a function name, an error message
get_repo_treeStructure and file layout of the repository
get_symbol_skeletonA symbol's signature and outline without its full body
expand_symbol_contextFocused read of a symbol and its surroundings
read_fileRead a file with line numbers — up to 800 lines per call
run_terminalBuild, test, run the app, inspect output

File tools (use instead of the shell for anything touching a file)

ToolUse for
read_fileRead with line numbers, whole file in one call
edit_fileReplace an exact string; replace_all: true changes every occurrence at once
edit_linesReplace / insert / delete by line number — add a function, an import, remove a block
write_fileCreate a file, or replace one whole
delete_fileRemove a file or directory
move_fileRename or move

Never cat, sed -n, head, tail, sed -i, rm, mv or a heredoc through the shell. A shell read costs a full agent turn per window; a sed -i is silent about what it matched, so you spend a second turn grepping to find out whether it worked; and a heredoc mangles backticks, quotes and template literals.

Every file tool reports what it did — the number of occurrences changed, the line numbers, the region as it now reads. That is your confirmation. Do not grep or re-read the file to check. One edit is one turn.

In a CLI runtime (Claude Code / Codex / opencode) read_file, edit_file, write_file, run_terminal, grep_code and get_repo_tree are your native Read/Edit/Write/Bash/Grep/Glob — same rules apply.

Find the existing pattern first (the neighboring endpoint, the similar component, the analogous test) and follow it. A parallel convention you invent is a review finding waiting to happen.

Verification (use before every handoff)

The build gate that runs after your run executes exactly the component's required checks — list_component_checks returns them with the local command that reproduces each. Run those commands, not a guessed one. The table below is only the fallback when no checks are mapped:

StackBuildTest
Gogo build ./... && go vet ./...go test ./... (or the affected ./path/...)
Java./mvnw -q verify / ./gradlew build(included)
Webnpm run build in the package that holds package.jsonnpx vitest run or CI=1 npm test — never watch mode
Flutterflutter analyzeflutter test (a build needs a target: flutter build apk --debug, flutter build web)

Full builds and suites outlast run_terminal's 60s default: pass timeout_seconds (up to 900). Redirect long output to a file and read its tail (mkdir -p /tmp/tt-<task key> && … > /tmp/tt-<task key>/test.log 2>&1; tail -80 /tmp/tt-<task key>/test.log — never a shared fixed path).

If the build or tests do not pass in this run, the task is not ready to move forward — say what failed.

Your role

  • Developers: all of the above — explore, edit, build and test the whole stack.
  • QA: black-box. Exploration is get_repo_tree, grep_code, read_file only — to find the start command, the port and the route, never the diff, to decide a verdict. The file tools above are still yours for your own scratch work (a fixture, a script), never for product code.
  • Architect at code_review: read, never run. The code tools above are for reading the diff and the surrounding code; building or testing it yourself is not your job and not your evidence — the developer's run already did that.

Common Mistakes

  • Reasoning about behavior from reading code instead of running it — except at code_review, where reading the diff IS the job.
  • Reusing a path or branch name from a previous task's workspace.
  • Assuming npm install / go mod download already ran — check, don't assume.

Red Flags

  • "It built last time" — build again, now (unless you are the architect: you never build).
  • "The server should still be running" — never assume; start it.

리뷰

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

댓글

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

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

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

0 / 1,000자

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

같은 저장소의 스킬

Use when writing acceptance criteria for a task - express each as an observable Given/When/Then that QA can execute, including negative cases

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

makifbaysal/tasktrooper1172026년 10월 20일 업데이트

Use when the diff adds or changes an endpoint, resolver, RPC, job or query that takes an object id, a role check, a request binding or a tenant filter - BOLA/IDOR, function-level authorization, mass assignment and tenant scoping

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

makifbaysal/tasktrooper1172026년 10월 20일 업데이트

Use on every UI change - semantic HTML, labels for controls, keyboard-navigable dialogs/menus, visible focus, and never color as the only signal

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

makifbaysal/tasktrooper1172026년 10월 20일 업데이트

Use when a task changes any screen, form, dialog, menu or control - Lighthouse/axe scan of the changed screens, a keyboard walk, and the thresholds that fail a task

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

makifbaysal/tasktrooper1172026년 10월 20일 업데이트

How to work a task returned with review, QA or UAT findings. Use when a task is in need_revision or PR review comments are in your context.

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

makifbaysal/tasktrooper1172026년 10월 20일 업데이트

Use when the repository keeps its alerting in code, or a person asks for alerts outside TaskTrooper - PrometheusRule YAML, a Cloud Monitoring alert policy in Terraform, a Datadog monitor, each routed to TaskTrooper's alert ingest URL so it opens an incident here

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

makifbaysal/tasktrooper1172026년 10월 20일 업데이트

makifbaysal의 스킬 모두 보기

이 스킬의 문제 신고