agentleFS
nishant-Tiwari24nishant-Tiwari24/cracked/skills/interview/core-viva/SKILL.md

core-viva

Skill5 starsChanged 8 days agoMITView on GitHub

Rapid-fire CS fundamentals viva covering Operating Systems, DBMS, Computer Networks, OOP, and SQL (with real query execution), the core-subject questions asked in technical placement rounds. Adaptive difficulty, instant feedback per answer, and a per-subject score. Use when the user wants to revise or be quizzed on OS, DBMS, CN, OOPs, SQL, CS fundamentals, core subjects, or theory questions for interviews.

The file

We split this skill into the rules it gives an agent

7 rules. About 0 are common, 4 are distinctive, and 3 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈4

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 3

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Call the Skill tool with "cracked-profile".

    line 12
  2. Distinctive:

    Use the syllabus in SYLLABUS.md to pick topics.

    line 15
  3. Very specific:

    Ask one question at a time.

    line 19
  4. Distinctive:

    After each answer, give instant feedback in at most four lines:

    line 21
  5. Very specific:

    Create a temp SQLite database (sqlite3 is preinstalled on macOS and most Linux systems.

    line 40
  6. Distinctive:

    After the last question:

    line 48
  7. Distinctive:

    Keep the pace brisk. No lectures between questions.

    line 57

≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Core viva

Fast, adaptive, interview-style questioning on CS fundamentals. The format is the one used in placement technical rounds: short questions, short answers, the interviewer probing deeper whenever an answer is shaky.

0. Setup

  1. Call the Skill tool with "cracked-profile".
  2. Settle the scope in one line, with defaults: subjects (default: all five, OS · DBMS · CN · OOP · SQL), number of questions (default 15), level (default: adaptive). If the user names a subject or a topic ("only deadlocks", "normalization"), run just that.
  3. Company mode: if the user names a company, call the Skill tool with "company-intel". Weight subjects and topics by what its brief reports for technical rounds (service and mass-recruiter archetypes lean heavily on OS/DBMS/OOP/SQL theory; product companies on DBMS, SQL and OOP design; networking-heavy companies on CN). If the brief has web-sourced, reported core questions, include them, labelled "reported for <Company>". With no company, don't ask; use the default spread.
  4. Use the syllabus in SYLLABUS.md to pick topics. Spread questions across topics. Never ask two questions from the same topic in a row unless you're probing.

1. The loop

Ask one question at a time. Number them (Q4/15 · DBMS · medium).

After each answer, give instant feedback in at most four lines:

✅ Correct  /  🟡 Partial  /  ❌ Incorrect
<the ideal 1–3 sentence interview answer>
<if partial or wrong: the specific thing they missed or got wrong>

Then move on. Adaptive rules:

  • Two correct in a row → raise difficulty one step.
  • Wrong → ask one follow-up probe on the same topic at an easier level, to tell a gap from a slip.
  • "I don't know" is a valid answer. Treat it as incorrect but say it's the right thing to say in a real interview, rather than bluffing.
  • Mix question types: definition, "difference between X and Y", "what happens when…", scenario ("Your query is slow. What do you check?"), and small numericals (page faults with FIFO/LRU, subnetting, CPU scheduling waiting time).

2. SQL questions run for real

For SQL questions, give a tiny schema with sample rows and ask for a query. Say the dialect up front: "I'll run this in SQLite; MySQL/PostgreSQL syntax is fine where it's equivalent." Check sqlite3 --version once (window functions need 3.25+, FULL OUTER JOIN and RIGHT JOIN need 3.39+); if the installed version is older, use Python's sqlite3 module or say which features you can't run. When they answer:

  1. Create a temp SQLite database (sqlite3 is preinstalled on macOS and most Linux systems; else use Python's sqlite3 module), load the schema and rows, and run their query.
  2. Also run your reference query, and compare the results.
  3. Show both result sets if they differ. Accept any query that returns the correct result, including equivalent MySQL/PostgreSQL syntax you had to translate to run it (say what you translated: TOP→LIMIT, ILIKE, :: casts…). Flag syntax that wouldn't run on MySQL or PostgreSQL, since interviews usually use one of those. Mention style issues separately.

Typical SQL targets: joins (inner/left, self join), GROUP BY + HAVING, Nth highest salary, duplicates, window functions (RANK, ROW_NUMBER), subqueries vs joins, NULL handling.

3. Results

After the last question:

  1. A per-subject table: Subject | Asked | Correct | Partial | Score/10.
  2. Gap list: the specific topics they got wrong, each with a one-line "revise this" pointer (e.g. "Deadlock: Coffman conditions and Banker's algorithm").
  3. The scorecard, via the Skill tool with "cracked-profile", one dimension per subject asked. Weak-spot tags are the topic slugs (os-deadlock, dbms-normalization, cn-tcp-handshake, sql-window-functions).
  4. Offer: "Run a deep-dive on <weakest topic>?" A deep-dive is 5 escalating questions on one topic.

Tone and accuracy

  • Keep the pace brisk. No lectures between questions.
  • Numericals are computed, not recalled. For page faults, CPU scheduling, subnetting and similar, compute the reference answer with a short Python snippet before grading, and say "reference checked by execution".
  • Be precise. Fundamentals have right answers, and an ambiguous "ideal answer" teaches the wrong thing. If a question has textbook-dependent variants (e.g. number of OSI layers vs the TCP/IP model), say so.

Skill calls: if your agent has no Skill tool, open the named skill's SKILL.md in the cracked skills folder (core/, interview/, profile/, strategy/) and follow it instead.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.