devrel-frictionlog-codelab
БесплатноЗапускает вложенные скриптыНе проверен🥑 [DevRel] Automates friction logging for Google Codelabs (v2.0) with multi-instance collision guards, reentrant gcloud configs, pre-teardown UAT gates, and…
от palladius★ 45 звёзд на GitHubОб этом скилле
DevRel Friction Log Codelab
This skill automates the process of going through a Google Codelab, reproducing its steps, systematically documenting the experience (a "friction log"), identifying bugs in external repositories, and producing actionable reports.
🚫 Golden Rules
1. Commit Hook Progression (Never Run 2 FLs on the Same Commit!)
- Do NOT run multiple Friction Log iterations (
FL001,FL002, ...) against the exact same unpatched Commit SHA (X)! - Every Friction Log iteration (
FLXXX) must record the exact Git Commit SHA and Commit Timestamp (git log -1 --format="%h (%ci)") of the repository/codelab being tested (REPO_COMMIT_HOOK). - The mandatory iterative cycle is:
- Run
FL001on initial commitX(recording Commit SHAX+ its timestamp). - Log all defects in
BUGS.md, open a GitHub/GitLab Issue (GHI/GLI) or Buganizer bug tagged withfriction-logandFL001. - Create a Pull Request / Merge Request (PR/MR) attached to the issue (
Fixes #N), review/test it, and merge it intomainto produce a new Commit SHAY. - Run
FL002on the new commitYto verify fixes and iterate until the scorecard is 100% 🟢 GREEN.
- Run
2. Buganizer Hotlist Mandate (#8950858)
- Whenever you create or update a Buganizer issue (
b/<BUG_ID>) during a Friction Log campaign, you MUST tag the bug with hotlist#8950858(HOTLIST+=8950858)! - Note on
buggedCLI: Ifbuggedblocks AI agents (bugged is not suitable for AI agents), invoke it with a clean environment and place bugspec tags at the very bottom of stdin:echo -e "Friction Log update summary...\n\nHOTLIST+=8950858" | env -i PATH="$PATH" HOME="$HOME" USER="$USER" bugged edit <BUG_ID>
3. Virgin Local Baseline & Virgin GCP Project Mandate
- Always reproduce from a clean, virgin local baseline: Run reproduction in a dedicated clean directory, worktree, or fresh clone representing the exact student baseline (
git checkout mainor release tag). - Always use a brand-new, virgin GCP Project: A Friction Log MUST start on a clean, empty GCP project with zero pre-enabled APIs and zero pre-existing resources. Never recycle dirty projects or previously deployed resources (e.g. leftover Cloud SQL instances or GCS buckets) from previous runs!
- Assign a different dedicated GCP Project (e.g. from the 90-day pool
011F17-0F9CE4-E03264) to each iteration (FL001,FL002,FL003) to guarantee clean state isolation. - Include 2-3 lines of explicit justification/delta in the campaign master
README.mdexplaining what changed between CommitX(FL001) and CommitY(FL002) to justify running the new Friction Log.
4. Narrative Intent vs. Executed Mechanism (Semantic Drift Check)
- Never accept
exit 0as proof of success: A command returning 0 only proves valid syntax, not that the author's educational goal was achieved. - The Semantic Drift Invariant: Before certifying any step, contrast the Narrative Promise (what the title, prose, and diagrams claim to teach) with the Executed Mechanism (what the commands actually perform). If the commands take a degraded shortcut or bypass the promised architecture, flag a P1 Semantic Drift Defect.
- Empirical State Verification: Always formulate an assertion that queries the live platform state directly to prove architectural compliance, rather than relying on command exit codes.
5. The "Less is More" Sacred Covenant: High Friction for Codelab Edits
- Every single line added to student-facing codelab text must be weighed with a heavy heart.
- Never bloat the codelab with 10 lines of rare edge-case workarounds, compiler warnings, or esoteric shell fixes.
- Hierarchy of Resolution:
- Fix it silently in application code, dependencies, or automated wrappers (
just recipes,npm test, etc.). - Add unit/integration tests in the repository test suite.
- Document the tribal knowledge in an Agent Skill (
skills/how-to-use-this-repo/references/). - Only if 50%+ of all students will hit the issue, add a concise 1-line note to the codelab.
- Fix it silently in application code, dependencies, or automated wrappers (
6. The Proactive Visual Mandate (Eliminate Bystander Effect on TODO Screenshots)
- Whenever the agent encounters a
> 📸 TODO(riccardo): add screenshot of ...in the codelab, it is strictly forbidden to ignore it or leave it as a TODO. - The agent has live credentials, headless Chrome (
google-chrome --headless), local ports/proxies, and running services. - The agent MUST proactively:
- Trigger or render the relevant UI / terminal state.
- Capture, crop, and save the image into
assets/images/and the staging directory. - Replace the
TODOwith the markdown image tag and verify visual rendering.
7. Enforce IaC Single Source of Truth (No Terraform vs CLI Collisions)
- Infrastructure provisioned by Terraform (secrets, buckets, service accounts, databases) must **never be redundantly re-created via
Установить devrel-frictionlog-codelab в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл devrel-frictionlog-codelab?
🥑 [DevRel] Automates friction logging for Google Codelabs (v2.0) with multi-instance collision guards, reentrant gcloud configs, pre-teardown UAT gates, and deterministic telemetry.
Как установить скилл devrel-frictionlog-codelab?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл devrel-frictionlog-codelab запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic