Skip to content

feat: add interview reflection coach template#186

Open
palakjaiswal16 wants to merge 1 commit into
Lamatic:mainfrom
palakjaiswal16:main
Open

feat: add interview reflection coach template#186
palakjaiswal16 wants to merge 1 commit into
Lamatic:mainfrom
palakjaiswal16:main

Conversation

@palakjaiswal16

@palakjaiswal16 palakjaiswal16 commented Jul 7, 2026

Copy link
Copy Markdown

PR Checklist

1. Select Contribution Type

  • Kit
  • Bundle
  • Template

2. General Requirements

  • PR is for one project only
  • No secrets, API keys, or real credentials are committed
  • Folder name uses kebab-case: interview-reflection-coach
  • All changes are documented in README.md

3. File Structure

  • lamatic.config.ts present with valid metadata
  • Flow exists at flows/interview-reflection-coach.ts
  • agent.md present
  • README.md present
  • constitutions/default.md present
  • Prompts and model config exported
  • No .env or .env.local committed

4. Validation

  • Flow tested successfully in Lamatic Studio
  • Deployed endpoint tested successfully
  • PR title starts with feat:
  • GitHub Actions pass
  • CodeRabbit comments resolved if any
  • Added a new kits/interview-reflection-coach template kit for a privacy-conscious interview reflection assistant.
  • lamatic.config.ts defines the template metadata, author info, tags, mandatory interview-reflection-coach step, and deploy/GitHub links.
  • flows/interview-reflection-coach.ts defines the full flow:
    • triggerNode (API Request) accepts anonymous interview inputs via GraphQL/realtime request
    • dynamicNode (Generate Reflection Report) calls the LLM using the referenced constitution, prompts, and model config
    • responseNode (generatedResponse) returns the LLM output as reflectionReport
    • Flow wiring is API Request -> Generate Reflection Report -> Response
  • The flow is configured around a structured anonymous interview schema: candidate alias, role, company, round, notes, questions, answers, feelings, and recruiter comments.
  • prompts/interview-reflection-coach_llmnode-154_system_0.md adds the system prompt that enforces the report format, supportive tone, and privacy guardrails.
  • prompts/interview-reflection-coach_llmnode-154_user_1.md adds the user prompt template that injects the interview details into the LLM request.
  • model-configs/interview-reflection-coach_llmnode-154_generative-model-name.ts adds the Groq model binding for groq/llama-3.3-70b-versatile.
  • constitutions/default.md adds baseline rules for identity, safety, data handling, and tone.
  • agent.md documents the agent’s purpose, required inputs, expected output structure, guardrails, and JSON response shape.
  • README.md documents what the template does, the input/output schema, privacy expectations, and the overall flow.
  • .gitignore excludes local/sensitive artifacts like .lamatic/, node_modules/, .env, and .env.local.

@coderabbitai

coderabbitai Bot commented Jul 7, 2026

Copy link
Copy Markdown
Contributor

Review Change Stack

Walkthrough

This PR is a go, agent. A new AgentKit template — "Interview Reflection Coach" — has been dropped at the target location. It packages a Lamatic config, a flow (trigger → LLM → response), a Groq model config, system/user prompts, a default constitution, gitignore rules, and supporting README/agent docs. Mission parameters: no live data, no PII, self-destruct on completion.

Changes

Interview Reflection Coach Template

Layer / File(s) Summary
Template config and metadata
kits/interview-reflection-coach/lamatic.config.ts, kits/interview-reflection-coach/.gitignore
New default-export template config (metadata, author, tags, steps, links) plus gitignore entries for .lamatic/, node_modules/, .env, .env.local.
Flow definition
kits/interview-reflection-coach/flows/interview-reflection-coach.ts
Exports meta, inputs, references, nodes (GraphQL trigger, dynamic LLM node, response node), edges, and a default export bundling all of them into the flow graph.
LLM model configuration
kits/interview-reflection-coach/model-configs/interview-reflection-coach_llmnode-154_generative-model-name.ts
New default-exported config selecting Groq's llama-3.3-70b-versatile model for LLMNode 154 with credential metadata.
Prompts and constitution
kits/interview-reflection-coach/prompts/*, kits/interview-reflection-coach/constitutions/default.md
System prompt defines required output structure and privacy rules; user prompt injects trigger-node placeholders and requests the reflection report; constitution sets Identity/Safety/Data Handling/Tone rules.
Kit documentation
kits/interview-reflection-coach/README.md, kits/interview-reflection-coach/agent.md
README and agent docs describe the template's purpose, input/output schema, privacy guidance, and end-to-end flow.

Suggested reviewers: amanintech, d-pamneja

Agent, your objective: verify the payload matches the briefing, confirm the Groq model config is correctly encrypted... er, configured, and ensure no PII leaks through the wire. This tape will self-destruct once merged.

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
Title check ✅ Passed The title clearly and concisely summarizes the new interview reflection coach template.
Description check ✅ Passed The PR description covers the required checklist sections and most items, with only CI and review-comment status left unchecked.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@github-actions

github-actions Bot commented Jul 7, 2026

Copy link
Copy Markdown
Contributor

:robot_face: AgentKit Structural Validation

New Contributions Detected

  • Template: kits/interview-reflection-coach

Check Results

Check Status
No edits to existing kits ✅ Pass
Required root files present ✅ Pass
Flow .ts files present ✅ Pass
lamatic.config.ts valid ✅ Pass
No changes outside kits/ ✅ Pass

🎉 All checks passed! This contribution follows the AgentKit structure.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@kits/interview-reflection-coach/constitutions/default.md`:
- Around line 3-15: The MD022 heading spacing issue is coming from the generated
constitution template, not just this checked-in default.md copy. Update the
source/template that emits the section headings in the
interview-reflection-coach constitution so each heading has the required blank
line separation, and ensure the generator/output path uses that fixed template
so future kits inherit the spacing automatically. Use the default.md
constitution template and the heading sections under Identity, Safety, Data
Handling, and Tone as the locating points.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Repository UI (base), Organization UI (inherited)

Review profile: ASSERTIVE

Plan: Pro

Run ID: 57dc5b38-2404-43aa-956c-9b01a294d7f3

📥 Commits

Reviewing files that changed from the base of the PR and between dafde4c and f2528f8.

📒 Files selected for processing (9)
  • kits/interview-reflection-coach/.gitignore
  • kits/interview-reflection-coach/README.md
  • kits/interview-reflection-coach/agent.md
  • kits/interview-reflection-coach/constitutions/default.md
  • kits/interview-reflection-coach/flows/interview-reflection-coach.ts
  • kits/interview-reflection-coach/lamatic.config.ts
  • kits/interview-reflection-coach/model-configs/interview-reflection-coach_llmnode-154_generative-model-name.ts
  • kits/interview-reflection-coach/prompts/interview-reflection-coach_llmnode-154_system_0.md
  • kits/interview-reflection-coach/prompts/interview-reflection-coach_llmnode-154_user_1.md

Comment thread kits/interview-reflection-coach/constitutions/default.md
@github-actions

github-actions Bot commented Jul 8, 2026

Copy link
Copy Markdown
Contributor

Hi @palakjaiswal16! 👋

Before this PR can be reviewed by maintainers, please resolve all comments and requested changes from the CodeRabbit automated review.

Steps to follow:

  1. Read through all CodeRabbit comments carefully
  2. Address each issue raised (or reply explaining why you disagree)
  3. Push your fixes as new commits
  4. Once all issues are resolved, comment here so we can re-review

This helps keep the review process efficient for everyone. Thank you! 🙏

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant