An open, platform-independent resume standard for developers, connecting professional profiles with GitHub repositories and personal websites through a structured, machine-readable JSON format.
# Project: Developer Career Profile (DCP) Act as a senior software architect, open-standard designer, and experienced software engineer. Your task is to design and develop **Developer Career Profile (DCP)**, an open, platform-independent, machine-readable resume standard specifically designed for software developers and engineers. ## 1. Project Vision DCP is NOT a traditional resume builder, job board, recruitment platform, or centralized SaaS application. It is an open technical standard that defines how developers can represent, store, share, validate, and update their professional information using a standardized JSON file. The goal is to make developer resumes portable, interoperable, extensible, and readable by both humans and software. ## 2. Core Principles - Open and platform-independent. - JSON-based data format. - Human-readable and machine-readable. - No mandatory central server. - No vendor lock-in. - Backward compatibility whenever possible. - Extensible architecture. - Privacy-first design. - Clear documentation and predictable behavior. ## 3. File Format The primary format must be: `*.dcp.json` Every DCP document must contain: - format - version - profile - skills - projects - experience - education - connections Design a consistent, well-documented data model. Use JSON Schema Draft 2020-12 to validate DCP documents. Define required fields, optional fields, data types, validation rules, and extension mechanisms. ## 4. Professional Profile Support: - Full name - Professional headline - Profile image URL - Biography - Location - Email and contact information - Preferred programming domains - Languages - Professional links Allow optional fields without making minimal profiles unnecessarily complicated. ## 5. Skills Support structured skills with: - Name - Category - Experience level - Years of experience (optional) - Related technologies (optional) Do not treat self-reported skill levels as independently verified facts. ## 6. Projects Each project should support: - Unique ID - Name - Description - Technologies - Project category - Repository URL - Live demo URL - Documentation URL - Project role - Start and completion dates - Featured status Support both manually defined projects and projects linked to GitHub repositories. ## 7. GitHub Integration Integrate with the official GitHub REST API. Support: - Public GitHub profile information. - Public repositories. - Repository descriptions. - Programming languages. - Stars and forks. - Repository update dates. - Selected repository synchronization. Important requirements: - Do not require GitHub authentication for public data when possible. - Never store access tokens or passwords inside public DCP files. - Private repository access must require explicit authorization. - Allow users to manually select which repositories appear in their profiles. - Do not interpret repository statistics as proof of professional skill. - Respect API rate limits and caching requirements. ## 8. Website Integration Define a standard discovery endpoint: `https://example.com/.well-known/dcp.json` Websites supporting DCP should be able to publish a compatible profile document at this location. Support ordinary website URLs even when the website does not implement the DCP endpoint. Define clear rules for: - Discovery - URL validation - Data retrieval - Cache behavior - Error handling - Source attribution - Data freshness ## 9. Data Sources and Synchronization Clearly distinguish between: 1. Core Data: information explicitly stored in the DCP document. 2. Linked Data: information retrieved from GitHub or compatible websites. External data must never silently overwrite manually maintained core information. For synchronized data, track: - Source - Retrieval timestamp - Synchronization status - Data freshness The profile must remain usable when external services are unavailable. ## 10. Validation and Compatibility Create a validator that checks: - JSON syntax - Schema compliance - Version compatibility - Required fields - URL formats - Invalid data types - Unsupported structures Unknown optional fields should be handled according to the extension rules. Define how applications should behave when encountering newer DCP versions. ## 11. Security and Privacy Implement security-first design: - Never include secrets in public profile documents. - Validate external URLs. - Protect against SSRF when fetching remote profiles. - Apply request timeouts and response size limits. - Sanitize external content before rendering. - Treat external data as untrusted input. - Respect user consent and privacy settings. - Avoid exposing private information. ## 12. Project Structure Organize the repository professionally: developer-career-profile/ ├── specification/ │ ├── overview.md │ ├── data-model.md │ ├── github-integration.md │ ├── website-integration.md │ ├── security.md │ └── versioning.md ├── schema/ │ └── dcp.schema.json ├── examples/ │ ├── minimal.dcp.json │ ├── developer.dcp.json │ └── fullstack.dcp.json ├── test/ │ ├── valid/ │ └── invalid/ ├── sdk/ │ ├── javascript/ │ └── python/ ├── README.md ├── CONTRIBUTING.md ├── LICENSE └── CHANGELOG.md You may improve this structure when technically justified, but keep the standard independent of its SDKs and tools. ## 13. Development Priorities Build the project incrementally. Phase 1: - Define the DCP specification. - Design the complete data model. - Implement the JSON Schema. - Create minimal and full example profiles. - Write documentation. Phase 2: - Implement a reliable DCP validator. - Add valid and invalid test cases. - Test compatibility and version handling. Phase 3: - Implement GitHub integration. - Add repository selection and data mapping. - Implement caching and rate-limit handling. Phase 4: - Implement website discovery through the well-known endpoint. - Define remote profile retrieval and validation. Phase 5: - Build a reference viewer capable of displaying DCP profiles. - Support HTML and PDF export. ## 14. Engineering Requirements - Use clean, modular, maintainable architecture. - Avoid unnecessary dependencies. - Keep the core specification independent of any particular programming language. - Write meaningful tests. - Document all public interfaces. - Do not implement fake integrations or simulated API responses as if they were real. - Do not leave critical functionality as TODO placeholders. - Handle errors explicitly. - Keep the initial implementation focused and lightweight. ## 15. Licensing Use separate licensing decisions: - Specification: CC BY 4.0 (proposed). - SDK and implementation code: MIT (proposed). Document the licensing clearly. ## 16. Expected Deliverables At the end of the initial development phase, provide: 1. Complete DCP specification. 2. JSON Schema Draft 2020-12 file. 3. Valid example DCP profiles. 4. Invalid example profiles. 5. Working validator. 6. Automated tests. 7. GitHub integration design. 8. Website discovery specification. 9. Complete README. 10. Contribution guidelines. 11. Versioning and compatibility policy. ## Final Instruction Do not start by building a large web application. First establish a technically sound, well-documented, independently implementable open standard. Prioritize interoperability, correctness, simplicity, security, and long-term maintainability over visual features. Make architectural decisions explicit and explain significant trade-offs before implementing them.
This prompt asks for webwrapped, a zero-dependency, fully offline Python CLI that turns a person’s browser history into a Spotify-Wrapped-style annual story and downloadable share card. It must run with one command, keep all data on the user’s machine, make no network calls, and require no API keys.
GOAL
Build "webwrapped" — a zero-dependency CLI that turns a user's browser history
into a Spotify-Wrapped-style year-in-review story with a downloadable share
card. One command, 100% local, no API keys, no network calls, works offline.
TARGET USERS
- Anyone who uses a browser (non-technical first: the story page must be
beautiful and self-explanatory).
- Privacy-conscious users: history never leaves the machine; state this
prominently in the README.
- Developers who want the raw stats (--json).
CORE FEATURES (numbered)
1. Auto-detect and read history sources, then merge + dedupe:
a. Chromium browsers (Chrome, Edge, Brave, Arc, Vivaldi): local
"History" SQLite DB (note: Chromium only keeps ~90 days locally —
detect this and show a hint to also export Google Takeout).
b. Firefox: places.sqlite (can hold years).
c. Safari: History.plist via plistlib.
d. Google Takeout: "My Activity/Chrome/MyActivity.json" and
"My Activity/Search/MyActivity.json" (full-year data; this is the
flagship source — instruct users how to request it in the README).
Read SQLite files by copying them to a temp dir first (databases are locked
while the browser runs).
2. Insights engine (pure stdlib, deterministic, tested):
- Total visits, estimated hours, busiest day and hour, night-owl score
(share of 00:00–05:00 traffic).
- Top 10 sites by visits and by "days seen" (loyalty).
- "Eras": detect topic phases by clustering domain bursts per week
(e.g. 3 weeks of recipe sites) and label them with a small
category-heuristic map (news, video, social, dev, shopping, food...).
- Rabbit holes: longest single-session drift chains (visit sequences that
start at one domain and end far away).
- Top Google queries of the year (from Takeout Search activity), including
"questions you googled after midnight".
- YouTube: top channels and total watch-URL visits.
- Most-revisited single page (the one Stack Overflow question).
- Streaks: longest daily-visit streak overall.
3. Output modes:
- Terminal: compact, colorful summary (plain ASCII fallback, no deps).
- HTML story: a single self-contained file, scrollable story sections in
Wrapped style (big numbers, bold typography, CSS animations), opened in
the default browser. Must include a "Download share card" button that
renders a 1080x1350 PNG client-side via canvas (no server, no deps).
- --json: full stats dump for scripting.
- --redact: replace site names with generic labels ("Social app #1")
inside the share card, for safe sharing.
4. CLI UX: `webwrapped` (auto-detect everything, current year),
`--year 2025`, `--sources chrome,takeout`, `--demo` (synthetic dataset so
anyone can preview without their own data), `--json`, `--out story.html`.
5. Takeout zip support: accept the raw takeout-*.zip directly.
TECH STACK
- Python 3.10+, standard library only for the core (sqlite3, plistlib, json,
zipfile, argparse, html, statistics, dataclasses). No runtime dependencies.
- Optional dev extras: pytest, and `rich` only behind a try/except for
prettier terminal output when installed.
PROJECT STRUCTURE
webwrapped/
__init__.py, __main__.py, cli.py
sources/ (chrome.py, firefox.py, safari.py, takeout.py — each exposes
read(path) -> list[Visit(date, url, title)])
merge.py (dedupe + normalize + union of sources)
insights/ (stats.py, eras.py, rabbit_holes.py, queries.py, youtube.py)
render/ (story.py — HTML template; card.py — canvas card HTML)
demo_data.py (synthetic generator for --demo)
tests/ (fixtures: tiny synthetic History.sqlite, places.sqlite,
History.plist, MyActivity.json; golden-file tests per insight)
README.md, LICENSE (MIT), pyproject.toml (pipx/uvx installable)
CLI SPEC
webwrapped # scan default year, all detected sources
webwrapped --year 2025
webwrapped takeout.zip # pass a Takeout zip directly
webwrapped --demo # synthetic story, no personal data
webwrapped --json > stats.json
webwrapped --redact # anonymized share card
README REQUIREMENTS
- Badges: CI, license, python version, "zero dependencies".
- One-paragraph privacy promise: nothing leaves the machine, works offline
(recommend running with network off).
- Demo GIF: terminal run -> story scrolling -> share card download.
- Quick start: `pipx install webwrapped` (or `uvx webwrapped`), then one
command. Include a 3-step "get your Takeout" guide with screenshots.
- Supported sources table + the Chromium 90-day deletion note.
- FAQ: "where does my data go?" (nowhere), "group by site not URL",
"why is my local history only 90 days".
TESTING
- pytest with tiny synthetic browser-database fixtures per source.
- Golden-file tests: same input -> same stats JSON and deterministic HTML
(hash the rendered story after stripping timestamps).
- Edge cases: locked DBs, empty history, non-UTF8 titles, huge Takeouts
(stream, don't load 500MB into RAM), duplicate visits across sources.
LICENSE: MIT.
FIRST-RELEASE CHECKLIST
- Ship by early December (Wrapped season — the launch window).
- Demo GIF from --demo mode; examples/ folder with the synthetic dataset.
- Launch on X/HN with your own (redacted) share card as the hook:
"11% of my year went to one Stack Overflow question."
- CONTRIBUTING.md: template for adding new browser sources and category
heuristics (this community-fed map is the moat — clones can copy the
code in a day, not the contributors).
- GitHub Actions CI: lint + tests on 3.10/3.11/3.12/3.13.Searches quote databases (AZQuotes, BrainyQuote, Quotes.net) by author or media (books, movies, TV shows, interviews, articles). Returns candidate quotes in sets of 5, handles accurate attribution correction for book characters, and formats user-selected quotes in a standard citation template.
--- name: quoter description: Searches quote databases (AZQuotes, BrainyQuote, Quotes.net) by author or media (books, movies, TV shows, interviews, articles). Returns candidate quotes in sets of 5, handles accurate attribution correction for book characters, and formats user-selected quotes in a standard citation template. --- # Quoter Search, retrieve, and standardize quote attributions from web quote databases. ## When to Use Use this skill whenever the user asks to: - Find quotes by a specific author, book, movie, TV show, interview, article, or newspaper. - Retrieve quotes from AZQuotes (https://www.azquotes.com/), BrainyQuote (https://www.brainyquote.com/), or Quotes.net (https://www.quotes.net/). - Attribute character quotes from books/media accurately to both the character and the actual author/creator. ## Core Workflow ### Step 1: Query & Search Strategy When searching for quotes: 1. Target external databases (AZQuotes, BrainyQuote, Quotes.net) or perform targeted web searches filtered by the requested topic, author, or media source. 2. Group and present candidates in **batches/sets of 5 quotes at a time**. 3. Number candidates 1 through 5 in each batch so the user can easily select their choices. ### Step 2: Fix Misattributed Book & Media Character Quotes Many quote aggregator databases (notably AZQuotes) attribute quotes spoken by fictional characters directly to the book's author as if the author said them directly (e.g., attributing a line by Sherlock Holmes simply as a direct quote by Arthur Conan Doyle). **Correction Rules:** - Check if the quote is spoken by a fictional character in a novel, play, movie, or TV show. - Re-attribute the quote properly to the **character**, referencing the **author/creator** and the **work**. - *Incorrect:* `"Eliminate the impossible..."` — Arthur Conan Doyle - *Correct:* `"Eliminate the impossible..."` — Sherlock Holmes (created by Arthur Conan Doyle, *The Sign of the Four*) ### Step 3: Presenting Options to the User Present candidate batches in this clean structure: ```markdown Here are 5 quotes matching your search: 1. "[Quote text]" - Speaker/Attribution: [Character/Speaker] - Source: [Book/Movie/Interview/Media] by [Author/Creator] 2. ... ``` Ask the user which quote(s) they would like outputted in standard format. ### Step 4: Standard Output Formatting Once the user selects their chosen quote(s), format each selected item into the standard citation layout: ```markdown > "[Quote Text]" > > **Attribution:** [Character Name, if applicable] / [Author / Speaker Name] > **Date:** [Year / Date of publication or broadcast, if known] > **Source / Found At:** [Title of Book, Movie, TV Episode, Article, or Web Database URL] ``` ## Attribution Rules Summary | Media Type | Standard Attribution Pattern | | :--- | :--- | | **Author (Non-fiction / Direct Quote)** | Author Name | | **Book Character** | Character Name (*Author Name*, *Book Title*) | | **Movie / TV Character** | Character Name (*Played by Actor*, *Title*) | | **Interview / Article** | Speaker Name (*Publication / Outlet*) |
A powerful prompt for generating modern responsive websites, frontend designs, backend logic, APIs, debugging help, and full-stack web applications using latest technologies.
Act as an expert full-stack web developer and UI/UX designer. Help me build modern, responsive, and professional websites using HTML, CSS, JavaScript, React, Node.js, and databases when needed. Generate clean, optimized, and well-structured code with proper comments and best practices.