Skip to content

serejaris/personal-corp-os / skills/make-landing

make-landing

Verified

Создаёт несколько вариантов дизайна 2D-поверхности (лендинг, герой, обложка, слайды): свой визуальный референс и автор на вариант, полный design.md с UTC/SHA-256 до кода, проверка в браузере, галерея, картинки в чат, выбор человека и второй раунд смешения победителей. Применять по /make-landing, «варианты дизайна», «несколько вариантов лендинга на выбор», «редизайн».

FileKindSize
SKILL.mdskill md14.2 KB
references/author.mdmarkdown2.5 KB
references/design-template.mdmarkdown4.6 KB
scripts/freeze_concept.pyscript2.4 KB

scripts/freeze_concept.py

View on GitHub
#!/usr/bin/env python3
"""Record or verify a design concept before implementation (local audit aid)."""
import argparse
import hashlib
import json
from datetime import datetime, timezone
from pathlib import Path


def main():
    parser = argparse.ArgumentParser(description=__doc__)
    parser.add_argument("action", choices=("freeze", "verify"))
    parser.add_argument("directory", type=Path, help="Owned variant directory containing design.md")
    args = parser.parse_args()
    concept = args.directory / "design.md"
    record = args.directory / "concept-freeze.json"
    if not concept.is_file() or not concept.read_text(encoding="utf-8").strip():
        parser.exit(1, "STOP: write a complete design.md before implementation.\n")
    digest = hashlib.sha256(concept.read_bytes()).hexdigest()
    if args.action == "freeze":
        payload = {
            "schema_version": 1,
            "concept": "design.md",
            "sha256": digest,
            "frozen_at_utc": datetime.now(timezone.utc).isoformat(),
            "stage": "before_implementation",
        }
        try:
            with record.open("x", encoding="utf-8") as out:
                json.dump(payload, out, ensure_ascii=False, indent=2)
                out.write("\n")
        except FileExistsError:
            parser.exit(1, "STOP: existing freeze cannot be overwritten; verify it and record QA amendments separately.\n")
        print(f"FROZEN {concept}: {digest}")
    else:
        try:
            payload = json.loads(record.read_text(encoding="utf-8"))
        except (OSError, ValueError) as exc:
            parser.exit(1, f"STOP: valid concept-freeze.json required: {exc}\n")
        if not isinstance(payload, dict) or payload.get("schema_version") != 1 or payload.get("concept") != "design.md" or payload.get("sha256") != digest:
            parser.exit(1, "STOP: concept differs from freeze or record is invalid. Preserve original and use design-amendments.md.\n")
        try:
            stamp = datetime.fromisoformat(payload["frozen_at_utc"])
            if stamp.tzinfo is None or payload.get("stage") != "before_implementation":
                raise ValueError("missing UTC timestamp or stage")
        except (KeyError, TypeError, ValueError) as exc:
            parser.exit(1, f"STOP: invalid freeze metadata: {exc}\n")
        print(f"VERIFIED {concept}: {digest} (frozen {stamp.isoformat()})")


if __name__ == "__main__":
    main()
brainstormingobra/superpowersYou MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or planning anything new, in software or out of it (a talk, a business, a renovation).Stars: 322kUpdated Claude CodeCodexVerifiedInstall
brand-guidelinesanthropics/skillsApplies Anthropic's official brand colors and typography to any sort of artifact that may benefit from having Anthropic's look-and-feel. Use it when brand colors or style guidelines, visual formatting, or company design standards apply.Stars: 198kUpdated Claude CodeCodexVerifiedInstall
frontend-designanthropics/skillsGuidance for distinctive, intentional visual design when building new UI or reshaping an existing one. Helps with aesthetic direction, typography, and making choices that don't read as templated defaults.Stars: 198kUpdated Claude CodeCodexVerifiedInstall
mcp-builderanthropics/skillsGuide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when building MCP servers to integrate external APIs or services, whether in Python (FastMCP) or Node/TypeScript (MCP SDK).Stars: 198kUpdated Claude CodeCodexVerifiedInstall