<%* const projectName = await tp.system.prompt("Project name"); if (!projectName) { new Notice("Project creation cancelled: no project name entered."); return; } const year = tp.date.now("YYYY"); const createdDate = tp.date.now("YYYY-MM-DD"); const projectsFolder = "20 Work/Projects"; const yearFolder = `${projectsFolder}/${year}`; // Remove characters that cannot safely be used in a filename. const safeProjectName = projectName .replace(/[\\/:*?"<>|#^[\]]/g, "-") .replace(/\s+/g, " ") .trim(); // Create the year folder when it does not already exist. if (!app.vault.getAbstractFileByPath(yearFolder)) { await app.vault.createFolder(yearFolder); } // Move and rename the active note. await tp.file.move(`${yearFolder}/${safeProjectName}`); -%> --- type: project project: "<% projectName %>" status: active owner: start_date: <% createdDate %> target_date: last_reviewed: <% createdDate %> stakeholders: --- - 🟢 **On track / Healthy:** no intervention required - 🟡 **Attention:** issue exists, but currently manageable - 🟠 **At risk:** intervention or decision required; commitment is likely to slip - 🔴 **Critical / Off track:** commitment missed, major blocker, or immediate intervention required - ⚪ **Unknown:** insufficient information to assess **Status:** 🟢 Active **Owner:** **Start Date:** <% createdDate %> **Target Date:** **Last Reviewed:** <% createdDate %> **Stakeholders:** --- ## Objective What are we trying to accomplish? <% tp.file.cursor() %> ## Business Value Why are we doing this? - ## Success Criteria How will we know the project succeeded? - - ## Scope ### In Scope - ### Out of Scope - ## Deliverables These are project outputs, not personal reminders. - [ ] - [ ] ## Milestones | Milestone | Owner | Target | Status | |---|---|---|---| | | | | ⚪ Unknown | ## Risks | Risk | Impact | Probability | Mitigation | Owner | |---|---|---|---|---| | | | | | | ## Dependencies | Dependency | Owner | Needed By | Status | |---|---|---|---| | | | | ⚪ Unknown | ## Decisions Link only to actual decision notes. - [[]] ## Current Status **Overall:** ⚪ Unknown ### Latest Update **Date:** <% createdDate %> - ### Completed - ### In Progress - ### Blockers - ## Next Commitment **Commitment:** **Owner:** **Due:** **Status:** ⚪ Unknown ## Actions > Execution is tracked in **Monday or Jira**. > Personal actions belonging to me are tracked in **Twos**. - ## Lessons Learned _To be completed during and after the project._ ## Related - [[]]