Dify Component Writing Guide
langgenius/dify
Use when implementing or refactoring React/TypeScript components and the task requires decisions about component ownership, feature boundaries, state, data…
Prepare for L6+ coding interviews — in-memory databases, concurrency, state management, iterative follow-ups.
$ npx skills add curiositech/some_claude_skills --skill senior-coding-interview -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install curiositech/some_claude_skills senior-coding-interview --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/curiositech/some_claude_skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.claude/skills/senior-coding-interview .claude/skills/senior-coding-interview && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "senior-coding-interview" agent skill from https://github.com/curiositech/some_claude_skills/tree/main/.claude/skills/senior-coding-interview into .claude/skills/senior-coding-interview/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "senior-coding-interview", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/curiositech/some_claude_skills/tree/main/.claude/skills/senior-coding-interviewType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add curiositech/some_claude_skills --skill senior-coding-interview -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install curiositech/some_claude_skills senior-coding-interview --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/curiositech/some_claude_skills.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.claude/skills/senior-coding-interview .agents/skills/senior-coding-interview && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "senior-coding-interview" agent skill from https://github.com/curiositech/some_claude_skills/tree/main/.claude/skills/senior-coding-interview into .agents/skills/senior-coding-interview/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "senior-coding-interview", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add curiositech/some_claude_skills --skill senior-coding-interview -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install curiositech/some_claude_skills senior-coding-interview --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/curiositech/some_claude_skills.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.claude/skills/senior-coding-interview .cursor/skills/senior-coding-interview && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "senior-coding-interview" agent skill from https://github.com/curiositech/some_claude_skills/tree/main/.claude/skills/senior-coding-interview into .cursor/skills/senior-coding-interview/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "senior-coding-interview", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/curiositech/some_claude_skills.git --path .claude/skills/senior-coding-interview--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add curiositech/some_claude_skills --skill senior-coding-interview -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install curiositech/some_claude_skills senior-coding-interview --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/curiositech/some_claude_skills.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.claude/skills/senior-coding-interview .gemini/skills/senior-coding-interview && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "senior-coding-interview" agent skill from https://github.com/curiositech/some_claude_skills/tree/main/.claude/skills/senior-coding-interview into .gemini/skills/senior-coding-interview/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "senior-coding-interview", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install curiositech/some_claude_skills senior-coding-interviewInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add curiositech/some_claude_skills --skill senior-coding-interview -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/curiositech/some_claude_skills.git skills-src && mkdir -p .github/skills && cp -r skills-src/.claude/skills/senior-coding-interview .github/skills/senior-coding-interview && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "senior-coding-interview" agent skill from https://github.com/curiositech/some_claude_skills/tree/main/.claude/skills/senior-coding-interview into .github/skills/senior-coding-interview/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "senior-coding-interview", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add curiositech/some_claude_skills --skill senior-coding-interview -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install curiositech/some_claude_skills senior-coding-interview --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/curiositech/some_claude_skills.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.claude/skills/senior-coding-interview .opencode/skills/senior-coding-interview && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "senior-coding-interview" agent skill from https://github.com/curiositech/some_claude_skills/tree/main/.claude/skills/senior-coding-interview into .opencode/skills/senior-coding-interview/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "senior-coding-interview", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
senior-coding-interviewPrepare for L6+ coding interviews — in-memory databases, concurrency, state management, iterative follow-ups.
Senior Coding Interview is an agent skill from curiositech/some_claude_skills. Prepare for L6+ coding interviews — in-memory databases, concurrency, state management, iterative follow-ups. Use when practicing real-world system-building problems or preparing communication strategies for live coding. Activate on "coding interview", "staff interview", "codesignal", "live coding", "rate limiter interview". NOT for LeetCode/competitive programming, behavioral interviews, or system design whiteboard.
Its SKILL.md is about 3.1k tokens, which your agent loads only when the skill is triggered. The skill folder holds 6 other files, including reference files (for example `.claude-plugin/plugin.json`, `references/codesignal-incremental.md` and `references/problem-archetypes.md`).
It sits in Frontend & Design, covering Interview preparation and State management. The repository describes itself as: Claude skills that make my life easier. The licence is MIT.
4 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit 6713fc7. It shows what the files ask for, not the result of running them.
Pre-approves these tools, so the agent can use them without asking each time:
ReadWriteEditFrom allowed-tools in the SKILL.md frontmatter.
No scripts in the folder and no shell commands in SKILL.md (its code samples are mermaid).
From the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Senior Coding Interview loads about 3.1k tokens when it runs, and up to ~19k if it reads all its reference files. Until then it costs about 111 tokens; SKILL.md has 1,341 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from curiositech/some_claude_skills at commit 6713fc7, republished under its MIT licence (© curiositech). 1,341 words, ~3,095 tokens.
.claude/skills/senior-coding-interview/SKILL.md (or your agent's skills folder). This skill also uses 4 other files; get the full folder from GitHub.Execute L6+ real-world coding interviews where the problem is building a small system, not solving an algorithm puzzle. The core differentiator at Staff+ level is not whether you can solve it, but how you solve it: clean abstractions, narrated reasoning, graceful iteration, and production sensibility.
NOT for:
flowchart LR
C[1. CLARIFY\n5 min] --> S[2. SKELETON\n20 min]
S --> I[3. ITERATE\n10 min]
I --> O[4. OPTIMIZE\n5 min]
C -.- C1["Ask 3-5 questions\nRestate problem\nConfirm API contract\nIdentify edge cases"]
S -.- S1["Data structures first\nPublic API methods\nCore logic\nManual test 1 case"]
I -.- I1["Edge cases\nError handling\nFollow-up extensions\nRefactor if needed"]
O -.- O1["Complexity analysis\nTrade-off discussion\nConcurrency mention\nScaling path"]Goal: Demonstrate you think before coding. Ask questions that reveal ambiguity the interviewer planted intentionally.
Mandatory questions for every problem:
Restate the problem in your own words before writing any code. This catches misunderstandings early and signals comprehension.
Goal: Get a working solution for the core case. Not perfect, not optimized -- working.
Order of implementation:
Senior signal: Start with the public API, not the internal helpers. Show top-down thinking.
Goal: Handle follow-ups. This is where Staff+ candidates differentiate -- each extension should feel like a natural evolution, not a rewrite.
The follow-up ladder (interviewers typically go 2-3 levels deep):
Senior signal: When asked "how would you make this distributed?", discuss the trade-offs before changing code. Name specific patterns (consistent hashing, write-ahead logs). You don't need to implement distributed systems in 40 minutes -- you need to show you know the path.
Goal: Show you understand what you built and where it breaks.
Cover:
| Archetype | Core Data Structure | Key Follow-ups | Reference |
|---|---|---|---|
| In-Memory Key-Value Store | dict + metadata | TTL, transactions, snapshots | references/problem-archetypes.md |
| File System Abstraction | Trie or nested dict | Glob patterns, watchers, permissions | references/problem-archetypes.md |
| Rate Limiter | deque or sorted list | Sliding window, distributed, token bucket | references/problem-archetypes.md |
| LRU Cache | OrderedDict or dict+DLL | Generics, TTL, size-based eviction | references/problem-archetypes.md |
| Task Scheduler | Heap + dict | Priorities, dependencies, cancellation | references/problem-archetypes.md |
| Event/Pub-Sub System | defaultdict(list) | Typed events, wildcards, async delivery | references/problem-archetypes.md |
| Log Parser/Analyzer | Generators + Counter | Streaming, time windows, aggregation | references/problem-archetypes.md |
| API Client with Retry | State machine | Backoff, circuit breaker, idempotency | references/problem-archetypes.md |
Senior interviews are 50% code and 50% communication. The interviewer is evaluating whether they want to work with you, not just whether you can solve the problem.
These are the things that make an interviewer write "strong hire" for L6+:
| Signal | How to Demonstrate |
|---|---|
| Clean abstractions | Separate concerns: data model, business logic, I/O |
| Production sensibility | Error handling, input validation, logging mentions |
| Testing awareness | "I'd test the TTL edge case where expiry happens during a get" |
| Extensibility | Design classes that can be extended without rewriting |
| Trade-off fluency | Name multiple approaches, choose one, explain why |
| Complexity awareness | State big-O for each operation without being asked |
| Concurrency knowledge | Mention thread safety even if not implementing it |
| Stdlib mastery | Use dataclasses, defaultdict, deque, generators naturally |
Senior candidates use Python idioms that signal deep experience. See references/python-patterns-senior.md for the complete catalog with examples.
Key patterns to internalize:
@dataclass for any structured data (not raw dicts)collections.defaultdict, Counter, deque -- know the stdlibNovice: Reaches for algorithmically elegant solutions (segment trees, suffix arrays, Fenwick trees) when a hash map or sorted list suffices. Spends 15 minutes on optimal time complexity for a problem where n < 1000.
Expert: Chooses the simplest correct solution first. Uses built-in data structures (dict, list, deque, heapq) unless the problem explicitly demands otherwise. Discusses when algorithmic sophistication matters only if asked about scale. The goal is working, readable, maintainable code -- not a competitive programming submission.
Detection: Solution is asymptotically optimal but unmaintainable. Candidate cannot explain trade-offs between their approach and a simpler one. No working solution exists at the 25-minute mark because they're still optimizing.
Novice: Writes code for 15+ minutes without speaking. Treats the interview like a solo coding session. When they do speak, they narrate syntax ("Now I'm writing a for loop") rather than intent.
Expert: Narrates intent before writing code ("I'm going to use a dict here because we need O(1) lookup by key"). Asks clarifying questions when ambiguity appears. Signals uncertainty honestly ("I'm not sure if Python's heapq supports decrease-key -- let me use a different approach that I'm confident in"). Treats the interviewer as a collaborator, not an examiner.
Detection: Interviewer has to prompt "what are you thinking?" more than twice. Long silences followed by large code blocks. No questions asked during the clarify phase.
Novice: Starts with the distributed/concurrent/fault-tolerant version before solving the single-machine case. Adds caching, sharding, or thread pools before there's a working solution to optimize. Designs for 10 million users when the problem says "a few thousand."
Expert: Gets a working solution first, then optimizes when asked. Separates "what I'd do in production" from "what I'm implementing in this 40-minute interview." When the interviewer asks about scale, discusses the optimization path verbally: "I'd add a write-ahead log for durability, then shard by key hash for horizontal scaling."
Detection: No working solution at the 25-minute mark. Code has Lock, ThreadPoolExecutor, or asyncio imports but no passing test case. Architecture diagram exists but core logic doesn't.
CodeSignal's pre-recorded incremental format (used by Anthropic and others) differs from live interviews. See references/codesignal-incremental.md for detailed strategy.
Key differences:
flowchart TD
START[Problem received] --> READ["Read ENTIRE problem\n(2 min)"]
READ --> KNOWN{Recognize\nthe archetype?}
KNOWN -->|Yes| FAST["Fast-track clarify\n(2 min)"]
KNOWN -->|No| DEEP["Deep clarify\n(5 min)"]
FAST --> CODE["Code skeleton\n(18 min)"]
DEEP --> CODE
CODE --> CHECK{Working\nsolution?}
CHECK -->|No, 25 min mark| TRIAGE["Simplify approach\nGet SOMETHING working\n(5 min)"]
CHECK -->|Yes| EXTEND["Handle follow-ups\n(10 min)"]
TRIAGE --> EXTEND
EXTEND --> WRAP["Complexity + trade-offs\n(5 min)"]references/problem-archetypes.md -- Consult for worked examples of 8 problem archetypes with skeletons, clarifying questions, and follow-up extensionsreferences/python-patterns-senior.md -- Consult for senior Python idioms that signal experience: dataclasses, context managers, generators, stdlib mastery, testing hooksreferences/codesignal-incremental.md -- Consult when preparing for CodeSignal's pre-recorded incremental format: time management, extension strategies, self-testing without an interviewer© curiositech, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
SKILL.md and 4 other files (references) in .claude/skills/senior-coding-interview of curiositech/some_claude_skills.
Open the folder on GitHubat commit 6713fc7
Senior Coding Interview next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Senior Coding Interview this skillcuriositech/some_claude_skills | 243 | — | ~3.1k | Automated safety check: Pass | MIT | |
| Dify Component Writing Guidelanggenius/dify | 158k | — | ~626 | Automated safety check: Pass | Custom licence | |
| Project Switchingmarcus/sidecar | 1.1k | — | ~1.8k | Automated safety check: Pass | MIT | |
| Expressive Mvcgabeklein/expressive-mvc | 103 | — | ~5.9k | Automated safety check: Pass | MIT | |
| Bulletproof Reactyamcodes/arkenv | 145 | — | ~1.8k | Automated safety check: Pass | MIT | |
| Tanstack Querybskimball/tanstack-hono | 119 | 1 repos | ~5.4k | Automated safety check: Pass | MIT |
langgenius/dify
Use when implementing or refactoring React/TypeScript components and the task requires decisions about component ownership, feature boundaries, state, data…
marcus/sidecar
Project switching implementation in sidecar: project discovery, state management, UI flow, modal rendering, filtering, theme preview, and plugin reinitialization.
gabeklein/expressive-mvc
Class-based reactive state management for React (Expressive MVC).
yamcodes/arkenv
Bulletproof React architecture patterns for scalable, maintainable applications.
bskimball/tanstack-hono
Powerful asynchronous state management, server-state utilities, and data fetching for TS/JS, React, Vue, Solid, Svelte & Angular.
shinpr/ai-coding-project-boilerplate
Applies React/TypeScript type safety, component design, and state management rules.
curiositech/some_claude_skills
Detect crisis signals in user content using NLP, mental health sentiment analysis, and safe intervention protocols.
curiositech/some_claude_skills
End-to-end form handling with react-hook-form, Zod schemas, validation patterns, error messaging, field arrays, and multi-step wizards.
curiositech/some_claude_skills
Strategic analyst that maps competitive landscapes, identifies white space opportunities, and provides positioning recommendations.
curiositech/some_claude_skills
Build production CI/CD pipelines with GitHub Actions. An agent skill from curiositech/some_claude_skills.
curiositech/some_claude_skills
Build production computer vision pipelines for object detection, tracking, and video analysis.
curiositech/some_claude_skills
Long-running design anthropologist that builds comprehensive visual databases from 500-1000 real-world examples, extracting color palettes, typography patterns, layout systems, and interaction…
Prepare for L6+ coding interviews — in-memory databases, concurrency, state management, iterative follow-ups. Senior Coding Interview is an agent skill from curiositech/some_claude_skills. Prepare for L6+ coding interviews — in-memory databases, concurrency, state management, iterative follow-ups.
Senior Coding Interview fits situations like: practicing real-world system-building problems; preparing communication strategies for live coding.
Run `npx skills add curiositech/some_claude_skills --skill senior-coding-interview -a claude-code`. Or copy the skill folder (.claude/skills/senior-coding-interview in curiositech/some_claude_skills) into .claude/skills/senior-coding-interview in your project. Claude Code loads it when a task matches its description.
Run `npx skills add curiositech/some_claude_skills --skill senior-coding-interview -a codex`. Or copy the skill folder (.claude/skills/senior-coding-interview in curiositech/some_claude_skills) into .agents/skills/senior-coding-interview in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add curiositech/some_claude_skills --skill senior-coding-interview -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/senior-coding-interview, .gemini/skills/senior-coding-interview, .github/skills/senior-coding-interview and .opencode/skills/senior-coding-interview in your project.
SKILL.md names no scripts, command-line tools or credentials: Senior Coding Interview is instructions for the agent only. Our summary lists: Python 3. Its frontmatter pre-approves these tools: Read, Write, Edit.
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Senior Coding Interview is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 3.1k tokens (SKILL.md is roughly 12k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 16k tokens, read only when the agent opens those files.
Skills that share tags, products or a category with Senior Coding Interview: Dify Component Writing Guide (langgenius/dify, 158k stars), Project Switching (marcus/sidecar, 1.1k stars), Expressive Mvc (gabeklein/expressive-mvc, 103 stars) and Bulletproof React (yamcodes/arkenv, 145 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
curiositech (a GitHub organization) maintains it in curiositech/some_claude_skills, which has 243 GitHub stars. The repository holds 109 skills in this directory. The repository was last updated on September 6, 2026.
Source: curiositech/some_claude_skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.