Skip to content

anbeime/skill / skills/img2threejs/img2threejs

img2threejs

Verified

Turn an object or character reference image into a quality-gated, animation-ready procedural Three.js model built in code. Use for image-to-3D reconstruction, detail-accurate object rebuilds, stylized/likeness-maximized human characters, sculpt specs, and staged code generation.

FileKindSize
.github/FUNDING.ymlconfig94 B
.github/ISSUE_TEMPLATE/bug_report.ymlconfig2.3 KB
.github/ISSUE_TEMPLATE/contribution_intent.ymlconfig1.8 KB
.github/ISSUE_TEMPLATE/feature_request.ymlconfig1.4 KB
.github/pull_request_template.mdmarkdown1.1 KB
.github/release.ymlconfig471 B
.github/workflows/beta-release.ymlconfig1.9 KB
.github/workflows/ci.ymlconfig349 B
.github/workflows/issue-triage.ymlconfig783 B
.github/workflows/pr-issue-close-policy.ymlconfig279 B
.github/workflows/release.ymlconfig625 B
.gitignoreother2.4 KB
CHANGELOG.mdmarkdown33.1 KB
CLAUDE.mdmarkdown2.8 KB
CONTRIBUTING.mdmarkdown4.7 KB
LAB-FINDINGS.mdmarkdown5.7 KB
LICENSEother11.1 KB
README.mdmarkdown38.9 KB
ROADMAP.mdmarkdown16.3 KB
SKILL.mdskill md30.8 KB
assets/logo.svgother2.0 KB
assets/sponsors/atlas-cloud-logomark-black.svgother595 B
assets/sponsors/atlas-cloud-logomark-white.svgother595 B
assets/sponsors/hyper3d-logomark-black.pngbinary1.1 KB
assets/sponsors/hyper3d-logomark-white.pngbinary1.2 KB
assets/sponsors/tripo-logomark-black.svgother1002 B
assets/sponsors/tripo-logomark-white.svgother1002 B
docs/ARCHITECTURE.mdmarkdown14.0 KB
docs/GLB_ANIMATED_CHARACTER_PROMPT.mdmarkdown13.1 KB
docs/GLB_CHARACTER_ANIMATION_PROMPT.mdmarkdown14.6 KB
docs/GLB_CHARACTER_POLISH_PROMPT.mdmarkdown10.6 KB
docs/GLB_CHARACTER_PROMPT.mdmarkdown19.1 KB
docs/HAIR_PIPELINE.mdmarkdown10.5 KB
docs/RESEARCH_TRELLIS2_TO_IMG2THREEJS.mdmarkdown35.4 KB
docs/STAGE_R_BACKLOG.mdmarkdown18.0 KB
docs/STAGE_R_TEST_PLAN.mdmarkdown14.0 KB
docs/TOKEN_COST.mdmarkdown2.5 KB
docs/UPGRADE_PLAN.mdmarkdown30.4 KB
docs/cs2-anatomy/gloves.mdmarkdown11.6 KB
docs/cs2-anatomy/heavy.mdmarkdown13.8 KB
docs/cs2-anatomy/knives.mdmarkdown18.2 KB
docs/cs2-anatomy/pistols.mdmarkdown12.0 KB
docs/cs2-anatomy/rifles.mdmarkdown13.1 KB
docs/cs2-anatomy/smgs.mdmarkdown13.4 KB
docs/cs2-anatomy/snipers.mdmarkdown13.8 KB
docs/cs2/3D_Technical_Mapping.jsonconfig10.6 KB
docs/cs2/3D_Technical_Reference.mdmarkdown22.2 KB
docs/cs2/3D_Vocabulary_CS2.jsonconfig10.0 KB
docs/cs2/3D_Vocabulary_CS2_Dictionary.mdmarkdown26.6 KB
docs/cs2/distill.mdmarkdown9.9 KB
docs/cs2/review-gates.mdmarkdown2.5 KB
docs/integrations/reference_fidelity_tooling.mdmarkdown6.2 KB
docs/issue-triage.mdmarkdown1.8 KB
docs/materials/IMAGE_MATERIAL_ANALYSIS.mdmarkdown5.0 KB
docs/materials/README.mdmarkdown5.2 KB
docs/materials/THREEJS_MATERIAL_REFERENCE.mdmarkdown11.4 KB
docs/materials/material-reference.jsonconfig55.0 KB
docs/pipelines/character-rigging-animation-1.5.2.mdmarkdown22.3 KB
docs/raw/.keepother0 B
docs/raw/img2threejs-skill-dataset.jsonconfig107.3 KB
docs/specs/render-profile.v2.example.jsonconfig2.6 KB
docs/specs/render-profile.v2.schema.jsonconfig3.8 KB
docs/specs/vocabulary/README.mdmarkdown4.4 KB
docs/specs/vocabulary/core_3d.jsonlother13.2 KB
docs/specs/vocabulary/core_3d_reconstruction.jsonlother56.1 KB
docs/specs/vocabulary/cs2.jsonlother7.1 KB
docs/specs/vocabulary/cs2_reconstruction.jsonlother85.7 KB
docs/standard-prompts/README.mdmarkdown2.2 KB
docs/standard-prompts/build.mdmarkdown5.2 KB
docs/standard-prompts/glb-force-measured.mdmarkdown8.6 KB
docs/standard-prompts/polish.mdmarkdown2.7 KB
docs/standard-prompts/vfx.mdmarkdown5.7 KB
forge/_shared/artifact_cache.pyscript1.7 KB
forge/_shared/chirality.pyscript12.1 KB
forge/_shared/color_metrics.pyscript3.6 KB
forge/_shared/feature_acceptance_policy.pyscript4.2 KB
forge/_shared/image_hash.pyscript4.0 KB
forge/_shared/jpeg.pyscript16.0 KB
forge/_shared/material_physics.pyscript12.2 KB
forge/_shared/pipeline_routing.pyscript7.0 KB
forge/_shared/scalp_field.pyscript14.3 KB
forge/_shared/sdf_primitives.pyscript8.3 KB
forge/_shared/spec_search.pyscript61.9 KB
forge/_shared/spec_search_profiles.jsonconfig1.4 KB
forge/_shared/status_banner.pyscript1.4 KB
forge/_shared/subdivision.pyscript10.5 KB
forge/_shared/vertex_paint.pyscript10.8 KB
forge/_shared/workflow_state.pyscript20.5 KB
forge/materials/__init__.pyscript355 B
forge/materials/compatibility.pyscript5.1 KB
forge/materials/reference.pyscript10.2 KB
forge/next.pyscript4.4 KB
forge/report.pyscript1.5 KB
forge/requirements.txtmanifest335 B
forge/stage1_intake/analyze_texture.pyscript12.1 KB
forge/stage1_intake/bind_detail_properties.pyscript4.6 KB
forge/stage1_intake/build_detail_inventory.pyscript13.0 KB
forge/stage1_intake/camera_fitting_math.pyscript5.5 KB
forge/stage1_intake/camera_fitting_solver.pyscript8.2 KB
forge/stage1_intake/camera_fitting_types.pyscript8.2 KB
forge/stage1_intake/camera_image_helpers.pyscript6.0 KB
forge/stage1_intake/check_intake_correctness.pyscript4.8 KB
forge/stage1_intake/check_reference_admission.pyscript7.6 KB
forge/stage1_intake/cs2_foundation.pyscript7.9 KB
forge/stage1_intake/cs2_manifest.pyscript10.5 KB
forge/stage1_intake/cs2_review_contract.pyscript1.7 KB
forge/stage1_intake/delight_albedo.pyscript14.2 KB
forge/stage1_intake/detect_cs2.pyscript9.7 KB
forge/stage1_intake/detect_reference_effects.pyscript8.9 KB
forge/stage1_intake/extract_cs2_textures.pyscript5.6 KB
forge/stage1_intake/extract_gradient_stops.pyscript5.8 KB
forge/stage1_intake/extract_hair_evidence.pyscript18.6 KB
forge/stage1_intake/extract_landmarks.pyscript16.0 KB
forge/stage1_intake/extract_part_color_recipe.pyscript20.8 KB
forge/stage1_intake/extract_pbr_evidence.pyscript32.5 KB
forge/stage1_intake/fetch_cs2_metadata.pyscript6.4 KB
forge/stage1_intake/label_glb_nodes.pyscript13.0 KB
forge/stage1_intake/locate_cs2_vpk.pyscript2.6 KB
forge/stage1_intake/material_region_analysis.pyscript9.8 KB
forge/stage1_intake/probe_glb.pyscript15.0 KB
forge/stage1_intake/probe_image.pyscript5.4 KB
forge/stage1_intake/run_vision_adapter.pyscript1.6 KB
forge/stage1_intake/search_specs.pyscript7.5 KB
forge/stage1_intake/semantic_decomposition.pyscript4.5 KB
forge/stage1_intake/solve_camera_pose.pyscript10.7 KB
forge/stage2_spec/apply_material_analysis.pyscript8.6 KB
forge/stage2_spec/cs2_adapters.pyscript3.0 KB
forge/stage2_spec/derive_geometry.pyscript4.3 KB
forge/stage2_spec/hair_profile.pyscript14.5 KB
forge/stage2_spec/humanoid_proportions.pyscript9.0 KB
forge/stage2_spec/new_pre_spec_assessment.pyscript12.1 KB
forge/stage2_spec/new_sculpt_spec.pyscript127.4 KB
forge/stage2_spec/validate_sculpt_spec.pyscript144.5 KB
forge/stage3_build/bake_projected_texture.pyscript8.8 KB
forge/stage3_build/decimate.pyscript10.4 KB
forge/stage3_build/generate_threejs_factory.pyscript207.6 KB
forge/stage3_build/module_cache.pyscript5.6 KB
forge/stage3_build/morph_targets.pyscript7.3 KB
forge/stage3_build/orchestrate_passes.pyscript27.6 KB
forge/stage3_build/uv_unwrap.pyscript24.7 KB
forge/stage3_build/visual_hull.pyscript16.4 KB
forge/stage4_review/_fit_divine_eye.pyscript2.6 KB
forge/stage4_review/append_review.pyscript20.4 KB
forge/stage4_review/attachment_anchor.pyscript16.2 KB
forge/stage4_review/calibrate_eye.pyscript5.4 KB
forge/stage4_review/check_part_coverage.pyscript13.1 KB
forge/stage4_review/compare_region_passes.pyscript7.6 KB
forge/stage4_review/correction_loop.pyscript10.2 KB
forge/stage4_review/cs2_review.pyscript8.7 KB
forge/stage4_review/diagnose_render.pyscript15.5 KB
forge/stage4_review/diagnose_render_multi_angle.pyscript5.6 KB
forge/stage4_review/divine_eye.pyscript21.0 KB
forge/stage4_review/fit_params.pyscript16.6 KB
forge/stage4_review/geometry_integrity.pyscript15.1 KB
forge/stage4_review/hair_gate.pyscript9.5 KB
forge/stage4_review/interior_difference.pyscript7.8 KB
forge/stage4_review/joint_loops.pyscript8.2 KB
forge/stage4_review/make_comparison_sheet.pyscript10.9 KB
forge/stage4_review/material_comparator.pyscript7.9 KB
forge/stage4_review/material_feedback.pyscript6.7 KB
forge/stage4_review/material_gate.pyscript5.8 KB
forge/stage4_review/material_views.pyscript7.5 KB
forge/stage4_review/mesh_reference_compare.pyscript16.2 KB
forge/stage4_review/multi_pass.pyscript3.1 KB
forge/stage4_review/objectness.pyscript5.4 KB
forge/stage4_review/pairwise_penetration.pyscript16.2 KB
forge/stage4_review/per_feature.pyscript6.8 KB
forge/stage4_review/render_bridge.pyscript24.1 KB
forge/stage4_review/scalp_exposure.pyscript11.5 KB
forge/stage4_review/self_intersection.pyscript26.3 KB
forge/stage4_review/swept_arc_gate.pyscript14.3 KB
forge/stage4_review/turntable_gate.pyscript17.6 KB
forge/stage4_review/validate_render_profile.pyscript8.9 KB
forge/stage4_review/vertex_region_gate.pyscript20.3 KB
forge/stage4_review/vlm_gate.pyscript8.8 KB
forge/stage5_rig/CONTRACT_1.5.2.mdmarkdown3.6 KB
forge/stage5_rig/NOTES.mdmarkdown8.5 KB
forge/stage5_rig/__init__.pyscript302 B
forge/stage5_rig/action_design.pyscript88.2 KB
forge/stage5_rig/clip_features.pyscript33.2 KB
forge/stage5_rig/emit_animation_runtime.pyscript17.7 KB
forge/stage5_rig/emit_rig.pyscript17.6 KB
forge/stage5_rig/geodesic_skinning.pyscript23.0 KB
forge/stage5_rig/glb_rig_reference.pyscript58.8 KB
forge/stage5_rig/mesh_parity.pyscript36.7 KB
forge/stage5_rig/rig_gates.pyscript78.7 KB
forge/stage5_rig/rig_spec.pyscript6.4 KB
forge/stage5_rig/skin_conditioning.pyscript25.9 KB
forge/stage5_rig/validate_rig_payload.pyscript8.8 KB
forge/state.pyscript3.5 KB
forge/tests/fixtures/implicit_character_torso_limb.jsonconfig1.4 KB
forge/tests/fixtures/knife_review_scene.jsonconfig1.3 KB
forge/tests/fixtures/stand_proud_hair_on_head.jsonconfig3.0 KB
forge/tests/fixtures/subdivision_cage.jsonconfig812 B
forge/tests/fixtures/visual_hull_two_views.jsonconfig2.6 KB
forge/tests/showcase_test_support.pyscript698 B
forge/tests/test_action_design.pyscript37.3 KB
forge/tests/test_albedo_color_space.pyscript4.6 KB
forge/tests/test_analyze_texture.pyscript6.0 KB
forge/tests/test_attachment_anchor.pyscript8.2 KB

forge/_shared/vertex_paint.py

View on GitHub
"""Region-painted vertex colour: the shape predicates, shared by the validator, the gate and TS.

WHY THIS EXISTS. A subject whose identity is a set of flat colour regions with hard boundaries --
a tuxedo cat's blaze, bib and socks; a livery stripe; a painted marking -- cannot be reproduced by
`rootTipGradient`, which is a single linear ramp along one axis, and must not be reproduced by a
texture, because this pipeline emits code and no image assets. The remaining honest representation
is per-vertex colour driven by a declared region shape.

The predicates live here, in Python, rather than only inside the emitted TypeScript, because the
region boundary is an identity feature and therefore has to be GATED -- and a gate that can only run
after a browser render is a gate that runs too late. `forge/stage4_review/vertex_region_gate.py`
evaluates these same functions on exported geometry. `_VERTEX_PAINT_HELPER_SOURCE` in
generate_threejs_factory.py implements the identical maths in TS, and
`forge/tests/test_vertex_paint.py` holds the two to the same numbers on a fixture so they cannot
drift apart silently.

Three shapes, deliberately not more. Each earns its place on a real boundary class:

- `axis-band`   a slab between two planes on one local axis -- a sock ending at an ankle height.
- `ellipsoid`   a closed blob -- a nose pad, a moustache patch, an inner ear.
- `tapered-capsule`  a segment whose radius varies from end to end -- a blaze running down a nose
  bridge, a bib widening under the chin and tapering down the chest. This is the shape a constant
  radius capsule cannot express, and it is the one the bib actually needs.

Every shape takes a `softness` in the component's own local units. `softness: 0` is a hard
boundary. A non-zero softness is a smooth ramp and is the ONLY approximation offered here -- it is
not fur, and anything using it to stand in for a fur fringe must say so.
"""

from __future__ import annotations

import math
from typing import Any, Iterable, Sequence

VALID_REGION_KINDS = {"axis-band", "ellipsoid", "tapered-capsule"}
VALID_AXES = {"x", "y", "z"}


class VertexPaintError(ValueError):
    """Raised when a paint declaration cannot be evaluated as written."""


def _as_vec3(value: Any, label: str) -> tuple[float, float, float]:
    if not isinstance(value, (list, tuple)) or len(value) != 3:
        raise VertexPaintError(f"{label} must be a 3-number array")
    out = []
    for item in value:
        if isinstance(item, bool) or not isinstance(item, (int, float)):
            raise VertexPaintError(f"{label} must be a 3-number array")
        out.append(float(item))
    return (out[0], out[1], out[2])


def _as_number(value: Any, label: str, *, minimum: float | None = None) -> float:
    if isinstance(value, bool) or not isinstance(value, (int, float)):
        raise VertexPaintError(f"{label} must be a number")
    number = float(value)
    if minimum is not None and number < minimum:
        raise VertexPaintError(f"{label} must be >= {minimum}")
    return number


def parse_hex_color(value: Any, label: str) -> tuple[float, float, float]:
    """`#rrggbb` to linear-ish 0..1 floats.

    No colour-space conversion is applied: Three.js decides how to interpret a colour set from a
    hex string, and doing a second conversion here would put the gate and the renderer on two
    different values for the same authored colour.
    """
    if not isinstance(value, str) or not value.startswith("#") or len(value) != 7:
        raise VertexPaintError(f"{label} must be a '#rrggbb' string")
    try:
        red = int(value[1:3], 16)
        green = int(value[3:5], 16)
        blue = int(value[5:7], 16)
    except ValueError as error:
        raise VertexPaintError(f"{label} must be a '#rrggbb' string") from error
    return (red / 255.0, green / 255.0, blue / 255.0)


def normalize_region(region: Any, label: str) -> dict[str, Any]:
    """Validate one region and return it in canonical form."""
    if not isinstance(region, dict):
        raise VertexPaintError(f"{label} must be an object")
    kind = region.get("kind")
    if kind not in VALID_REGION_KINDS:
        raise VertexPaintError(
            f"{label}.kind must be one of: {', '.join(sorted(VALID_REGION_KINDS))}"
        )
    region_id = region.get("id")
    if not isinstance(region_id, str) or not region_id:
        raise VertexPaintError(f"{label}.id must be a non-empty string")
    color = region.get("color")
    parse_hex_color(color, f"{label}.color")
    softness = _as_number(region.get("softness", 0.0), f"{label}.softness", minimum=0.0)

    canonical: dict[str, Any] = {
        "id": region_id,
        "kind": kind,
        "color": color,
        "softness": softness,
    }
    if kind == "axis-band":
        axis = region.get("axis")
        if axis not in VALID_AXES:
            raise VertexPaintError(f"{label}.axis must be one of: x, y, z")
        low = _as_number(region.get("min"), f"{label}.min")
        high = _as_number(region.get("max"), f"{label}.max")
        if high <= low:
            raise VertexPaintError(f"{label}.max must be greater than {label}.min")
        canonical.update({"axis": axis, "min": low, "max": high})
    elif kind == "ellipsoid":
        canonical["center"] = list(_as_vec3(region.get("center"), f"{label}.center"))
        radii = _as_vec3(region.get("radii"), f"{label}.radii")
        if min(radii) <= 0.0:
            raise VertexPaintError(f"{label}.radii must all be positive")
        canonical["radii"] = list(radii)
    else:
        canonical["start"] = list(_as_vec3(region.get("start"), f"{label}.start"))
        canonical["end"] = list(_as_vec3(region.get("end"), f"{label}.end"))
        start_radius = _as_number(region.get("startRadius"), f"{label}.startRadius", minimum=0.0)
        end_radius = _as_number(region.get("endRadius"), f"{label}.endRadius", minimum=0.0)
        if start_radius <= 0.0 and end_radius <= 0.0:
            raise VertexPaintError(f"{label} needs at least one positive radius")
        if canonical["start"] == canonical["end"]:
            raise VertexPaintError(f"{label}.start and {label}.end must differ")
        canonical.update({"startRadius": start_radius, "endRadius": end_radius})
    return canonical


def normalize_vertex_paint(paint: Any, label: str = "vertexPaint") -> dict[str, Any]:
    """Validate a whole `vertexPaint` block and return it in canonical form."""
    if not isinstance(paint, dict):
        raise VertexPaintError(f"{label} must be an object")
    base_color = paint.get("baseColor")
    parse_hex_color(base_color, f"{label}.baseColor")
    regions = paint.get("regions")
    if not isinstance(regions, list) or not regions:
        raise VertexPaintError(f"{label}.regions must be a non-empty array")
    seen: set[str] = set()
    canonical_regions = []
    for index, region in enumerate(regions):
        canonical = normalize_region(region, f"{label}.regions[{index}]")
        if canonical["id"] in seen:
            raise VertexPaintError(f"{label}.regions has a duplicate id {canonical['id']!r}")
        seen.add(canonical["id"])
        canonical_regions.append(canonical)
    return {"baseColor": base_color, "regions": canonical_regions}


def _smoothstep(edge0: float, edge1: float, value: float) -> float:
    if edge1 <= edge0:
        return 0.0 if value < edge1 else 1.0
    t = (value - edge0) / (edge1 - edge0)
    t = 0.0 if t < 0.0 else 1.0 if t > 1.0 else t
    return t * t * (3.0 - 2.0 * t)


def signed_distance(region: dict[str, Any], point: Sequence[float]) -> float:
    """Distance from `point` to the region boundary: negative inside, positive outside.

    Reported in the component's own local units so `softness` is expressed in the same units as
    the geometry, not in a normalised parameter nobody can measure against the reference.
    """
    x, y, z = float(point[0]), float(point[1]), float(point[2])
    kind = region["kind"]
    if kind == "axis-band":
        value = {"x": x, "y": y, "z": z}[region["axis"]]
        low, high = region["min"], region["max"]
        if value < low:
            return low - value
        if value > high:
            return value - high
        return -min(value - low, high - value)
    if kind == "ellipsoid":
        cx, cy, cz = region["center"]
        rx, ry, rz = region["radii"]
        # Scaled-space distance times the smallest radius: an exact SDF for a sphere and a
        # conservative, continuous approximation for a general ellipsoid. It is monotonic in the
        # true distance, which is all the boundary test and the softness ramp need.
        q = math.sqrt(((x - cx) / rx) ** 2 + ((y - cy) / ry) ** 2 + ((z - cz) / rz) ** 2)
        return (q - 1.0) * min(rx, ry, rz)
    ax, ay, az = region["start"]
    bx, by, bz = region["end"]
    abx, aby, abz = bx - ax, by - ay, bz - az
    apx, apy, apz = x - ax, y - ay, z - az
    denominator = abx * abx + aby * aby + abz * abz
    t = (apx * abx + apy * aby + apz * abz) / denominator if denominator > 0.0 else 0.0
    t = 0.0 if t < 0.0 else 1.0 if t > 1.0 else t
    closest = (ax + abx * t, ay + aby * t, az + abz * t)
    distance = math.sqrt(
        (x - closest[0]) ** 2 + (y - closest[1]) ** 2 + (z - closest[2]) ** 2
    )
    radius = region["startRadius"] + (region["endRadius"] - region["startRadius"]) * t
    return distance - radius


def region_weight(region: dict[str, Any], point: Sequence[float]) -> float:
    """How strongly a region claims a point: 1 well inside, 0 well outside."""
    distance = signed_distance(region, point)
    softness = region["softness"]
    if softness <= 0.0:
        return 1.0 if distance <= 0.0 else 0.0
    return 1.0 - _smoothstep(-softness * 0.5, softness * 0.5, distance)


def paint_point(paint: dict[str, Any], point: Sequence[float]) -> tuple[float, float, float]:
    """The final colour at one local-space point, regions applied in declaration order."""
    color = list(parse_hex_color(paint["baseColor"], "vertexPaint.baseColor"))
    for region in paint["regions"]:
        weight = region_weight(region, point)
        if weight <= 0.0:
            continue
        target = parse_hex_color(region["color"], "region.color")
        for channel in range(3):
            color[channel] += (target[channel] - color[channel]) * weight
    return (color[0], color[1], color[2])


def dominant_region(paint: dict[str, Any], point: Sequence[float], threshold: float = 0.5) -> str:
    """Which region owns a point, or `'base'`.

    Later regions win ties, matching `paint_point`'s ordered application: the last region to claim
    a point is the one whose colour ends up dominating it.
    """
    owner = "base"
    for region in paint["regions"]:
        if region_weight(region, point) >= threshold:
            owner = region["id"]
    return owner


def classify_points(
    paint: dict[str, Any], points: Iterable[Sequence[float]], threshold: float = 0.5
) -> list[str]:
    return [dominant_region(paint, point, threshold) for point in points]
receiving-code-reviewobra/superpowersUse when receiving code review feedback, before implementing suggestions, especially if feedback seems unclear or technically questionable - requires technical rigor and verification, not performative agreement or blind implementationStars: 322kUpdated Claude CodeCodexVerifiedInstall
requesting-code-reviewobra/superpowersUse when completing tasks, implementing major features, or before merging to verify work meets requirementsStars: 322kUpdated Claude CodeCodexVerifiedInstall
using-git-worktreesobra/superpowersUse when starting feature work that needs isolation from current workspace or before executing implementation plans - ensures an isolated workspace exists via native tools or git worktree fallbackStars: 322kUpdated Claude CodeCodexVerifiedInstall
verification-before-completionobra/superpowersUse when about to claim work is complete, fixed, or passing, before committing or creating PRs - requires running verification commands and confirming output before making any success claims; evidence before assertions alwaysStars: 322kUpdated Claude CodeCodexVerifiedInstall