- Home
- Skills
- Agents & Orchestration
- Towards Connected Campus
More screenshots
Works with the AI Agents you already use
Towards Connected Campus
Developer assistant for the Towards Connected Campus React/Express platform, focusing on role-based access and AI tools.
Free
Towards Connected Campus
Example session with this skill installed
I need to update the gate-pass workflow. How do I ensure only the HOD can approve high-priority requests in the Express backend?
- Read your context and instructions
- Compiled the towards connected campus
I have analyzed the current gate-pass implementation in the server/ directory. To restrict high-priority approvals to the HOD role, we need to modify the approval controller to check the JWT-decoded role before processing the status update.
HOD-Only Approval Logic
// server/controllers/gatePassController.js
const approveGatePass = async (req, res) => {
const { passId, priority } = req.body;
const userRole = req.user.role; // Extracted from JWT middleware
try {
// Check if high priority request is being handled by a non-HOD role
if (priority === 'high' && userRole !== 'HOD') {
return res.status(403).json({
message: 'Unauthorized: High-priority passes require HOD approval.'
});
}
const [result] = await db.query(
'UPDATE gate_passes SET status = ?, approved_by = ? WHERE id = ?',
['Approved', req.user.id, passId]
);
res.status(200).json({ message: 'Pass updated successfully' });
} catch (error) {
res.status(500).json({ error: error.message });
}
};
Next steps
- Verify the
priorityfield exists in yourgate_passestable schema. - Ensure your JWT middleware correctly populates
req.user.rolefrom the database session. - Test the workflow using a Student account to confirm the 403 Forbidden response is triggered.
Connects securely to your tools. The creator never sees your data.
About this skill
Maintain and extend the Towards Connected Campus platform without breaking existing role-based workflows. This skill helps developers navigate a complex monorepo featuring a React/Vite frontend, Express backend, and MySQL-compatible database. It provides specific guidance for high-stakes features like QR-based gate-pass systems, AI resume matching via Gemini, and GitHub repository analysis for student projects.
What it does
- Role-based logic ensures changes respect the permissions for Students, HODs, Teachers, and Security.
- AI integration support manages the implementation of Gemini for resume-to-job matching and project analysis.
- Workflow verification maintains the integrity of the digital gate-pass approval chain and QR verification.
- Database management guides SQL schema updates and query optimization for the TiDB/MySQL backend.
- Deployment & setup assists with environment configuration, package management, and local server execution.
How it works
- Repository audit inspects your local
package.json,src/, andserver/files to establish the current state. - Feature tracing maps requests to specific roles, routes, and API endpoints before suggesting edits.
- Safe implementation generates code following established naming, styling, and authentication conventions.
- Security check validates that changes don't expose API keys or bypass role-scoped authorization.
Frameworks & tools
React, Vite, Express, Node.js, MySQL (TiDB Cloud), Google Gemini API, JWT, and bcrypt.
Why this beats prompting it yourself
Generic coding assistants often suggest breaking changes that ignore the strict multi-role approval chains required for campus safety. This skill is grounded in the specific architecture of the project, ensuring student data privacy and role-scoped security are never compromised for a quick fix.
Use cases
- Add a new verification step to the digital gate-pass approval workflow.
- Debug the Gemini API integration for student resume shortlisting.
- Extend the student project tracker with new GitHub API metrics.
- Fix authorization leaks in the placement drive registration ledger.
Known limitations
Does not support real-time campus operations or direct access to institutional records. Roadmap items like serverless migration are not treated as implemented until verified in code.
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before buying a skill.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
Fresh listing
Recently published to Agensi
Free to use
No account required to browse
Trust & safety
Security scan
Security scan passed 8 days ago
- Free with an Agensi account
- Software
Node.js
Permissions
What's inside
Frequently Asked Questions
New in Agents & Orchestration
Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for Agents & Orchestration.